cancel
Showing results for 
Search instead for 
Did you mean: 

SBWP and UWL

Former Member
0 Kudos

Hi Friends,

I am sending a work item for approval. If the approver selects reject button then a pop up should appear for him to enter the reason for rejections, this can be achieved through advance with dialog option if we are using SBWP, but in case of UWL this option is not available, so i am planning to use the user decision handler. In this case if the user login into sap then the dialog step after the user decision step(for getting the rejection reason's) should be used, but if the user uses UWL the user decision handler should be used and this dialog step should be skipped or else again a work item will be sent to the user for entering the rejection reasons. How to control this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

it is not necesary to check the tcode. you can pass the flag. there are function modules that return ping values its_ping which would clearly define that the request is coming from ITS. If the request is form ITS then its from portal (uwl) else its from R/3. This flag will help you to carry on with the further logic.

Answers (2)

Answers (2)

Former Member
0 Kudos

solved using user decision note

former_member193771
Contributor
0 Kudos

Hi,

Canyou kindly give more info...?

Thanks,

Sukumar.

Former Member
0 Kudos

you need to handle this in your code of transaction. if the called transaction is sbwp then catch a glag and set it. move the rest accordingly.

Former Member
0 Kudos

How to check the Tcode after the work item execution,