cancel
Showing results for 
Search instead for 
Did you mean: 
SAP Community Downtime Scheduled for This Weekend

HOW TO KNOW THE STATUS OF WORKFLOW

Former Member
0 Kudos
130

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

imthiaz_ahmed
Active Contributor
0 Kudos

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

bpawanchand
Active Contributor
0 Kudos

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