Hierarchy

⤷

⤷

IMG Activity
ID | /SRMERP/BRFP_PROC_L | Define Rulesets for Process Level Determination |
Transaction Code | /SRMERP/44000272 | (empty) |
Created on | 20101124 | |
Customizing Attributes | /SRMERP/BRFP_PROC_L | Define Rulesets for Process Level Determination |
Customizing Activity | /SRMERP/BRFP_PROC_L | Define Rulesets for Process Level Determination |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | /SRMERP/BRFP_PROC_L |
Use
In this Customizing activity, you can access the BRFplus function Get Workflow Process Level Configuration (/SRMERP/F_WF_GET_PROC_LVL_CONF) to configure the individual levels of a process schema for your shopping cart approval process. You define process levels using rulesets.
For more information about BRFplus, see SAP Help Portal at http://help.sap.com under SAP NetWeaver Library --> SAP NetWeaver Library: Function-Oriented View --> Application Server --> Application Server ABAP --> Other Services --> Services for Application Developers --> Business Rule Framework plus.
You can define as many process levels as required for your approval process.
Requirements
- Ensure that the following workflow templates are available in the system:
- Main Approval Process Template (WS 46000014)
- N-Level Approval Loop (WS 46000015)
- Approval Subworkflow (WS 46000016)
- You have performed the Customizing activities in Customizing for Materials Management under Purchasing --> Shopping Cart --> Business Workflow --> Technical Configuration.
Standard settings
The default ruleset Ruleset for SC Process Level (/SRMERP/RS_WF_PROC_LEVEL_EX_SC) is available for demonstration purposes and has the lowest priority ('99'). It is triggered in a non-productive client only and only if you have not defined your own ruleset. It returns the process levels from BRFplus decision table Decision Table for Shopping Cart Process Level (/SRMERP/E_DT_WF_PROC_LEVEL_SC). This decision table contains the following process levels:
- Process levels for one-step approval (process schema SAP_ERP_SC_1_STEP_APPROVAL):
- Level No.: 100
- Evaluation Application: /SRMERP/WF_RULES_S
- Evaluation Function:/SRMERP/F_WF_IS_LEVEL_VALID (Is Process Level Valid?)
- Resolver: RR_BRFPLUS_RULE (Agent Determination by BRF+ Rules)
- Parameter: -
- Task ID: 46000077 (Decision Task of Shopping Cart)
- Decision Type: 4 (Item-Based Decision for Partial Document)
- Level Type: A (Approval)
- Level No.: 999
- Evaluation Application: /SRMERP/WF_RULES_S
- Evaluation Function: /SRMERP/F_WF_INVERT_IS_LVL_VLD (Invert (Is Process Level Valid?))
- Resolver: -
- Parameter: -
- Task ID: 46000028 (Automatic Approval)
- Decision Type: 1 (Decision for Entire Document)
- Level Type: S (Automatic)
- Process level for automatic rejection (process schema SAP_ERP_AUTOMATIC REJECTION):
- SAP_ERP_SC_AUTOMATIC_REJECTION
- Level No.: 999
- Evaluation Application: -
- Evaluation Function: -
- Resolver: -
- Parameter: -
- Task ID: 46000029 (Automatic Rejection)
- Decision Type: 1 (Decision for Entire Document)
- Level Type: S (Automatic)
The system selects the process schema using the BRFplus function Get Workflow Process Schema (/SRMERP/F_WF_GET_PROC_SCHEME). By default, all shopping carts are rejected automatically (process schema SAP_ERP_AUTOMATIC REJECTION). For more information, see Define Rulesets for Process Schema Determination.
In each process schema, the system validates the process levels using the BRFplus function Is Process Level Valid? (/SRMERP/F_WF_IS_LEVEL_VALID). By default, this function does not contain a ruleset and therefore returns False.
Example: In the process schema SAP_ERP_SC_1_STEP_APPROVAL, by default, process level 100 is not activated so that all shopping carts are approved automatically on process level 999. However, when you assign a ruleset to the BRFplus function Is Process Level Valid? (/SRMERP/F_WF_IS_LEVEL_VALID) and change the return parameter WF Boolean (/SRMERP/WF_BOOLEAN) to True, process level 100 is activated so that the responsible agents receive work items to approve the shopping carts. The agents are determined using the BAdI implementation /SRMERP/BD_WF_SC_RR_RULE. The filter value is Agent Determination by BRF+ Rule (RR_BRFPLUS_RULE).
Activities
To define the process level determination, you assign your own ruleset to BRFplus function Get Workflow Process Level Configuration (/SRMERP/F_WF_GET_PROC_LVL_CONF). This ruleset should check the process schema, determine the list of process levels for this process schema, and change the return parameter ET_WF_L_BASE accordingly.
A process level is defined by the following parameters:
- Level Number
Enter a number to define the position of the process level in the approval sequence.
- Level Type
Enter a process level type. The following process level types are available:
- Approval
- Automatic (system user)
- The process level of type 'Automatic' comes at the end of the approval process and is only activated if none of the preceding process levels have been activated at runtime. In this case, a decision is taken automatically.
- Responsibility Resolver Name and Responsibilitly Resolver Parameter
Enter a responsibility resolver name and a responsibility resolver parameter that were implemented in BAdI: Define Agents (/SRMERP/BD_WF_RESP_RESOLVER). You can, for example, enter the responsibility resolver name RR_ROLE and responsibility resolver parameter SAP_EC_BBP_SECRETARY. For more information on the permitted values, see the BAdI documentation.
- Approval Task ID
Enter a task ID that is assigned to the selected level type.
- Decision Type
Enter a decision type for the process level. The following decision types are available:
- Type 1: Decision for Entire Document
- Type 2: Item-Based Decision for Entire Document
- Type 3: Overall Decision for Partial Document
- Type 4: Item-Based Decision for Partial Document
- Evaluation Application and Evaluation Function
Enter these parameters to define how the process runs and whether a process level is activated or not.
Example
Business Attributes
ASAP Roadmap ID | 204 | Establish Functions and Processes |
Mandatory / Optional | 1 | Mandatory activity |
Critical / Non-Critical | 1 | Critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | /SRMERP/BRFP_PROC_L | 0 | /SRMERP/EBS0000022 | Self-Service Procurement |
Maintenance Objects
Maintenance object type | C | Customizing Object |
Assigned objects | ||||||
---|---|---|---|---|---|---|
Customizing Object | Object Type | Transaction Code | Sub-object | Do not Summarize | Skip Subset Dialog Box | Description for multiple selections |
IMGDUMMY | D - Dummy object | /SRMERP/BRFP_PROC_L |
History
Last changed by/on | SAP | 20101124 |
SAP Release Created in | 606 |