SAP ABAP Class CL_PRM_TRANS (Transformations for InfoCube)
Hierarchy
BI_CONT (Software Component) Business Intelligence Content
   BW-BCT-ISR-PRM (Application Component) Promotion Analytics
     RS_BCT_RETAIL_PROMO_ANALYTICS (Package) Promotion Analytics
Properties
Class CL_PRM_TRANS  
Short Description Transformations for InfoCube    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RS_BCT_RETAIL_PROMO_ANALYTICS   Promotion Analytics 
Created 20090212   SAP 
Last change 20141101    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_PRM_TRANS has no interface implemented.
Friends
Class CL_PRM_TRANS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ACTIVE Constant Public See coding 'A' 20090225
2 C_CAMPAIGN_CLASS Constant Public Type reference (TYPE) STRING 'CL_PROMO_CAMPAIGN' Name of Campaign class 20090212
3 C_CAMPGN_IOBJ Constant Public Type reference (TYPE) RSIOBJNM '0PRM_CAMPGN' InfoObject 20090225
4 C_EVENT_CLASS Constant Public Type reference (TYPE) STRING 'CL_PROMO_EVENT' Name of Event class 20090212
5 C_EVENT_IOBJ Constant Public Type reference (TYPE) RSIOBJNM '0PRM_EVENT' InfoObject 20090225
6 C_MESSAGE_CLASS Constant Public Type reference (TYPE) MSGID 'PROMO_ANALYTICS ' Message identification 20090212
7 C_MSGTYPE_ERROR Constant Public Type reference (TYPE) MSGTY 'E' Message Type 20090212
8 C_MSGTYPE_INFO Constant Public Type reference (TYPE) MSGTY 'I' Message Type 20090212
9 C_MSGTYPE_WARNING Constant Public Type reference (TYPE) MSGTY 'W' Message Type 20090212
10 C_OFFER_CLASS Constant Public Type reference (TYPE) STRING 'CL_PROMO_OFFER' Name of Offer class 20090212
11 C_OFFER_IOBJ Constant Public Type reference (TYPE) RSIOBJNM '0RT_OFFER' InfoObject 20090225
12 C_PRM_DS01 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS01' DataStore Object 20090225
13 C_PRM_DS02 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS02' DataStore Object 20090225
14 C_PRM_DS06 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS06' DataStore Object 20090225
15 C_PRM_DS07 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS07' DataStore Object 20090225
16 C_PRM_DS08 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS08' DataStore Object 20090225
17 C_PRM_DS09 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS09' DataStore Object 20090225
18 C_PRM_DS11 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS11' DataStore Object 20090225
19 C_PRM_DS13 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS13' DataStore Object 20100719
20 C_PRM_DS14 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS14' DataStore Object 20100719
21 C_PRM_DS15 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS15' DataStore Object 20100719
22 C_PRM_DS16 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS16' DataStore Object 20100719
23 C_PRM_DS21 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS21' DataStore Object 20090225
24 C_PRM_DS22 Constant Public Type reference (TYPE) RSDODSOBJECT '0PRM_DS22' DataStore Object 20100719
25 PROMO_CAMPAIGN_REF Static Attribute Public Object reference (TYPE REF TO) CL_PROMO_CAMPAIGN Service Class for SAP Promotion Planing (Campaign) 20090212
26 PROMO_CAMPAIGN_TAB Static Attribute Public Object reference (TYPE REF TO) DATA 20090212
27 PROMO_EVENT_EXT_TAB Static Attribute Public Object reference (TYPE REF TO) DATA 20090212
28 PROMO_EVENT_PART_TAB Static Attribute Public Object reference (TYPE REF TO) DATA 20100719
29 PROMO_EVENT_REF Static Attribute Public Object reference (TYPE REF TO) CL_PROMO_EVENT Service Class for Promo Analytics 20090212
30 PROMO_EVENT_SPACE_TAB Static Attribute Public Object reference (TYPE REF TO) DATA 20090212
31 PROMO_EVENT_TAB Static Attribute Public Object reference (TYPE REF TO) DATA 20090212
32 PROMO_MKT_VER_TAB Static Attribute Public Object reference (TYPE REF TO) DATA 20090212
33 PROMO_OFFER_REF Static Attribute Public Object reference (TYPE REF TO) CL_PROMO_OFFER Service Class for Promo Analytics 20090212
34 PROMO_OFFER_TAB Static Attribute Public Object reference (TYPE REF TO) DATA 20090212
35 PROMO_OFR_FINANCIAL_TAB Static Attribute Public Object reference (TYPE REF TO) DATA 20090212
36 PROMO_OFR_FORECAST_TAB Static Attribute Public Object reference (TYPE REF TO) DATA 20100719
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_INFOPROVIDER_ACTIVE Static method Public Method Check all the InfoProvider Active or not 20090225
2 CONCATENATE_PROD_LOC_ID Static method Public Method Utility for concatenating promotion external identifiers 20110923
3 CONVERT_PROD_TO_MATERIAL Static method Public Method Convert Promo Prod ID to a shorter Material ID (data loss) 20110915
4 ENRICH_SALES_DATA_WITH_PRM Static method Public Method Enrich sales data with Promotion data 20090212
5 INITIALIZE_DATA Static method Public Method Initialize Objects and Data 20090212
Events
Class CL_PRM_TRANS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_GUID_ALPHA Public See coding 32 char Key (e.g. GUID char storage) 20110915 T_GUID_ALPHA type C LENGTH 32
2 T_MATERIAL_ID Public See coding BW Material ID 20110915 T_MATERIAL_ID type C LENGTH 18
3 T_PRM_EXT_LOC_ID Public See coding Promotion External Location ID 20110916 T_PRM_EXT_LOC_ID type C LENGTH 60
4 T_PRM_EXT_PROD_ID Public See coding Promotion External Product ID 20110915 T_PRM_EXT_PROD_ID type C LENGTH 60
Method Signatures

