SAP Virtual/Onsite Trainings

Document Categories:

What's New?


Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials 

Join the Mailing List
Enter name and email address below:
Subscribe  Unsubscribe 

Capture Rejection Reason Text from User Decision in Workflow


We have not modeled anything for APPROVED branch, since we are show casing only the Rejection Reason.

You can model the Approve or any other branch as per your business need.

We are now ready to test the workflow.

We will run transaction SWUS to test the workflow

We run the user decision from business workplace SBWP

Now select REJECT to process rejection. Normally the work item would get completed here, but the system will generate a POP-UP to prompt for the Reason.

This pop-up will appear due to our configuration. We enter the REJECTION Reason text and press OK

(Please note, if you cancel this POP-UP, the work item will still remain in your inbox and not get completed. This is because we marked the Reason as MANDATORY)

Looking at the workflow log, we can see that the element _ATTACH_OBJECTS (Attachments) contains the SOFM entry

Now looking at the e-mail step in the log, we will check the task description to see if our text is captured

You can see the Rejection Reason is captured. We can see this in the container also

Now running the SOST transaction to see if the same appears in the e-mail body as well

So we have successfully captured the REJECTION REASON TEXT and displayed it in the e-mail body.

You can use this functionality in multitude of other ways as per your business need in your project.

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image