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 | 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 | Constant | Public | See coding | 'A' | 20090225 | ||||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'CL_PROMO_CAMPAIGN' | Name of Campaign class | 20090212 | ||
| 3 | Constant | Public | Type reference (TYPE) | RSIOBJNM | '0PRM_CAMPGN' | InfoObject | 20090225 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'CL_PROMO_EVENT' | Name of Event class | 20090212 | ||
| 5 | Constant | Public | Type reference (TYPE) | RSIOBJNM | '0PRM_EVENT' | InfoObject | 20090225 | ||
| 6 | Constant | Public | Type reference (TYPE) | MSGID | 'PROMO_ANALYTICS ' | Message identification | 20090212 | ||
| 7 | Constant | Public | Type reference (TYPE) | MSGTY | 'E' | Message Type | 20090212 | ||
| 8 | Constant | Public | Type reference (TYPE) | MSGTY | 'I' | Message Type | 20090212 | ||
| 9 | Constant | Public | Type reference (TYPE) | MSGTY | 'W' | Message Type | 20090212 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'CL_PROMO_OFFER' | Name of Offer class | 20090212 | ||
| 11 | Constant | Public | Type reference (TYPE) | RSIOBJNM | '0RT_OFFER' | InfoObject | 20090225 | ||
| 12 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS01' | DataStore Object | 20090225 | ||
| 13 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS02' | DataStore Object | 20090225 | ||
| 14 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS06' | DataStore Object | 20090225 | ||
| 15 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS07' | DataStore Object | 20090225 | ||
| 16 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS08' | DataStore Object | 20090225 | ||
| 17 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS09' | DataStore Object | 20090225 | ||
| 18 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS11' | DataStore Object | 20090225 | ||
| 19 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS13' | DataStore Object | 20100719 | ||
| 20 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS14' | DataStore Object | 20100719 | ||
| 21 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS15' | DataStore Object | 20100719 | ||
| 22 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS16' | DataStore Object | 20100719 | ||
| 23 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS21' | DataStore Object | 20090225 | ||
| 24 | Constant | Public | Type reference (TYPE) | RSDODSOBJECT | '0PRM_DS22' | DataStore Object | 20100719 | ||
| 25 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_PROMO_CAMPAIGN | Service Class for SAP Promotion Planing (Campaign) | 20090212 | |||
| 26 | Static Attribute | Public | Object reference (TYPE REF TO) | DATA | 20090212 | ||||
| 27 | Static Attribute | Public | Object reference (TYPE REF TO) | DATA | 20090212 | ||||
| 28 | Static Attribute | Public | Object reference (TYPE REF TO) | DATA | 20100719 | ||||
| 29 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_PROMO_EVENT | Service Class for Promo Analytics | 20090212 | |||
| 30 | Static Attribute | Public | Object reference (TYPE REF TO) | DATA | 20090212 | ||||
| 31 | Static Attribute | Public | Object reference (TYPE REF TO) | DATA | 20090212 | ||||
| 32 | Static Attribute | Public | Object reference (TYPE REF TO) | DATA | 20090212 | ||||
| 33 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_PROMO_OFFER | Service Class for Promo Analytics | 20090212 | |||
| 34 | Static Attribute | Public | Object reference (TYPE REF TO) | DATA | 20090212 | ||||
| 35 | Static Attribute | Public | Object reference (TYPE REF TO) | DATA | 20090212 | ||||
| 36 | Static Attribute | Public | Object reference (TYPE REF TO) | DATA | 20100719 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check all the InfoProvider Active or not | 20090225 | |
| 2 | Static method | Public | Method | Utility for concatenating promotion external identifiers | 20110923 | |
| 3 | Static method | Public | Method | Convert Promo Prod ID to a shorter Material ID (data loss) | 20110915 | |
| 4 | Static method | Public | Method | Enrich sales data with Promotion data | 20090212 | |
| 5 | 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 | 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 | EB_IS_SUCCESS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110923 | ||||
| 2 | ES_MON_MSG | Call by reference | Type reference (TYPE) | RSMONITOR | User-Defined Monitor Entry | 20110923 | |||
| 3 | EV_RESULT | Call by reference | Type reference (TYPE) | T_GUID_ALPHA | 32 char Key (e.g. GUID char storage) | 20110923 | |||
| 4 | IV_LOC_ID | Call by reference | Type reference (TYPE) | T_PRM_EXT_LOC_ID | Promotion External Location ID | 20110923 | |||
| 5 | 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 | EB_IS_SUCCESS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110916 | ||||
| 2 | ES_MON_MSG | Call by reference | Type reference (TYPE) | RSMONITOR | User-Defined Monitor Entry | 20110923 | |||
| 3 | EV_MATERIAL_ID | Call by reference | Type reference (TYPE) | T_MATERIAL_ID | BW Material ID | 20110915 | |||
| 4 | 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 | ES_MONITOR | Call by reference | Type reference (TYPE) | RSTMONITOR | User-defined monitor entry | 20090220 | |||
| 2 | ET_RESULT_PACKAGE | Call by reference | Type reference (TYPE) | ANY TABLE | 20090212 | ||||
| 3 | IS_RESULT_PACKAGE | Call by reference | Type reference (TYPE) | DATA | 20090212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ES_MONITOR | Call by reference | Type reference (TYPE) | RSTMONITOR | User-defined monitor entry | 20090220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for Promo Analytics | 20090212 |
History
| Last changed by/on | SAP | 20141101 |
| SAP Release Created in | 705 |