Ansicht
Dokumentation
CRM_IPM_SE_PREFERRED - BAdI: Selection of Pref. Rights Mrkt Segment Code List for Outbound Mapping
Addresses (Business Address Services) PERFORM Short ReferenceThis documentation is copyright by SAP AG.
You can use this Business Add-In (BAdI) to define preferred code lists (supplementary components) for the market segment code names. The outbound mapping uses these preferred code lists.
Interface:
IF_CRM_IPM_SE_PREFERRED_CODES
Method:
SET_PREFERRED_CODE_LIST
This method is used to set the preferred code list.
Import Parameters:
IS_MESSAGE_HEADER
This parameter is of type IPM_BDOC_MSG_H and contains the message header for the service inquiry. For a bulk service, it contains the message header for an individual message from the bulk request. In a bulk service, the system calls the BAdI for each message individually.
IT_MARKET_SEGMENT
This is a table of type IPM_RIGHTS_MARKET_SEGMENT and contains the market segments from the service inquiry.
Changing Parameter:
CT_PREFERRED_CODES
This is a table of type CRMT_IPM_PREF_CODES_TAB and contains the preferred code list.
In the standard system, there is no activated BAdI implementation.
The BAdI is designed for multiple use. All activated implementations are called and executed.
For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.
Sample of SET_PREFERRED_CODE_LIST method implementation:
DATA: ls_preferred_codes TYPE crmt_ipm_pref_codes.
ls_preferred_codes-code_name = 'REGION_CODE'.
ls_preferred_codes-listid = '122345'.
ls_preferred_codes-listagencyid = '5
APPEND ls_preferred_codes TO ct_preferred_codes.
CLEAR ls_preferred_codes.
ls_preferred_codes-code_name = 'IP_EXPLOITATION_TYPE_CODE'.
ls_preferred_codes-listid = '99999'.
APPEND ls_preferred_codes TO ct_preferred_codes.
General Data in Customer Master rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 3569 Date: 20240523 Time: 163734 sap01-206 ( 91 ms )