functionality change of workflow tr.code:RMPS_SET_SUBSTITUTE
I have come across the following requirement when i use the above transaction(RMPS_SET_SUBSTITUTE) in workflow module.
user 'A' is on leave for 'X' days.i have assigned user 'B' as substitute user by using transaction "RMPS_ST_SUBSTITUTE" and mentioned 'From' and 'To' dates and selected 'substitution active' check box, then the entire inbox of user 'A' has been accessed by user 'B'.
when i remove substitution or when user comes back from leave, substitution automatically will be deactivated and the work items which are belongs to user 'A' will be back.
but some work items which are belongs to user 'A'(Original user) are not coming back, because user 'B' (substitute user) opened the work items(double clicked) that work items status has been changed as 'In process' and agent changed.
my requirement is i have to get back those work items into user 'A' (original user) inbox(which are opened by user 'B' but not completed).
Kindly let me know can we customize the standard transaction.if yes, pls suggest how to do it.
awaiting your kind reply.