|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
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
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
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards