Concept of Re-evaluate agents for active work items in SAP Workflow

...Previous

As the workflow container element  WF_START_DATE need to be populated from Event binding set the properties as Import as shown below.

 

Create workflow container element WF_START_TIME selecting SYST  for structure and UZEIT for field as shown below.

 

As the workflow container element  WF_START_TIME need to be populated from Event binding set the properties as Import as shown below.

 

Create workflow container element WF_DEADLINE_REACHED with type FLAG as shown below. Properties selection is not required for this parameter.

 

Click on the Version-Dependent (current workflow version) tab in the workflow template header. Click on events tab and assign the NEW_APPROVER event towards Receiver type "Re-evaluate rules of active work items" as shown below.  

Click on details button, a new pop-up screen will appear and fill the fields as shown below.

Create a container step and call the functional method GET_DEADLINE_DATE_TIME to populate WF_TIME. To call the functional method from expression write the below code %ZCL_WORKFLOW_DEMO.GET_DEADLINE_DATE_TIME(IM_TIME=&WF_START_TIME&)%

Create a rule function module ZFM_APPROVER in SE37 and paste the code as shown below.

Create a rule in PFAC selecting function to be executed category

Click here to continue..

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image