Ansicht
Dokumentation

BW_BCT_RT_EM02 - Define Event Dimension

BW_BCT_RT_EM02 - Define Event Dimension

CPI1466 during Backup   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

In this IMG activity, you define the dimensions that can be assigned to an event. The implementation of an event dimension takes place using two classes:

  • A class for the database access, text determination and value verification
  • A class for the management of event assignments during runtime

The creation of an entry for a new event dimension requires the creation of the two aforementioned classes.

SAP delivers the following event dimensions:

Product dimensions

  • 0CM_CDT1 (dimension "Category"), corresponds to info object 0CM_CDT1
  • 0CM_CDT2 (dimension "Subcategory"), corresponds to info object 0CM_CDT2
  • 0CM_CDT3 (dimension "Segment"), corresponds to info object 0CM_CDT3

Location dimensions

  • 0COUNTRY (dimension "Land"), corresponds to info object 0COUNTRY
  • 0REGION (dimension "Region"), corresponds to info object 0REGION
  • 0PLANT_SHOP (dimension "Shop"), corresponds to info object 0PLANT with the attribute value 0RF_STORETY = '2'
  • 0PLANT_STORE (dimension "Store"), corresponds to info object 0PLANT with the attribute value 0RF_STORETY = space
  • 0PLANT_DSTORE (dimension "Department Store"), corresponds to info object 0PLANT with the attribute value 0RF_STORETY = '1'

You can use this event dimension productively.

If you want a 1:1 relationship between event dimension and info object, you have to take the following into account:

  • Copy the class /MAP/CL_EVT_EVASSIGN_DEFAULT (Management of event assignments during runtime) to a new class "A"
  • Copy the class /MAP/CL_EVT_DB_TEMPLATE (database access, text determination and value verification) "B"
  • Create a new data store object for storing the dimension assignments for event occurrences.
You can use the data store object 0RME_DS03 ("Regions for event occurrences") as a template. In this case, you replace the key fields 0REGION and 0COUNTRY with the relevant info object. Bear in mind that, in the case of compound info objects, you should also copy those info objects that are compounded to the key.
  • In the newly created class "B", change the attributes:
  • C_IOBJNM to the relevant info object

  • C_ODSO to the relevant data store object

If you want to implement special logic for the master data check in the new dimension, modify the following methods of the new class "B":

  • MD_CHECK()
  • TEXT_GET()

You can use the class /MAP/CL_EVT_DB_STORE as a template. In this template, only plants with the attribute store category (0RF_STORETY = "SPACE") are regarded as permitted values.






General Data in Customer Master   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3268 Date: 20240523 Time: 234723     sap01-206 ( 63 ms )