|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Concept of Re-evaluate agents for active work items in SAP Workflow
Logic of TRIGGER_WF method.
The method will populate the required parameters for
event and start the workflow.
Signature of GET_DEADLINE_DATE_TIME method
Logic of GET_DEADLINE_DATE_TIME method
Usually for determining dead line date, time we use
factory calendar id, as my intension is only to show the Re-evaluate agent's
concept hence ignored the complex logic of determining dead line date and time.
I have hard coded the dead line time = start time + 1 hour.
Events of the ZCL_WORKFLOW_DEMO class
START_WORKFLOW event parameters
NEW_APPROVER event will be assigned towards Receiver
type "Re-evaluate rules of active work items". This event does not
have any parameters.
Design a screen in SE80 as shown below and assign a
Write the below code inside PAI module
Create a new workflow template in PFTC with the start
event START_WORKFLOW of the business class ZCL_WORKFLOW_DEMO. Assign start
events as shown below.
Create the WF container elements compatible to the
event parameters and bind and shown.
Create workflow container element WF_ZCL_WOKFLOW_DEMO selecting object type class and value as ZCL_WOKFLOW_DEMO.
As the workflow container element
WF_ZCL_WOKFLOW_DEMO need to be populated from Event binding set the
properties as Import as shown below.
Create workflow container element WF_START_DATE
selecting SYST for structure and
DATUM for field as shown below.
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