SAP ABAP IMG Activity _CACS_CACS_OAOBJSEL (BAdI: Object and Target Object Selection in Worklist)
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_OAOBJSEL BAdI: Object and Target Object Selection in Worklist  
Transaction Code S_AEN_10000403   (empty) 
Created on 20050214    
Customizing Attributes _CACS_CACS_OAOBJSEL   BAdI: Object and Target Object Selection in Worklist 
Customizing Activity _CACS_CACS_OAOBJSEL   Implement BAdI for Object and Target Object Selection in Worklist 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name CACS_OAWL_OBJSEL    

Use

This Business Add-In (BAdI) is used in Incentive and Commission Management (ICM). This BAdI is intended for object and target object selection while creating, managing, and processing worklists for object assignment using the Framework for Object Assignment. The implementations of BAdI definition CACS_OAWL_OBJSEL are called from the application plug that connects the Framework for Object Assignment to the application.

The BAdI interface IF_EX_CACS_OAWL_OBJSEL has the following three methods:

  • SELOBJSWID
    Gets detailed information on objects with their ID. This method is executed when an existing worklist is displayed or changed. The task of the connected application is to get the related object attributes for the specified object keys.
  • SELOBJSWPAR
    Selects objects based on predefined selection parameters. This method is executed when the selection of objects or target objects for an assignment set is to be made. Here, the connected application selects and returns objects based on the selection parameters.
  • SELOBJSWPARID
    Searches object list on basis of selection parameters. This method is executed when an object search of the worklist is executed in the user interface for managing worklists using the search function under the "Search" tab. This method is also used when you use the option 'With Configured Search Interface' in the search help for worklists. The task of the method is to select those objects from the list of all objects and target objects of the worklist that have the characteristics specified in the selection parameters.

Implementations for each of the above methods must observe the convention of returning data of an object or target object in the format fixed in the Dictionary structure CACS_S_OAOBJAFFIX. The key include CACS_S_OAOBJIDENT serves to identify the object or target object. The data section that complements the object data along with the prefix can have any number of fields. However, the data typing must match the definition of parameter ET_SELRESULT in the interface of the function module that is called in the application plug for the corresponding method.

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

Requirements

Standard settings

The implementations of CACS_OAWL_OBJSEL_ELT1 and CACS_OAWL_OBJSEL_ELT2 for entitlement and liability transfer are contained in the standard delivery of BAdI definition CACS_OAWL_OBJSEL. The implementations are active as standard and serve to select remuneration lines or commission contracts for entitlement and liability transfer worklists.

The implementation of CACS_OAWL_OBJSEL_ELT1 includes logic for selecting, reselecting (for display), and searching for remuneration lines. The implementation of CACS_OAWL_OBJSEL_ELT2 includes logic for selecting, reselecting (for display), and searching for commission contracts.

The BAdI implementations are called from the following methods in the application plug CACS41_FOA_ELTPLUG:

  • Selects objects or target objects according to predefined parameters (method called: SELOBJSWPAR)
  • Gets detailed information on a list of objects or target objects (method called: SELOBJSWID)
  • Object or target object search in worklist (method called: SELOBJSWPARID)

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, define a new selection structure, or create a new field selection. If the logic of existing BAdI implementations does not take account of the new assignment type or selection by the new selection structure or field selection, you must create a new BAdI implementation.

See also:

Methods

  • Gets detailed information on objects with their ID (SELOBJSWID)
  • Selects objects according to predefined selection parameters (SELOBJSWPAR)
  • Searches object list on basis of selection parameters (SELOBJSWPARID)

Interface

  • BAdI interface IF_EX_CACS_OAWL_OBJSEL

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