2014 Aug 22 9:59 AM
Hi experts,
I met a requirement that upload an PDF file to GOS attachment, the PDF file will be generate from abap memory, does any know how to do it?
Best regards,
Tracy
2014 Aug 22 1:14 PM
Hi Tracy,
Use FM SO_FOLDER_ROOT_ID_GET
then FM SO_DOCUMENT_INSERT.
we will find links on how to use them.
Check this sdn wiki :
Use of Generic object services to attach a URL to Business objects - Code Gallery - SCN Wiki
Thanks,
Anil
Hi experts,
I met a requirement that upload an PDF file to GOS attachment, the PDF file will be generate from abap memory, does any know how to do it?
Best regards,
Tracy
2014 Aug 22 1:14 PM
Hi Tracy,
Use FM SO_FOLDER_ROOT_ID_GET
then FM SO_DOCUMENT_INSERT.
we will find links on how to use them.
Check this sdn wiki :
Use of Generic object services to attach a URL to Business objects - Code Gallery - SCN Wiki
Thanks,
Anil
2014 Aug 26 4:53 PM
Hi Anil,
Could you please give me more detail information? I tried the code, but it not worked with PDF, the PDF opened with error. Maybe some parameter was wrong in my program but I don't know where was wrong.
thank you very much!
Tracy
2014 Aug 27 3:14 AM
Hi Tracy,
try so_object_insert instead of SO_DOCUMENT_INSERT.
Attach Purchase Order as PDF and view the same in the transaction ME23
Thanks,
Anil
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |