cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically track down where a leave request has been forwarded ?

Former Member
0 Kudos

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,

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.

Former Member
0 Kudos

Many thanks for your very helpful reply. The table SWWUSERWI was exactly what I needed. Unfortunately PTARQ is not good for identifying current work item holders if the work item has been forwarded as thea approver name remains static for some reason.

The other table however reflects the current user with the outstanding work item.

Thanks a lot

Nicola

Answers (0)