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 SR_CO Static Attribute Protected Object reference (TYPE REF TO) CL_WRF_RPR_CONST Constant Class Reference 20050309
2 SR_PROMO_STORAGE Static Attribute Private Object reference (TYPE REF TO) CL_WRF_RPR_PROMO_STORAGE Singleton Instance 20050311
3 ST_WANTED_TABLES 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 BUILD_WANTED_TABLE Static method Private Method Construct Tables for Calling a Promotion from the Archive 20050405
2 CHECK_PROMO_NUMBER Static method Private Method Check if Promotion Number is Correct Acc. to Customizing 20060208
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20050309
4 GET_INSTANCE Static method Public Method Return Singleton Instance 20050311
5 LOAD_FROM_ARCHIVE Static method Private Method Load Promotion from Archive 20050405
6 LOAD_FROM_DB Static method Private Method Load Promotion from Database 20050405
7 MAP_ARCHIVE_TO_TABLES Static method Private Method Copy Data from archive into Promotion Structures 20050405
8 RAISE_PROMO_DATA_INVALID 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 Importing IS_HEADER Call by reference Type reference (TYPE) WAKHD Screen field string for promotion header data 20060208
2 Importing I_PROMO_NUMBER_DB Call by reference Type reference (TYPE) WAKHD-AKTNR Aktion 20060208
# Exception Resumable Description Created on
1 CX_WRF_RPR_PROMO_DATA_INVALID 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 Returning 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 Exporting ES_HEADER Call by reference Type reference (TYPE) WAKHD Dynprofeldleiste für Aktionskopfdaten 20050519
2 Exporting ET_ARTICLEPLANTS Call by reference Type reference (TYPE) WALED_TAB Tabellentyp zur Struktur WALED 20050519
3 Exporting ET_ARTICLES Call by reference Type reference (TYPE) WAKPD_TAB Tabellentyp zur WAKPD 20050519
4 Exporting ET_PLANTGROUPS Call by reference Type reference (TYPE) WAGUD_TAB Tabellentyp zur WAGUD 20050519
5 Exporting ET_PLANTS Call by reference Type reference (TYPE) WRF_RPR_WAPLD_TTY Tabellentyp zur Dynprostruktur WRF_RPR_WAPLD 20050519
6 Exporting ET_PROMO_DESCRIPTION Call by reference Type reference (TYPE) WAKTD_TAB Tabellentyp zur Struktur WAKTD 20050519
7 Exporting ET_PROMO_DISCOUNTS Call by reference Type reference (TYPE) WAKRWD_TAB Tabellentyp zur Struktur WAKRWD 20050519
8 Exporting ET_PROMO_DISCOUNTS_GEN Call by reference Type reference (TYPE) WAKRD_TAB Tabellentyp zur Struktur WAKRD 20050519
9 Exporting ET_THEMES Call by reference Type reference (TYPE) WAZTD_TAB Tabellentyp zur WAZTD 20050519
10 Importing I_PROMO_NUMBER Call by reference Type reference (TYPE) WAKTION Action 20050519
# Exception Resumable Description Created on
1 CX_WRF_RPR_CUSTOMIZING_ERROR 20050531
2 CX_WRF_RPR_PROMO_DATA_INVALID 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 Exporting ES_HEADER Call by reference Type reference (TYPE) WAKHD 20050519
2 Exporting ET_ARTICLEPLANTS Call by reference Type reference (TYPE) WALED_TAB 20050519
3 Exporting ET_ARTICLES Call by reference Type reference (TYPE) WAKPD_TAB 20050519
4 Exporting ET_PLANTGROUPS Call by reference Type reference (TYPE) WAGUD_TAB 20050519
5 Exporting ET_PLANTS Call by reference Type reference (TYPE) WRF_RPR_WAPLD_TTY 20050519
6 Exporting ET_PROMO_DESCRIPTION Call by reference Type reference (TYPE) WAKTD_TAB 20050519
7 Exporting ET_PROMO_DISCOUNTS Call by reference Type reference (TYPE) WAKRWD_TAB 20050519
8 Exporting ET_PROMO_DISCOUNTS_GEN Call by reference Type reference (TYPE) WAKRD_TAB 20050519
9 Exporting ET_THEMES Call by reference Type reference (TYPE) WAZTD_TAB 20050519
10 Importing I_PROMO_NUMBER Call by reference Type reference (TYPE) WAKTION Action 20050519
# Exception Resumable Description Created on
1 CX_WRF_RPR_AUTHORITY_ERROR Keine Berechtigung 20050405
2 CX_WRF_RPR_INTERNAL_ERROR Interner Fehler 20050405
3 CX_WRF_RPR_PROMO_DATA_INVALID 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 Exporting ES_HEADER Call by reference Type reference (TYPE) WAKHD Dynprofeldleiste für Aktionskopfdaten 20050519
2 Exporting ET_ARTICLEPLANTS Call by reference Type reference (TYPE) WALED_TAB Tabellentyp zur Struktur WALED 20050519
3 Exporting ET_ARTICLES Call by reference Type reference (TYPE) WAKPD_TAB Tabellentyp zur WAKPD 20050519
4 Exporting ET_PLANTGROUPS Call by reference Type reference (TYPE) WAGUD_TAB Tabellentyp zur WAGUD 20050519
5 Exporting ET_PLANTS Call by reference Type reference (TYPE) WRF_RPR_WAPLD_TTY Tabellentyp zur Dynprostruktur WRF_RPR_WAPLD 20050519
6 Exporting ET_PROMO_DESCRIPTION Call by reference Type reference (TYPE) WAKTD_TAB Tabellentyp zur Struktur WAKTD 20050519
7 Exporting ET_PROMO_DISCOUNTS Call by reference Type reference (TYPE) WAKRWD_TAB Tabellentyp zur Struktur WAKRWD 20050519
8 Exporting ET_PROMO_DISCOUNTS_GEN Call by reference Type reference (TYPE) WAKRD_TAB Tabellentyp zur Struktur WAKRD 20050519
9 Exporting ET_THEMES Call by reference Type reference (TYPE) WAZTD_TAB Tabellentyp zur WAZTD 20050519
10 Importing 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 Importing IS_MESSAGE Call by reference Type reference (TYPE) BAL_S_MSG Application Log: Message Data 20060208
2 Importing IT_MESSAGES Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20060208
3 Importing I_MESSAGE Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20060208
4 Importing I_MESSAGE_CLASS Call by reference Type reference (TYPE) SYMSGID Message Class 20060208
5 Importing I_MESSAGE_TYPE Call by reference Type reference (TYPE) SYMSGTY Message Type 20060208
6 Importing I_VAR1 Call by reference Type reference (TYPE) ANY Nachrichtenvariable 20060208
7 Importing I_VAR2 Call by reference Type reference (TYPE) ANY Nachrichtenvariable 20060208
# Exception Resumable Description Created on
1 CX_WRF_RPR_PROMO_DATA_INVALID Operation not allowed 20060208
History
Last changed by/on SAP  20060703 
SAP Release Created in 600