Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8509

Re: RFC to update/ reject work flow

$
0
0

Hi Ritu

 

Call FM SAP_WAPI_GET_WORKITEM_DETAIL, the export parameter WORKITEM_DETAIL-TOP_WI_ID will give you the work item ID of the parent. If you do not have sub-workflows within the main WF, you will just need to call it once. But if you are using sub workflows and your step is inside the Sub-WF, then call it first to get the Sub WF ID, then Use the sub WF ID and call it again to get the MAIN WF Id ....

 

And if you want the details on the main Workflow, use the TOP_WI_ID and then call SAP_WAPI_GET_WORKITEM_DETAIL again to get the details of the main WF.

 

 

Regards,

Modak

 

 

Good to see that you are learning ... however do keep the SCN Rules Of Engagement in mind ( http://scn.sap.com/docs/DOC-18590 ) . Ask only one question in one thread.

Also, your question are not very specific for SRM and hence the right place to post such questions are on the forum SAP Business Workflowhttp://scn.sap.com/community/bpm/business-workflow

 

Post your question on this (current) forum only when you need SRM specific advise for workflows.


Viewing all articles
Browse latest Browse all 8509

Latest Images

Trending Articles



Latest Images