Ansicht
Dokumentation

CRM_IOBJ_CIC_BADI - BAdI: New Application Components in Workspace for Individual Objects

CRM_IOBJ_CIC_BADI - BAdI: New Application Components in Workspace for Individual Objects

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 Automotive Interaction Center (CRM-IA-IC) component.

You can use this BAdI to add application components in the individual object workspace of the Interaction Center (IC).

This BAdI runs when the function modules CRM_IOBJECT_CIC_SAVE, CRM_IOBJECT_CIC_INIT, CRM_IOBJECT_CIC_CHECK_CHANGED, CRM_IOBJ_CIC_IL_CREATE, CRM_IOBJ_CIC_IL_CHANGE, and CRM_IOBJ_CIC_IL_DELETE are called.

It contains the following methods:

  • CRM_IOBJ_CIC_SAVE
    This is used for saving application components in the individual object workspace of the Interaction Center.
    Before this method is called, method CRM_IOBJ_CIC_CHECK_CHANGE must be called.
This method has the following parameters:
  • IV_PROCESS_MODE
    This is a check parameter. Only if the process mode is Change or Create, should the Save module be called.

  • IV_IOBJECT_GUID
    This is an individual object GUID.

  • IT_CIC_SS_CUST_DATA
    This is a Customizing table. Only if an entry for the application component exists in this table, should the Save module be called.

  • EV_SAVE_STATUS
    This indicates whether saving was successful or not.

  • CRM_IOBJ_CIC_CHECK_CHANGE
    This is used to check if any change took place in the UI structure of the user-specific application components. It does this by comparing the current structure contents with the contents in the buffer.
    If nothing was changed, the corresponding Save module is not called.
This method has the following parameters:
  • IV_IOBJECT_GUID
    This is an individual object GUID.

  • IT_CIC_SS_CUST_DATA
    This is a Customizing table for maintaining application components in the individual object workspace. It is used to check if the corresponding entry for the product category exists. If, for example, a particular component does not exist in this Customizing table, it is not displayed in the UI and there is no check to see if the component was changed.

  • EV_CHANGED
    This is used to show if anything was changed.

  • CRM_IOBJ_CIC_INIT
    This initializes the variables associated with the user-specific application components.
    In the implementation of this method, you should write statements to clear your component-specific UI structure. This method does not have any parameters.
  • CRM_IOBJ_CIC_LOCK
    This locks the individual object for user-specific application components.
  • CRM_IOBJ_CIC_ONE_ORDER_FILTER
    This filters out the object types and process types that are not to appear in the dropdown box for the creation of business transactions in the individual object workspace. For a filtering example, see the automotive sample implementation.
  • CRM_IOBJ_CIC_IL_CREATE
    This method is called when a reference product is linked to the individual object for the first time. Inside the method, you can call application programming interfaces (APIs) to create interlinkages that depend on the reference product. For example, you can create counters or warranties for the individual object by copying the counters and warranties from the templates of the reference product.
  • CRM_IOBJ_CIC_IL_CHANGE
    This method is called when the reference product is changed. Inside the method, you can call APIs to change interlinkages that depend on the reference product. For example, you can change counters or warranties for the individual object by deleting the old counters and warranties from the templates of the reference product, and by copying the new counters and warranties from these templates.
  • CRM_IOBJ_CIC_IL_DELETE
    This method is called when the link to the reference product was deleted. Inside the method, you can call APIs to delete interlinkages that depend on the reference product. For example, you can delete counters or warranties for the individual object because the link to the reference product was deleted.
  • The methods CRM_IOBJ_CIC_IL_CREATE, CRM_IOBJ_CIC_IL_CHANGE, and CRM_IOBJ_CIC_IL_DELETE have the export parameter ET_BAPIRETURN (error messages) and the following import parameters:
  • IV_CATEGORY_ID: Product category ID

  • IV_REF_PROD_GUID: New reference product GUID

  • IV_EXIST_REF_PROD_GUID: Old reference product GUID

  • IV_IOBJECT_GUID: Individual object GUID

  • IV_PROCESS_MODE: Processing mode of the individual object workspace. It is 'A' for create mode, 'B' for change, and 'C' for display mode

  • IS_UI_STRUCT: Generic individual object UI communication structure

There are sample implementations for this BAdI in the standard system.

The BAdI is filter-dependent and the filter type is CCMPROF (Interaction Center WinClient Profile).

For a sample implementation of most of the methods, see the implementation IOBJ_CIC_ISA_EX_IMPL for Automotive and IOBJ_CIC_ISHT_EX_IMP for High Tech.






Fill RESBD Structure from EBP Component Structure   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 6247 Date: 20240523 Time: 161457     sap01-206 ( 92 ms )