Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Spool document needed to be attached to asset number using GOS

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member202771
Contributor
0 Kudos

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

1 REPLY 1

former_member202771
Contributor
0 Kudos

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