SAP ABAP IMG Activity _CACS_CACS_OAWLCRE (BAdI: Create Rule-Based Worklists)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   ICM (Application Component) Incentive and Commission Management (ICM)
     CACSOA (Package) Framework for Object Assignment (FOA)
IMG Activity
ID _CACS_CACS_OAWLCRE BAdI: Create Rule-Based Worklists  
Transaction Code S_AEN_10000401   (empty) 
Created on 20050214    
Customizing Attributes _CACS_CACS_OAWLCRE   BAdI: Create Rule-Based Worklists 
Customizing Activity _CACS_CACS_OAWLCRE   Implement BAdI for Rule-Based Creation of Worklists 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name CACS_OAWL_CREBYRULE    

Use

This Business Add-In (BAdI) is used in Incentive and Commission Management (ICM). This BAdI is intended for the creation of rule-based worklists for object assignment using Framework for Object Assignment. The implementations of the BAdI definition CACS_OAWL_CREBYRULE are called with the method CREATEBYRULE of class CL_CACS_OAWL, the worklist for object assignment or classes derived from this.

BAdI interface IF_EX_CACS_OAWL_CREBYRULE has the following method:

  • SETAWLCONTENT
    Fills the worklist for object assignment.
    Imports in parameter CO_OAWL the object reference of the worklist whose content is to be determined on the basis of rules. Import parameter IR_OARUCONFIG provides the configuration of the assignment rule in the connected application by means of data reference.

    It is possible to add assignment groups, assignment sets, and assignment instructions to the worklist through the public methods of class CL_CACS_OAWL or its derived class(es).
    The worklist can be edited with the named methods to the extent required (e.g. selection of objects or target objects). However you should avoid saving the worklist and the subsequent object assignments. The worklist is saved (with subsequent database commit) by the calling method CREATEBYRULE.

Requirements

Standard settings

The implementations CACS_OAWL_CREBYRULE_ELT1 and CACS_OAWL_CREBYRULE_ELT2 for entitlement and liability transfer are contained in the standard delivery of BAdI definition CACS_OAWL_CREBYRULE.

The implementations are active as standard and create the content of a worklist for entitlement and liability transfer based on an assignment rule:

  • Assignment rule 0RE1: transfer proposal without receiver determination
    Selects remunerations of a commission contract and determines the ELT rule to be applied in this case to execute the entitlement and liability transfer.
  • Assignment rule 0RE2: Members of partnership as receivers
    Selects remunerations of a member of a partnership, determines the ELT rule to be applied, and proposes the other members of the partnership as potential receivers of entitlements or liability.

Implementations of the BAdI definition CACS_OAWL_CREBYRULE are called after filtering. The filter is defined in Dictionary structure CACS_S_OAWLCREBADIFLTR. The following filter criteria are available:

Activities

Since the BAdI definition is filter-dependent, the filter values of existing BAdI implementations must be enhanced when you configure a new assignment type, definition for worklist, assignment scenario or assignment rule. If the logic of existing BAdI implementations does not take account of the new filter criteria, you must implement a new BAdI.

See also:

Method

  • Fills the worklist for object assignment (SETAWLCONTENT)

Interface

  • BAdI interface IF_EX_CACS_OAWL_CREBYRULE

Example

Business Attributes
ASAP Roadmap ID 105   Define functions and processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050407 
SAP Release Created in 600