Ansicht
Dokumentation

CRMS4V_IU_IRPDSC - Maintain Pre-Defined Search for Contact Data

CRMS4V_IU_IRPDSC - Maintain Pre-Defined Search for Contact Data

rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you maintain pre-defined searches that are used on the overview page of the Interaction Center (IC) application.

A key must be defined for each pre-defined search in a Business Add-In (BAdI) implementation for the BAdI definition CRM_ISU_IREC_PDS (Enhancement Spot CRM_ISU_IREC_ENHSPOT). The key is used as a filter in a BAdI implementation.

This BAdI definition CRM_ISU_IREC_PDS only contains one method, IF_CRM_ISU_IREC_SELECTION ~ LOAD_SELECTION_PARAMETERS, which must be implemented. The objective of this implementation is to prepare the selection criteria to be executed by the interaction records search. To do so, the selection criteria must be entered with the condition in the parameter table ET_SELECTION_PARAMS.

The attribute names to be used as selection criteria must be valid selection fields, which exist in the structure CRMS_ISU_IREC_ADVS_FILTER.

The option to be used as a selection criterion must be a valid operator for the corresponding selection field. You can check for valid operators for each search field as follows:

  1. Use transaction SM34 and display the view cluster CRMVC_DQ.
  2. Select the line with Component = BT and Name of DQuery Object = BTQIrecFilter.
  3. Double-click the folder Exceptions per Attribute from the left panel. All operators for each selection field used for the interaction records search are listed.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Proceed as follows:

  1. Create a new BAdI implementation for the BAdI definition CRM_ISU_IREC_PDS (Enhancement Spot CRM_ISU_IREC_ENHSPOT).
  2. Specify a filter for it and implement the method IF_CRM_ISU_IREC_SELECTION ~ LOAD_SELECTION_PARAMETERS.
  3. Maintain pre-defined searches by defining the following parameters for all pre-defined searches:
    1. Pred.Key (Pre-Defined Key)
      Unique key for a pre-defined search. This key is used as a filter in a BAdI implementation for the BAdI definition CRM_ISU_IREC_PDS (Enhancement Spot CRM_ISU_IREC_ENHSPOT).
    2. Seq. (Sequence)
      Display order sequence for the list of pre-defined searches.
    3. Hidden
      Flag to hide the pre-defined search. If it is selected, the pre-defined search is not available in the pre-defined search drop-down list on the user interface.
    4. Description
      Description of the pre-defined search (language-dependent). The description is displayed in the pre-defined search drop-down list on the user interface.

Several delivered pre-defined searches are provided to be used as examples: To view them, use transaction SE18, display the enhancement spot CRM_ISU_IREC_ENHSPOT and search for the implementation of the BAdI definition CRM_ISU_IREC_PDS.

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Select a release and then Application Help. In the SAP Library, choose SAP NetWeaver Library: Function-Oriented View → Application Server → Application Server ABAP → Application Development on AS ABAP → ABAP Customer Development → Enhancement Framework.






TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4915 Date: 20240523 Time: 182532     sap01-206 ( 96 ms )