on 05-07-2014 2:20 PM
Hi,
i need to add adobe form as attachement to user decision step in workflow.
1. i created activity step which call business object method with parameters workitem id
i am using FM SAP_WAPI_ATTACHMENT_ADD’ which will return attribute id
i am passing that attribute with document id to 'ZSOFM'
ZSOFM <-----------------------------------ZSOFM (Method to task)
Bindings 'Attach_objects' <------------- ZSOFM(Task to Workflow).
2. i created user decision step
Bindings 'Attach_objects' --------------------> 'Attach_Objects'( Workflow to user decision task).
but when we execute first activity step in background i am not getting any PDF output .but when we execute same method from class i can see pdf data is coming is it due to user name WF-Batch.
when i execute activity step in back ground which will have sy-uname as WF-Batch i am not getting any PDF output data.
please help how to solve .
Thanks,
Phani
Hello,
Does WF-BATCH have SAP_NEW and SAP_ALL authorizations?
regards
Rick Bakker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Let me give you an alternative option, instead of attaching the created PDF document, attach a link to which will call the PDF document, I usually create a z-object and in it's default method place the call to the display of the PDF.
This has 2 advantages: no space is needed on the server to store the document, and if changes where made in the document template the updated version is displayed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If your question was about how to create a function module to display the form see SAP Library - PDF-Based Forms
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.