Ansicht
Dokumentation

CRM_ICWC_IOBJECT - Business Add-In: Enhancements for Individual Objects

CRM_ICWC_IOBJECT - Business Add-In: Enhancements for Individual Objects

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Individual Objects (CRM-IC-OBJ) component.

You can use this BAdI to enhance and influence individual object-specific logic in Interaction Center WebClient (IC WebClient). This BAdI contains the two methods below.

Method DETERMINE_VIEW_FROM_CATEGORY

This method is used to determine the view for displaying an individual object's attributes. The determination of the view depends on the following:

  • Category
    The category of an individual object defines which attributes belong to individual objects of the given category. As individual objects of different categories tend to have different attributes, different views are used to display individual objects from different categories.
  • View set
    Individual object attributes can be displayed in views of different view sets.
    Example: In view set CRM_IC_AUTO/VehMViewSet, only some attributes of an individual object are displayed. In view set CRM_IC_AUTO/VehMMViewSet, a wider range of attributes is displayed in a larger view. Therefore, the view to be used to display an individual object depends on the view set (and also on the view area available in the view set).
  • IC WebClient profile
    In different profiles, different views can be used to display an individual object. A user of profile A might be allowed to see more attributes than a user of profile B. Therefore, different views can be required for different IC WebClient profiles.

The implementation of BAdI method DETERMINE_VIEW_FROM_CATEGORY should show the name of the view as an export parameter. If the view is not part of BSP application CRM_IC, the name of the BSP application must be a prefix of the view name, such as CRM_IC_AUTO/VehMMFOwnM.

This method is called in class CL_CRM_IC_A_VEHMCONTROLLE_IMPL, method IOBJ_VIEWDETERMINATION.

Method IOBJECT_CREATION

This method can be used to influence the creation of new individual objects. Adding data to the new individual object is an example of when it is used.

The IC WebClient profile is provided as an import parameter to the method so that the logic can be implemented dependent on the IC WebClient profile. An additional import parameter is the BDC data, which contains the current vehicle, the current customer, the current contact, and so on.

For more information, see the sample implementation ICWC_IOBJ_EXAMPLE. It contains an example that adds the confirmed account (customer and contact) as partners to the new individual object.

This method is called in class CL_CRM_IC_A_VEHMCONTROLLE_IMPL, method IOBJECT_CREATION.






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

Length: 2918 Date: 20240523 Time: 164029     sap01-206 ( 63 ms )