cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically track down where a leave request has been forwarded ?

Former Member
0 Kudos
63

Hi

Is there any easy way to programmatically track down where a leave request has been forwarded i.e. who currently has the leave request work item to approve/reject in their manager inbox.

We are trying to add some code into a custom report but are having issues pulling in the manager assigned the current work item for leave purposes.

Thanks

Nicola

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

Take the help of this table "SWWWIAGENT".

~BiSu

Former Member
0 Kudos

Hi BiSu

I visited the SWWWIAGENT table but unfortunately I could not get any values to be returned even when populating the fields.

It just kept returning 'no values'

Is this normal ?

Nicola

Answers (2)

Answers (2)

Former Member
0 Kudos

I received an answer via the workflow forum.

Table SWWUSERWI helps understand managers with current outstanding leave request work items in the their inbox

Former Member
0 Kudos

Hi,

Nicola try below table

SWWUSERWI,

here specify task object and get workitem id

and corresponding user.

In another alternative use tcode:PTARQ

use display docuents:

in this you can easily give requestor id in pernr

specify period or upto today

and get details of approver.

Hope magic Works!

Regards,

Purvesh Patel.

kmoore007
Active Contributor
0 Kudos

You may want to move this thread to the workflow forum.