|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Demo on Workflow using Classes
By Richa Gupta, Sparta Consulting
develop workflow using OOPS concept instead of using standard Business Object.
Before following this document, one must have a basic knowledge of OOPS
Steps to follow to use
Classes in Workflow
How to Create Custom Class
we will be creating a custom class for MATERIAL.
Go to transaction SE24 and create a customized
Next the pop up appears where we need to mention the detail as
Save it and the class is created.
Now the class is to implement IF_WORKFLOW interface. For this go to
and declare the IF_WORKFLOW as the interface there and press Enter; two
sub-interfaces appear: BI_OBJECT and BI_PERSISTENT. Save the
The ZCL_TEST class now contains the existing methods of IF_WORKFLOW
Also, 2 new interfaces will be automatically added once you add
IF_WORKFLOW interface in the class as shown below:
Each method of the IF_WORKFLOW Interface has its distinct
functionality, which is discussed below.
to create object, constructor of class needs to be implemented as follows:
SET_ATTRIBUTES method is called which will be implemented as follows :
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