09-28-2012 2:56 PM
Hello,
I have a requirement to get attachements (PDF) from posted documents(FB03) and store them in a folder on application server (AL11).
My problem is that I don´t know how to save my attachment on the app server.
We are trying to use FM SO_OBJECT_INSERT but its not working.
Anyone knows how to do this ?
Br
Andreas
09-28-2012 4:15 PM
You need to read the file in a binary format and then use OPEN DATASET, TRANSFER DATASET and CLOSE DATASET in BINARY MODE to write to the server.
10-01-2012 3:11 PM
Hey Abdullah!
Thanks for answering! The current problem I'am having is actually open the file as a binary. I'am trying (and failing) when using FM SCMS_R3DB_GET. I'am using theese values crepid: SOFFDB doc id: phio_object-objectid comp id: filename.
Is this the wrong way of getting the data bin table?