cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Workflow Status Tracking

Former Member
0 Likes
1,903

Hi Experts,

I've a requirement in which we need to check the date and time when the status of a Workflow is changed.

For eg. if a Work item went from Checked into Error status, when did it happen(date and time) and the user who changed the status.

Is that possible.

Thanks,

Ravi Bhatnagar

Accepted Solutions (1)

Accepted Solutions (1)

nabheetscn
SAP Champion
SAP Champion
0 Likes

Yes that is very much possible. You can check the following tables for changed status.

SWWWIHEAD and SSWW_WI2OBJ

Here you can find the complete status as well as mapping from Object ID to work itemid.

thanks

Nabheet

Answers (3)

Answers (3)

Former Member
0 Likes

Hi,

Check : http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow

Please refer this link. Various events are available int he IF_SWF_IFS_WORITEM_EXIT Interface. through which you can capture status change.

You need to programm for the Same

Regards,

Vikram Singh.

Edited by: vikram singh on Jul 4, 2011 9:01 AM

Former Member
0 Likes

Hi,

If you know the workitem number then you can also use the FM SAP_WAPI_GET_HEADER where you can find all required details in export parameter WORKITEM_ATTRIBUTES such as date, time and agent.

Thanks and regards,

SNJY

Edited by: Sanju.pal on Jul 4, 2011 10:34 AM

Former Member
0 Likes

Hello,

You should be able to deduce it from table SWWLOGHIST but it'll require some programming.

regards

Rick Bakker

hanabi technology