cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform(Spool) to Workflow Workitem attachment

former_member578547
Participant
0 Kudos

Hi Friends,

I have a requirement related to workflow attachment.

I have a invoice no and i can generate spool related to this .

Withh using CONVERT_OTFSPOOLJOB_2_PDF , I am able to create TLINE format.

Can you help me to convert to BINARY Format and folder .

So that i can attach that folder to Workflow task.

Thanks.

Balaji.T.

View Entire Topic
former_member183917
Active Contributor
0 Kudos

Hi-

If you have the data in TLINE format, then you can pass it to import parameter- ATT_BIN in FM-SAP_WAPI_ATTACHMENT_ADD along with wi id, header data (file type...).

From this FM, get the doc id and create SOFM instance with this doc id and bind this SOFM to ATTACH_OBJECTS in workflow

Vinoth

former_member578547
Participant
0 Kudos

vinod,

I tried that . It is NOT working , it is giving DUMP that , conflict when calling Function module.

Please any body can give any idea ..

This is urgent .

Thanks.

Balaji.T.