Quantcast
Channel: SCN : Unanswered Discussions - ABAP Testing and Troubleshooting
Viewing all articles
Browse latest Browse all 430

Unable to archive binary content of PDF

$
0
0

Dear All,

 

We have a required were in i'm getting the string format of PDF from Java layer and am converting it into into binary by converting first to XSTRING using  SCMS_STRING_TO_XSTRING FM and then to binary using  SCMS_XSTRING_TO_BINARY. Once i get the binary data, am using  ARCHIVOBJECT_CREATE_TABLE to archive the PDF file.

 

Archiving is successful. But when i try to open the PDF, it says "File does not begin with %PDF-".

 

Pleas help how to archive the file properly.

 

Thanks,

Anil M


Viewing all articles
Browse latest Browse all 430

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>