05-23-2014 7:48 AM
Hi,
I have a scenario where I print a smart form and generate a spool and this spool is required to be attached to an asset number .
Constraints are: we cannot download spool pdf it in desktop and cannot upload manually, it should be attached to asset number when user presses Print option.
Can we create a SAP folder anyhow for the generated spool in background like GOS, so that then we can use that folder to create the attachment link?
Thanks for help.
Ravi
05-27-2014 1:32 PM
Hi Ravi,
Get the spool num from TSP01 and convert into PDF.
Use FM : SO_FOLDER_ROOT_ID_GET & SO_DOCUMENT_INSERT and CALL METHOD cl_binary_relation=>create_link.
Thanks,
Anil
05-27-2014 1:32 PM
Hi Ravi,
Get the spool num from TSP01 and convert into PDF.
Use FM : SO_FOLDER_ROOT_ID_GET & SO_DOCUMENT_INSERT and CALL METHOD cl_binary_relation=>create_link.
Thanks,
Anil