|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Program Exits in Work Item for Workflow
Now save and activate the complete class ZZCL_WORK_ITEM_EXIT
along with all its components.
Now we will call this class in our user decision step in the
workflow at the tab Program Exits as
Now we save and activate the complete workflow definition as
Notice that there are no e-mail steps after the user decision
anywhere in the workflow definition.
Now we will test the workflow via SWUS transaction. When the
user decision step is created, the first e-mail should go.
The work item ID is 412083 as seen below
Checking in SOST transaction if the
Work Item Creation E-Mail has triggered
So we have successfully sent the first e-mail to the dummy e-mail ID, which went After
Work Item Creation via the program exit.
Notice the work item ID is 412083. This is correct as per workflow logs.
Now we will execute the work item. After execution, we will
see the workflow log
Checking SOST if the e-mail after
WI execution has triggered
So we have successfully sent the second e-mail to the dummy e-mail ID, which went After
Work Item Execution via the program exit.
Conclusion: Hence we have successfully modeled the Program Exit that can be used in a work item. With the help of this exit, we can do numerous custom operations at various events, which occur during the complete life span of a work item.
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