Hi Rolon,
I understand you are looking to attached document at header level of PO ME23N.
Unfortunately, The DMS standard does not support at header level.
If you like to attached at header level you can attach in GOS in ME23N else may go for header level tab development in PO with DMS link.
Rgds,
Nayeem.