SAP ABAP Class CL_WRF_RPR_PROMO_STORAGE (Saving Promotion in Database Class)
Hierarchy
☛
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
⤷
LO-MD-PR (Application Component) Promotion
⤷
WRF_RPR_PROMO_PPW (Package) Additional Functions for the PPD Promotions
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_WRF_RPR_PROMO_STORAGE | Save Promotion to Database Interface | 20050311 |
Properties
| Class | CL_WRF_RPR_PROMO_STORAGE | |
| Short Description | Saving Promotion in Database Class | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WRF_RPR_PROMO_PPW | Additional Functions for the PPD Promotions |
| Created | 20050309 | SAP |
| Last change | 20060703 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WRF_RPR_PROMO_STORAGE has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_WRF_RPR_PROMO_STORAGE | Save Promotion to Database Interface | 20050311 |
Friends
Class CL_WRF_RPR_PROMO_STORAGE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_WRF_RPR_CONST | Constant Class Reference | 20050309 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WRF_RPR_PROMO_STORAGE | Singleton Instance | 20050311 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | WANTED_TABLES_TTY | Tables Used for Calling a Promotion from the Archive | 20050405 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Construct Tables for Calling a Promotion from the Archive | 20050405 | |
| 2 | Static method | Private | Method | Check if Promotion Number is Correct Acc. to Customizing | 20060208 | |
| 3 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20050309 | |
| 4 | Static method | Public | Method | Return Singleton Instance | 20050311 | |
| 5 | Static method | Private | Method | Load Promotion from Archive | 20050405 | |
| 6 | Static method | Private | Method | Load Promotion from Database | 20050405 | |
| 7 | Static method | Private | Method | Copy Data from archive into Promotion Structures | 20050405 | |
| 8 | Static method | Private | Method | Generate Exception CX_WRF_RPR_PROMO_DATA_INVALID | 20060208 |
Events
Class CL_WRF_RPR_PROMO_STORAGE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | SEL_STY | Private | See coding | 20050405 | BEGIN OF sel_sty,
aktnr type wakh-aktnr,
END OF sel_sty
|
||
| 2 | WANTED_TABLES_STY | Private | See coding | 20050405 | BEGIN OF wanted_tables_sty,
tabname TYPE dd02v-tabname,
table TYPE REF TO data,
END OF wanted_tables_sty
|
||
| 3 | WANTED_TABLES_TTY | Private | See coding | 20050405 | wanted_tables_tty TYPE STANDARD TABLE OF wanted_tables_sty
|
Method Signatures
Method BUILD_WANTED_TABLE Signature
Method BUILD_WANTED_TABLE on class CL_WRF_RPR_PROMO_STORAGE has no parameter.
Method BUILD_WANTED_TABLE on class CL_WRF_RPR_PROMO_STORAGE has no exception.
Method CHECK_PROMO_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_HEADER | Call by reference | Type reference (TYPE) | WAKHD | Screen field string for promotion header data | 20060208 | |||
| 2 | I_PROMO_NUMBER_DB | Call by reference | Type reference (TYPE) | WAKHD-AKTNR | Aktion | 20060208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Abbruch der Aktion | 20060208 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WRF_RPR_PROMO_STORAGE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WRF_RPR_PROMO_STORAGE has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_PROMO_STORAGE | Value transfer | Object reference (TYPE REF TO) | IF_WRF_RPR_PROMO_STORAGE | Retail promotion interface | 20050311 |
Method GET_INSTANCE on class CL_WRF_RPR_PROMO_STORAGE has no exception.
Method LOAD_FROM_ARCHIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_HEADER | Call by reference | Type reference (TYPE) | WAKHD | Dynprofeldleiste für Aktionskopfdaten | 20050519 | |||
| 2 | ET_ARTICLEPLANTS | Call by reference | Type reference (TYPE) | WALED_TAB | Tabellentyp zur Struktur WALED | 20050519 | |||
| 3 | ET_ARTICLES | Call by reference | Type reference (TYPE) | WAKPD_TAB | Tabellentyp zur WAKPD | 20050519 | |||
| 4 | ET_PLANTGROUPS | Call by reference | Type reference (TYPE) | WAGUD_TAB | Tabellentyp zur WAGUD | 20050519 | |||
| 5 | ET_PLANTS | Call by reference | Type reference (TYPE) | WRF_RPR_WAPLD_TTY | Tabellentyp zur Dynprostruktur WRF_RPR_WAPLD | 20050519 | |||
| 6 | ET_PROMO_DESCRIPTION | Call by reference | Type reference (TYPE) | WAKTD_TAB | Tabellentyp zur Struktur WAKTD | 20050519 | |||
| 7 | ET_PROMO_DISCOUNTS | Call by reference | Type reference (TYPE) | WAKRWD_TAB | Tabellentyp zur Struktur WAKRWD | 20050519 | |||
| 8 | ET_PROMO_DISCOUNTS_GEN | Call by reference | Type reference (TYPE) | WAKRD_TAB | Tabellentyp zur Struktur WAKRD | 20050519 | |||
| 9 | ET_THEMES | Call by reference | Type reference (TYPE) | WAZTD_TAB | Tabellentyp zur WAZTD | 20050519 | |||
| 10 | I_PROMO_NUMBER | Call by reference | Type reference (TYPE) | WAKTION | Action | 20050519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050531 | |||
| 2 | Promotion data is not valid | 20050405 |
Method LOAD_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_HEADER | Call by reference | Type reference (TYPE) | WAKHD | 20050519 | ||||
| 2 | ET_ARTICLEPLANTS | Call by reference | Type reference (TYPE) | WALED_TAB | 20050519 | ||||
| 3 | ET_ARTICLES | Call by reference | Type reference (TYPE) | WAKPD_TAB | 20050519 | ||||
| 4 | ET_PLANTGROUPS | Call by reference | Type reference (TYPE) | WAGUD_TAB | 20050519 | ||||
| 5 | ET_PLANTS | Call by reference | Type reference (TYPE) | WRF_RPR_WAPLD_TTY | 20050519 | ||||
| 6 | ET_PROMO_DESCRIPTION | Call by reference | Type reference (TYPE) | WAKTD_TAB | 20050519 | ||||
| 7 | ET_PROMO_DISCOUNTS | Call by reference | Type reference (TYPE) | WAKRWD_TAB | 20050519 | ||||
| 8 | ET_PROMO_DISCOUNTS_GEN | Call by reference | Type reference (TYPE) | WAKRD_TAB | 20050519 | ||||
| 9 | ET_THEMES | Call by reference | Type reference (TYPE) | WAZTD_TAB | 20050519 | ||||
| 10 | I_PROMO_NUMBER | Call by reference | Type reference (TYPE) | WAKTION | Action | 20050519 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Berechtigung | 20050405 | ||
| 2 | Interner Fehler | 20050405 | ||
| 3 | Promotion data is not valid | 20050405 |
Method MAP_ARCHIVE_TO_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_HEADER | Call by reference | Type reference (TYPE) | WAKHD | Dynprofeldleiste für Aktionskopfdaten | 20050519 | |||
| 2 | ET_ARTICLEPLANTS | Call by reference | Type reference (TYPE) | WALED_TAB | Tabellentyp zur Struktur WALED | 20050519 | |||
| 3 | ET_ARTICLES | Call by reference | Type reference (TYPE) | WAKPD_TAB | Tabellentyp zur WAKPD | 20050519 | |||
| 4 | ET_PLANTGROUPS | Call by reference | Type reference (TYPE) | WAGUD_TAB | Tabellentyp zur WAGUD | 20050519 | |||
| 5 | ET_PLANTS | Call by reference | Type reference (TYPE) | WRF_RPR_WAPLD_TTY | Tabellentyp zur Dynprostruktur WRF_RPR_WAPLD | 20050519 | |||
| 6 | ET_PROMO_DESCRIPTION | Call by reference | Type reference (TYPE) | WAKTD_TAB | Tabellentyp zur Struktur WAKTD | 20050519 | |||
| 7 | ET_PROMO_DISCOUNTS | Call by reference | Type reference (TYPE) | WAKRWD_TAB | Tabellentyp zur Struktur WAKRWD | 20050519 | |||
| 8 | ET_PROMO_DISCOUNTS_GEN | Call by reference | Type reference (TYPE) | WAKRD_TAB | Tabellentyp zur Struktur WAKRD | 20050519 | |||
| 9 | ET_THEMES | Call by reference | Type reference (TYPE) | WAZTD_TAB | Tabellentyp zur WAZTD | 20050519 | |||
| 10 | IT_EXTRACTED_TABLES | Call by reference | Type reference (TYPE) | WANTED_TABLES_TTY | 20050405 |
Method MAP_ARCHIVE_TO_TABLES on class CL_WRF_RPR_PROMO_STORAGE has no exception.
Method RAISE_PROMO_DATA_INVALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MESSAGE | Call by reference | Type reference (TYPE) | BAL_S_MSG | Application Log: Message Data | 20060208 | |||
| 2 | IT_MESSAGES | Call by reference | Type reference (TYPE) | BAL_T_MSG | Application Log: Table with Messages | 20060208 | |||
| 3 | I_MESSAGE | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichtennummer | 20060208 | |||
| 4 | I_MESSAGE_CLASS | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20060208 | |||
| 5 | I_MESSAGE_TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20060208 | |||
| 6 | I_VAR1 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20060208 | |||
| 7 | I_VAR2 | Call by reference | Type reference (TYPE) | ANY | Nachrichtenvariable | 20060208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operation not allowed | 20060208 |
History
| Last changed by/on | SAP | 20060703 |
| SAP Release Created in | 600 |