SAP ABAP Class CL_RSMRM_CORM_TRAIN (Coupon Redemption calculation)
Hierarchy
☛
BI_CONT (Software Component) Business Intelligence Content
⤷
BW-BCT-CRM (Application Component) Customer Relationship Management
⤷
RSMRM_CORM (Package) Coupon Redemption Modeling
⤷
⤷
Properties
| Class | CL_RSMRM_CORM_TRAIN | |
| Short Description | Coupon Redemption calculation | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSMRM_CORM | Coupon Redemption Modeling |
| Created | 20040120 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSMRM_CORM_TRAIN has no interface implemented.
Friends
Class CL_RSMRM_CORM_TRAIN has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | RSMRME_C_MODEL | Coupon Redemption Model | 20040120 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_EX_RSMRM_CORM_BADI | Business add-in interface IF_EX_RSMRM_CORM_BADI | 20040202 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_EX_RSMRM_CORM_BADI | Default BADI implementation | 20040306 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSMRM_CORM_MODEL | Coupon Redemption Model | 20040120 | |||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSMRM_RUNTIME | runtime class | 20040123 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | RSMRMTT_C_DS_CIRC_DATA | Table Type for Circulation Data | 20040123 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | RSMRMTT_C_CLS_CHAR_DET | Temporary class id and characteristic details | 20040203 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | RSMRMTT_C_CLS_REL | class characteristic value relation | 20040206 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | RSDM_TX_SHLPRETURN | master data values | 20040202 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | RSMRMTT_C_MKT_ELM | list of campaigns | 20040202 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | RSMRMTT_C_DS_REDEM_DATA_XT | Table Type for Data Structure for enriched Redemption Data | 20040123 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | RSMRMTT_C_RP_CURVE_DET | redemption curve result details | 20040205 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | RSMRMTT_C_RP_CURVE_HDR | redemption curve result header details | 20040205 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | check if model is ready for calculation | 20040120 | |
| 2 | Instance method | Protected | Method | marketing element class determination | 20040120 | |
| 3 | Instance method | Public | Method | Execute main | 20040120 | |
| 4 | Instance method | Protected | Method | fetch circulation data | 20040131 | |
| 5 | Instance method | Protected | Method | fetch master data attribute values | 20040202 | |
| 6 | Instance method | Protected | Method | fetch redemption data | 20040131 | |
| 7 | Instance method | Protected | Method | initialisations | 20040120 | |
| 8 | Instance method | Protected | Method | call badi to initialize based of marketing element list | 20040306 | |
| 9 | Instance method | Protected | Method | instantiate the model | 20040120 | |
| 10 | Instance method | Protected | Method | release resources | 20040225 | |
| 11 | Instance method | Protected | Method | delete inserted results if any | 20040225 | |
| 12 | Instance method | Private | Method | Handle class change | 20040308 | |
| 13 | Instance method | Private | Method | Handle coupon change | 20040308 | |
| 14 | Static method | Public | Method | Schedule Training | 20040130 | |
| 15 | Instance method | Protected | Method | Start calculations | 20040225 | |
| 16 | Instance method | Protected | Method | perform time series tranformation | 20040120 | |
| 17 | Instance method | Protected | Method | write results to db | 20040121 |
Events
Class CL_RSMRM_CORM_TRAIN has no event.
Types
Class CL_RSMRM_CORM_TRAIN has no local type.
Method Signatures
Method CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Rückgabeparameter-Tabelle | 20040225 | |||
| 2 | I_MODEL_NAME | Call by reference | Type reference (TYPE) | RSMRME_C_MODEL | Coupon-Einlösemodell | 20040225 |
Method CHECK on class CL_RSMRM_CORM_TRAIN has no exception.
Method DETERMINE_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Rückgabeparameter-Tabelle | 20040131 |
Method DETERMINE_CLASS on class CL_RSMRM_CORM_TRAIN has no exception.
Method EXECUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Rückgabeparameter-Tabelle | 20040131 | |||
| 2 | I_JOBID | Call by reference | Type reference (TYPE) | GUID_32 | GUID in Format "CHAR" in Großbuchstaben | 20040131 | |||
| 3 | I_MODEL | Call by reference | Type reference (TYPE) | RSMRME_C_MODEL | Coupon-Einlösemodell | 20040123 | |||
| 4 | I_T_BREAKPOINTS | Call by reference | Type reference (TYPE) | RSAN_T_STRINGS | Tabelle mit Strings | 20040131 |
Method EXECUTE on class CL_RSMRM_CORM_TRAIN has no exception.
Method GET_CIRCULATION_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Rückgabeparameter-Tabelle | 20040131 |
Method GET_CIRCULATION_DATA on class CL_RSMRM_CORM_TRAIN has no exception.
Method GET_IOBJ_ATTR_VAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ERROR | Value transfer | Type reference (TYPE) | RSDMEM_BOOL_CH | Datenelement für Rückgabetabelle | 20040202 |
Method GET_IOBJ_ATTR_VAL on class CL_RSMRM_CORM_TRAIN has no exception.
Method GET_REDEMPTION_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Rückgabeparameter-Tabelle | 20040131 |
Method GET_REDEMPTION_DATA on class CL_RSMRM_CORM_TRAIN has no exception.
Method INITIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Rückgabeparameter-Tabelle | 20040131 | |||
| 2 | I_JOBID | Call by reference | Type reference (TYPE) | GUID_32 | GUID in Format "CHAR" in Großbuchstaben | 20040131 | |||
| 3 | I_MODEL_NAME | Call by reference | Type reference (TYPE) | RSMRME_C_MODEL | Coupon-Einlösemodell | 20040131 | |||
| 4 | I_T_BREAKPOINTS | Call by reference | Type reference (TYPE) | RSAN_T_STRINGS | Tabelle mit Strings | 20040131 |
Method INITIALIZE on class CL_RSMRM_CORM_TRAIN has no exception.
Method INIT_MKT_ELM_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Fehlerklasse | 20040306 |
Method INIT_MKT_ELM_LIST on class CL_RSMRM_CORM_TRAIN has no exception.
Method LOAD_MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Fehlerklasse | 20040131 | |||
| 2 | I_MODEL_NAME | Call by reference | Type reference (TYPE) | RSMRME_C_MODEL | Coupon-Einlösemodell | 20040131 |
Method LOAD_MODEL on class CL_RSMRM_CORM_TRAIN has no exception.
Method RELEASE_RESOURCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_MSG | Call by reference | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Fehlerklasse | 20040225 |
Method RELEASE_RESOURCES on class CL_RSMRM_CORM_TRAIN has no exception.
Method ROLLBACK Signature
Method ROLLBACK on class CL_RSMRM_CORM_TRAIN has no parameter.
Method ROLLBACK on class CL_RSMRM_CORM_TRAIN has no exception.
Method RP_ON_CLASS_CHANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_RP_CURVE_HDR | Call by reference | Type reference (TYPE) | RSMRMT_C_RP_HEAD | Coupon-Modellergebnisse -> Einlösephase-Kurven - Kopf | 20040309 | |||
| 2 | C_T_RP_CURVE_DET | Call by reference | Type reference (TYPE) | RSMRMTT_C_RP_CURVE_DET | Einlöse-Ergebnisse: Kurvendetails | 20040309 | |||
| 3 | E_R_MSG | Call by reference | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Fehlerklasse | 20040309 | |||
| 4 | I_CLS | Call by reference | Type reference (TYPE) | RSMRME_C_COUPON_CLASS | Coupon-Klasse | 20040309 | |||
| 5 | I_MAX_RP | Call by reference | Type reference (TYPE) | RSMRME_C_REDEEM_PERIOD | Einlösephase | 20040309 | |||
| 6 | I_T_COUPON_DATA | Call by reference | Type reference (TYPE) | RSMRC_T_COUPON | 20040309 |
Method RP_ON_CLASS_CHANGE on class CL_RSMRM_CORM_TRAIN has no exception.
Method RP_ON_COUPON_CHANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_MAX_RP | Call by reference | Type reference (TYPE) | RSMRME_C_REDEEM_PERIOD | Einlösephase | 20040308 | |||
| 2 | C_S_RP_CURVE_HDR | Call by reference | Type reference (TYPE) | RSMRMT_C_RP_HEAD | Coupon-Modellergebnisse -> Einlösephase-Kurven - Kopf | 20040308 | |||
| 3 | C_T_COUPON_DATA | Call by reference | Type reference (TYPE) | RSMRC_T_COUPON | Coupon-Daten | 20040308 | |||
| 4 | C_T_RP_CURVE_DET | Call by reference | Type reference (TYPE) | RSMRMTT_C_RP_CURVE_DET | Einlöse-Ergebnisse: Kurvendetails | 20040308 | |||
| 5 | E_R_MSG | Call by reference | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Fehlerklasse | 20040308 | |||
| 6 | I_CLS | Call by reference | Type reference (TYPE) | RSMRME_C_COUPON_CLASS | Coupon-Klasse | 20040308 | |||
| 7 | I_REDEM_DATA | Call by reference | Type reference (TYPE) | RSMRMS_C_DS_REDEMPTION_DATA_XT | Angereicherte Einlösedaten | 20040308 | |||
| 8 | I_T_ACTUALS | Call by reference | Type reference (TYPE) | RSMRMTT_C_REDEM_ACTUALS | Einlösezahlen | 20040308 |
Method RP_ON_COUPON_CHANGE on class CL_RSMRM_CORM_TRAIN has no exception.
Method SCHEDULE_TRAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_JOB | Call by reference | Type reference (TYPE) | STRING | 20040130 | ||||
| 2 | E_R_RETURN | Call by reference | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Fehlerklasse | 20040130 | |||
| 3 | IT_BREAKS | Call by reference | Type reference (TYPE) | RSAN_T_STRINGS | Tabelle mit Strings | 20040130 | |||
| 4 | I_MODEL | Call by reference | Type reference (TYPE) | STRING | 20040130 | ||||
| 5 | I_PROMPT | Call by reference | Type reference (TYPE) | BOOLEAN | Boolesche Variable (X=wahr, -=falsch, leer=unbekannt) | 20040130 | |||
| 6 | I_START_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Datum und Zeit, aktuelles (Application-Server-) Datum | 20040130 | |||
| 7 | I_START_TIME | Call by reference | Type reference (TYPE) | SYUZEIT | Datum und Zeit, aktuelle Application-Server-Zeit | 20040130 | |||
| 8 | I_T_JOBPARAMS | Call by reference | Type reference (TYPE) | TBTCSTRT | Beschreibung des Starttermins / Wdh.Periode eines Batch-Jobs | 20040130 |
Method SCHEDULE_TRAIN on class CL_RSMRM_CORM_TRAIN has no exception.
Method START_CALCULATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Rückgabeparameter-Tabelle | 20040225 | |||
| 2 | I_JOBID | Call by reference | Type reference (TYPE) | GUID_32 | GUID in Format "CHAR" in Großbuchstaben | 20040225 | |||
| 3 | I_MODEL | Call by reference | Type reference (TYPE) | RSMRME_C_MODEL | Coupon-Einlösemodell | 20040225 | |||
| 4 | I_T_BREAKPOINTS | Call by reference | Type reference (TYPE) | RSAN_T_STRINGS | Tabelle mit Strings | 20040225 |
Method START_CALCULATION on class CL_RSMRM_CORM_TRAIN has no exception.
Method TRANSFORM_TIME_SERIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Rückgabeparameter-Tabelle | 20040131 |
Method TRANSFORM_TIME_SERIES on class CL_RSMRM_CORM_TRAIN has no exception.
Method WRITE_RESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_MSG | Value transfer | Object reference (TYPE REF TO) | CL_RSMRM_ERROR | Rückgabeparameter-Tabelle | 20040224 |
Method WRITE_RESULTS on class CL_RSMRM_CORM_TRAIN has no exception.
History
| Last changed by/on | SAP | 20141101 |
| SAP Release Created in | 331 |