Ansicht
Dokumentation

CRM_MCAL_SPLT_OPTNS - BAdI: Definition of Additional Split Search Options

CRM_MCAL_SPLT_OPTNS - BAdI: Definition of Additional Split Search Options

BAL_S_LOG - Application Log: Log header data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Marketing Calendar (CRM-MKT-MPL-CAL) component.

You can use this BAdI to define additional entries in the Splitdropdown list box, in the WebClient UI. These entries act as pre-defined searches. When you implement this BAdI, you add to the list of split options available with standard delivery, in Customizing activity Define Available Split Options.

It contains the interface IF_EX_CRM_MCAL_SPLIT_SEARCH. This interface has the following methods:

  • Specify search criteria based on which marketing projects should be displayed in the split calendar. Depending on whether you are doing this for the advanced search or filter search, implement the corresponding method. The search logic for both methods remains the same, but the implementation differs.
  • Method GET_SPLIT_PARAMS_ADV_SEARCH for the Advanced Search

Changing Parameters:
CT_SEL_PARAMS
CV_MAX_HITS
CV_OFFSET
CV_UNIT
CT_MESSAGES
CV_FILTER_EMPTY_PARAMS
  • Method GET_SPLIT_PARAMS_FILTER_SEARCH for the Filter Search

Changing Parameters:
CT_AGREEMENTS_DATA
CT_MKTPLAN_DATA
CT_CLUSTER_TYPE_DATA
CT_PRODUCT_DATA
CT_ACCOUNT_DATA
CT_CUSTOM_FILTER_TILES_DATA
CT_TIME_TILE_HIERARCHY
CV_MAX_HITS
Once you have implemented the necessary methods, complete the following:
  1. Define an ID for this option in Customizing activity Define Available Split Options
  2. Implement this BAdI to specify the search criteria.
  3. Add the newly defined options to the required role in Customizing activity Define Role Settings. These options are now available in the Split dropdown list box.
You can also use this method to specify search criteria parameters, the maximum number of results to be displayed, the offset period (in relation to the current date).It has the following parameters:
  • Method GET_OBJECT_CATEGORY_MAPPING, where you map object categories applicable to the new criteria you entered in method GET_SPLIT_PARAMS_FILTER_SEARCH. By new filter search criteria, we mean attributes, which are not present in any of the standard titles and you have added in parameter CT_CUSTOM_FILTER_TILES_DATA.
Changing Parameters:
CT_TILE_OBJ_CATEGORY
  • Method GET_STRUCTURE_ID, where you specify the default structure for a given split option. It has the following parameters:
Changing parameters:
CV_SPLIT_STRUCTURE_ID
  • Method GET_DISPLAY_OFFSET, where you specify the offset for the initial visible area of the split calendar - in relation to the time period displayed in the core calendar. For more information, see Positive Offset and Negative Offset.
Changing Parameters:
CV_OFFSET
CV_UNIT

You have the implementation for the BAdI definition.

In the standard system, the BAdI implementation CRM_MCAL_SPLIT_SEARCH is activated. The default code is executed automatically. This implementation is for the Last Year's Plan option.

The default implementation is designed to work together with the Customizing activity Define Available Split Options.

For more information, see CRM_MCAL_PRIORITY_PLAN, which is a sample implementation for split option priority.

Information about the implementation of BAdIs in the context of the enhancement concept is available in the SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






Vendor Master (General Section)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 5209 Date: 20240523 Time: 172104     sap01-206 ( 115 ms )