Ansicht
Dokumentation
CRMV_MKTCLDR_KPI - Add KPI to Views in the Marketing Calendar
Fill RESBD Structure from EBP Component Structure Addresses (Business Address Services)This documentation is copyright by SAP AG.
You can use this activity to add KPIs to the list of views in the marketing calendar. This shows you additional KPI-related columns of the selected view, in the marketing calendar. For this, you have to maintain the following fields:
- Hierarchical View
Enter the name of the view for which you want to add KPI-related columns.
- Position
The number you enter here indicates the position of the KPI-related columns in the left pane of the Marketing Calendar. The KPI columns will appear in the order you specify here, next to the marketing objects' columns.
- Key Figure ID
The values available here depend on the KPIs you have defined in the query in SAP NetWeaver Business Intelligence (SAP NetWeaver BI). This query points to the Report ID you have maintained in IMG activity Define Views for Marketing Calendar
- Note: Non-aggregated key figures from the planning layout cannot be displayed in SAP Customer Relationship Management (SAP CRM) in the marketing calendar using the query approach. This type of key figure cannot be used in SAP NetWeaver BI reporting for meaningful results.
- Key Figure Description
This field is automatically filled with the description of the key figure, as entered in SAP NetWeaver BI .
- Width
Indicates the initial width of the KPI column in the marketing calendar.
- Customer Key Figure Description
Use this field if you want to display a description other than what is maintained in SAP NetWeaver BI.
- Before you can add KPI columns, you have to enhance the existing view class as follows:
- Redefine method GET_COLUMN_FIELDS_SAMPLE in interface IF_CRM_MKTPL_CLDR_MODEL. You do this to create a structure to hold data that needs to be passed to SAP NetWeaver BI.
- Then enhance the REFRESH method. You do this so that the structure created in GET_COLUMN_FIELDS_SAMPLE method is filled and sent to SAP NetWeaver BI as follows:
- data lr_bi_processor type ref to cl_crm_mktpl_cldr_bi_processor
-
<
>
- create object lr_bi_processor
- exporting
- ir_view = me.
- lr_bi_processor->execute( )
-
Refer to Tactic view CL_CRM_MKTPL_CLDR_TACTIC and Customer/Product view CL_CRM_MKTPL_CLDR_CU_PROD_VIEW - for a sample enhancement.
- There is a query in SAP NetWeaver BI to fetch the KPI values you want.
- You have maintained fields SAPOSCOL Destination, Report ID and the BI Mapping Rule in IMG activity Define Views for Marketing Calendar.
ABAP Short Reference ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 3123 Date: 20240523 Time: 164601 sap01-206 ( 49 ms )