cancel
Showing results for 
Search instead for 
Did you mean: 

ITS File upload

Former Member
0 Kudos

Hi all,

i try to upload a PDF-File via mime-upload and then to archive it via ARCHIV_CREATE_TABLE. (SAP Basis 6.4, Unicode-System).

At first the mime-upload delivers data like:

楲瑰㠠㔮⤱⼊牃慥楴湯慄整䐨㈺〰〷㈵ㄱ〳〹⤳⼊潍䑤瑡⡥㩄〲㜰㔰ㄲ㌱㤰㌰਩启瑩敬吨卅⁔䵏剅⥋⼊牃慥潴⡲牆敥䑐⁆偘㌠〮‴‭瑨灴⼺猯扨硯搮⥥⼊畁 ...

Then I convert it to xstring:

'SCMS_BINARY_TO_XSTRING'

The result is:

255044462D312E330A25C7EC8FA20A352030206F626A0A3C3C2F4C656E6774682036203020522F46696C74657220 ...

But now I dont know how to get the xstring into the correct table-format for the

FUNCTION 'ARCHIV_CREATE_TABLE'.

Is my approach correct?

Do I have to convert into

ARCHIVOBJECT STRUCTURE  DOCS OPTIONAL

or into

BINARCHIVOBJECT STRUCTURE  TBL1024 OPTIONAL

?

Thanks for any help.

Regards

Oliver

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi all,

I have the solution:

The FM 'ARCHIV_CREATE_TABLE' has an input parameter 'document', which can be filled with the xstring...

Thanks

Oliver