Ansicht
Dokumentation

_CACS_CACS_OAWLCTXT - BAdI: Context Information for Worklist

_CACS_CACS_OAWLCTXT - BAdI: Context Information for Worklist

Vendor Master (General Section)   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in Incentive and Commission Management (ICM). You use this BAdI to select context information. It lets you create a worklist for object assignment using the Framework for Object Assignment. The implementations of BAdI definition CACS_OAWL_CTXT are called from the application plug that connects the Framework for Object Assignment to the application.

BAdI interface IF_EX_CACS_OAWL_CTXT has the following methods:

  • MAPCTXT
  • Transfers predefined context information for the worklist

  • SELCTXTWPAR
  • Selects context information based on selection parameters

  • Imports to parameter IT_SELSET the parameters for the selection of context information
    The names of the parameters correspond to the fields of the structure through which the call of the BAdI implementation was filtered (see below). Context information can be placed in the return parameter ET_RESULT_TABLE in the form of an internal table using any format. 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_CTXT are called after filtering. The filter is defined in Dictionary structure CACS_S_OAWLCTXTBADIFLTR. The following filter criteria are available:

The implementation of CACS_OAWL_CTXT_ELT1 for entitlement and liability transfer is contained in the standard delivery of BAdI definition CACS_OAWL_CTXT. The implementation is active as standard and is used to select commission contract data as context information for the entitlement and liability transfer worklist.

The BAdI implementations are called from method Selects Context Information for Worklist in application plug CACS41_FOA_ELTPLUG (implemented by function module CACS41_FOA_ELT_SELECT_CTXT).

Since the BAdI definition is filter-dependent, the filter values of existing BAdI implementations must be enhanced when you configure a new assignment type, or define a new selection structure or create a new selection method. If the logic of existing BAdI implementations does not take account of the new assignment type or of selection by the new selection structure or method, you must implement a new BAdI.

See also:

Methods

  • Transfers predefined context information for the worklist (MAPCTXT)
  • Selects context information based on selection parameters (SELCTXTWPAR)

Interface

  • BAdI interface IF_EX_CACS_OAWL_CTXT






CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3718 Date: 20240523 Time: 154044     sap01-206 ( 66 ms )