Quantcast
Channel: SCN : Discussion List - Supplier Relationship Management (SAP SRM)
Viewing all articles
Browse latest Browse all 3184

Approve work item manually in SRM

$
0
0

Goodday,

 

We have a requirement to approve a work item in our process controlled workflow in SRM. From the Shopping cart number, we are fetching the current work item number. We need to find some function module to approve this work item. Here is the work we did so far:

 

1. Using function module: SAP_WAPI_READ_CONTAINER, SAP_WAPI_WRITE_CONTAINER followed by SAP_WAPI_WORKITEM_COMPLETE.

We tried to update the container and complete the work item. The issue here is that we are not sure which element (in the container) needs to be populated for the approval. We compared the container of workitems that have been approved and rejected (from the Portal), and we were surprised that the entries are the same!. This lead us to think that approve/ reject actions are somehow handled with UWL and not container.

 

2. We tried using function SAP_WAPI_DECISION_COMPLETE; this did not work

 

3. BBP_PDH_WFL_WI_APPROVE - This function module did complete the work item, however rendered the workflow in error status. We debugged the function as well; but could not find anything.

 

Please advise if there is any other function module in SRM that suffices our requirement.

Thanks, MS


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>