on 2009 Jan 27 9:18 AM
Hi,
I am using a standard workflow for aproval of Appropriation Requests (App. Req.)
We have 5 approvals(persons) in the heiarachy.
I want to know the status of a App. Req.
i.e which persons are approved
at which person it is pending
or whether it is approved by all the 5 persons
In which table I get this information ois there any Function module to get this info?
Plz reply
Thanks
Hi ,
1. SAP_WAPI_WORKITEMS_TO_OBJECT - use this fm to check whether any active instances exists.
if active instances exists then the parameter ' worklist' will be filled.
then use Table SWWIHEAD - here u can get all the details for the given work item ID
2. if active instances are not there thats is your workflow process is completed then the parameter 'worklist' of the FM SAP_WAPI_WORKITEMS_TO_OBJECT won't be filled.
In this case
First use the table SWW_WI2OBJ for getting the work item ids and then using the table SWWWIHEAD u can get the required details.
Cheers,
Preethi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Easy way, Trx SWI6, get the BO and enter the appr.req no to get the clear log of where is your App.Req.
Another option use FM SWI_WORKITEMS_OF_OBJECT_GET.
Regards, IA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you let us know the id of the standard workflow?
Check the BO that is used in the task's and check in the ethods does it is updating any table by using any FM or by using OPen SQL statements
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.