Method CHECK_INFOPROVIDER_ACTIVE Signature

Method CHECK_INFOPROVIDER_ACTIVE on class CL_PRM_TRANS has no parameter.
# Exception Resumable Description Created on
1 CX_RSBCT_PRM Exception Class for Promo Analytics 20090225

Method CONCATENATE_PROD_LOC_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EB_IS_SUCCESS Call by reference Type reference (TYPE) ABAP_BOOL 20110923
2 Exporting ES_MON_MSG Call by reference Type reference (TYPE) RSMONITOR User-Defined Monitor Entry 20110923
3 Exporting EV_RESULT Call by reference Type reference (TYPE) T_GUID_ALPHA 32 char Key (e.g. GUID char storage) 20110923
4 Importing IV_LOC_ID Call by reference Type reference (TYPE) T_PRM_EXT_LOC_ID Promotion External Location ID 20110923
5 Importing IV_PROD_ID Call by reference Type reference (TYPE) T_PRM_EXT_PROD_ID Promotion External Product ID 20110923

Method CONCATENATE_PROD_LOC_ID on class CL_PRM_TRANS has no exception.

Method CONVERT_PROD_TO_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EB_IS_SUCCESS Call by reference Type reference (TYPE) ABAP_BOOL 20110916
2 Exporting ES_MON_MSG Call by reference Type reference (TYPE) RSMONITOR User-Defined Monitor Entry 20110923
3 Exporting EV_MATERIAL_ID Call by reference Type reference (TYPE) T_MATERIAL_ID BW Material ID 20110915
4 Importing IV_PROD_ID Call by reference Type reference (TYPE) T_PRM_EXT_PROD_ID Promotion External Product ID 20110915

Method CONVERT_PROD_TO_MATERIAL on class CL_PRM_TRANS has no exception.

Method ENRICH_SALES_DATA_WITH_PRM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MONITOR Call by reference Type reference (TYPE) RSTMONITOR User-defined monitor entry 20090220
2 Exporting ET_RESULT_PACKAGE Call by reference Type reference (TYPE) ANY TABLE 20090212
3 Importing IS_RESULT_PACKAGE Call by reference Type reference (TYPE) DATA 20090212
# Exception Resumable Description Created on
1 CX_RSBCT_PRM Exception Class for Promo Analytics 20090212

Method INITIALIZE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MONITOR Call by reference Type reference (TYPE) RSTMONITOR User-defined monitor entry 20090220
# Exception Resumable Description Created on
1 CX_RSBCT_PRM Exception Class for Promo Analytics 20090212
History
Last changed by/on SAP  20141101 
SAP Release Created in 705