|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Demo on Workflow using Classes
If we do not need the method in our class, then we
need only to carry out a “dummy” implementation (without further coding) to
avoid program errors when the system calls the method.
Now, the attributes need to be developed to implement above
methods are as follows:
To trigger the workflow using event of class, we must also
create an event of the class. To do this, go to EVENTS tab, and there create a
new event CREATED as shown below :
Before implementing above methods, a local type
needs to be created. To do this, click on LOCAL TYPES as shown below:
Now write the below code :
to use Class in a Workflow
Here, the workflow needs to be triggered as soon
as a material is created. And then a workitem should go to initiator to edit the
to SWDD to create a new workflow.
on Basic Data Tab :
an abbreviation and Short Description to workflow as follows :
click on START EVENTS tab and specify the following standard event of the
standard class :
go back and right click in between the WORKFLOW STARTED and WORKFLOW COMPLETED.
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