2013 Jul 19 2:55 PM
Hi everyone,
I have a requirement to display all the comments and list of attachments linked to a workflow against a Appropriation request number. i.e. I want a link between Appropriation request number and the workflow linked against that AR. Independently I have the table for workflow (SWWWIHEAD) and AR (IMAK) but is there any link between these two ?? Please help folks.
2013 Jul 19 7:57 PM
check FM "SAP_WAPI_READ_CONTAINER".Pass workitem ID and see if returns the desired details?
Regards
Hi everyone,
I have a requirement to display all the comments and list of attachments linked to a workflow against a Appropriation request number. i.e. I want a link between Appropriation request number and the workflow linked against that AR. Independently I have the table for workflow (SWWWIHEAD) and AR (IMAK) but is there any link between these two ?? Please help folks.
2013 Jul 19 7:57 PM
check FM "SAP_WAPI_READ_CONTAINER".Pass workitem ID and see if returns the desired details?
Regards
2013 Jul 19 8:48 PM
Thank you for your response but still the question is how to get work item ID against any appropriation request ?
I have already tried this function module and yes this is a very useful function module which will give list of comments and the present approver and also total number of approvers as well as attachments.
If I get the answer to the above question i think everything is solved. Please help.
2013 Jul 20 10:06 AM
Please check if FM "SAP_WAPI_WORKITEMS_TO_OBJECT" helps.
Regards
2013 Jul 20 7:43 PM
Thanks a lot for the reply. This has solved the purpose. Explanation given below for others who will come across this question.
In this function module SAP_WAPI_WORKITEMS_TO_OBJECT pass
objtype : 'BUS2104' : Business object number used in the workflow.
objkey : Appropriation request number
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |