This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
For more information, visit the Supplier Relationship Management homepage.
Summary
This document helps user to create workflow’s using BRF (Business Rule Framework) is called ProcessControlled workflow. This document explains the procedure for SC workflow.
Author: Bhanu P R Gattu
Company: ACS Systech IntegratorsCreated on: 1 June 2010
Author Bio
Bhanu P R Gattu is working as an ABAP/WORLFOW consultant in ACS Systech Integrators inBangalore from past 4 years.
Process Controlled workflow Step by Step Procedure ....................................................................................... 3 Dynamic Process Levels (To Increase Process Levels Dynamically) .......................................................... 15
Related Content ................................................................................................................................................ 16 Disclaimer and Liability Notice .......................................................................................................................... 17
Assign the implementation class ‘0EVENT’. This event will help you to identify or select the Process Schema.This can be achieved by Rules of that particular event by assigning Expression as shown in below screens.
In our case Expression Name: ZEX_SC_FM_SCHEMA.
There are many types of Expressions: We need to use function module Expression type if we want to chooseprocess schema based on conditions. Or we can use constant type if we have single Process Schema.
Formulas Expression can be any type of expression, in this case we have Function moduleExpression, in that Expression we can assign EV_VALUE as ‘X’ or others based on conditions.
In this procedure we will assign the approvers for the work item ( RT_APPROVERS internal table will havethe approvers)
SPRO SAP Supplier Relationship Management SRM Server Cross-Application BasicSettings Business workflow Process-Controlled Workflow Business Process Configuration Definefilter values for BADI ‘Define Agents’.
SPRO SAP Supplier Relationship Management SRM Server Business Add-Inns Businessworkflow Process-Controlled Workflow ‘Define Agents.
If you want to group the items Use the below mentioned Method. We can use this method to create AreaClass for group of items or SC by passing the Approver id or any value to find the approver.
We can copy the standard implementing class of BADI ‘/SAPSRM/BD_WF_RESP_RESOLVER’.
Sample code:
Copy SAP standard Method /SAPSRM/CL_WF_AREA_MANAGER and use methodGET_RESPONSIBLE_APPROVERS to assign responsible approvers. Use this method inGET_APPROVERS_BY_AREA_GUID method.
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is notsupported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article orcode sample, including any liability resulting from incompatibility between the content within this document and the materials andservices offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of thisdocument.