If you want to create a Program that only needs a Key field(PO, PR number) and any user should have ability to Forward, Delete, Remove the Workitem of that particular Document then this can be done using SWWWIHEAD table.
- Create a Custom Tcode and Program with selection screen which would take necessary details like Type(PO or PR or etc), Key Field and Action to be taken.
- From table SWWWIHEAD get the latest Approval Required Task number and corresponding Workitem ID.
- We have some FMs that can forward the workitem e.g. SAP_WAPI_FORWARD_WORKITEM .
- For Deleting the Workitem, try using SAP_WAPI_WORKITEM_DELETE.
- To execute the workitem, SAP_WAPI_EXECUTE_WORKITEM can be used.
- Similarly , we have many more FMs that can be used to perform different Actions on the workitems without Any Wokflow consultants help(Provided this Code has been implemented :smile: )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |