SAP ABAP Class CL_WRMA_TRANSFORM_RMA (Service Class for RMA Calculation)
Hierarchy
BI_CONT (Software Component) Business Intelligence Content
   BW-BCT-ISR (Application Component) Retail and Consumer Goods
     RS_BCT_WRMA (Package) BW: Content IBU Retail - Retail Method of Accounting
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WRMA_CON Constants for RMA 20071213
Properties
Class CL_WRMA_TRANSFORM_RMA  
Short Description Service Class for RMA Calculation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RS_BCT_WRMA   BW: Content IBU Retail - Retail Method of Accounting 
Created 20070709   SAP 
Last change 20141101    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RSTIM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_WRMA_CON Constants for RMA 20071213
Friends
Class CL_WRMA_TRANSFORM_RMA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_AGGRGEN_SUM Instance attribute Private Attribute reference (LIKE) 20090916
2 C_CUSTOM_DISTR Constant Protected Type reference (TYPE) WCAT_DTYPE '3' Distribution Using Customer BAdI Implementation 20090107
3 C_CUSTOM_TARGETS Constant Protected Type reference (TYPE) WRMA_DE_ALLOC '4' RMA Targets for Cost Distribution 20090108
4 C_DSO_0RMA_DS01 Instance attribute Private Attribute reference (LIKE) 20090916
5 C_DSO_0RMA_DS10 Instance attribute Private Attribute reference (LIKE) 20090916
6 C_DSO_BF Constant Protected Type reference (TYPE) RSDODSOBJECT '0RSL_DS51' DataStore Object 20070712
7 C_DSO_DISCOUNT Constant Protected Type reference (TYPE) RSDODSOBJECT '0RT_DS55' DataStore Object 20080111
8 C_DSO_INV Constant Protected Type reference (TYPE) RSDODSOBJECT '0LIV_DS01' DataStore Object 20081121
9 C_DSO_RECASTING Constant Protected Type reference (TYPE) RSDODSOBJECT '0RMA_DS10' DataStore Object 20071204
10 C_DSO_REVAL Constant Protected Type reference (TYPE) RSDODSOBJECT '0RT_DS53' DataStore Object 20070712
11 C_DSO_SALES Constant Protected Type reference (TYPE) RSDODSOBJECT '0RT_DS54' DataStore Object 20070712
12 C_DSO_UM Constant Protected Type reference (TYPE) RSDODSOBJECT '0RT_DS52' DataStore Object 20070712
13 C_INFOPROV_DISTR Constant Protected Type reference (TYPE) WCAT_DTYPE '1' Distribution by way of InfoProvider 20090107
14 C_UNIFORM_DISTR Constant Protected Type reference (TYPE) WCAT_DTYPE '2' Distribution by way of Equal Distribution 20090107
15 DC_INT_VEND Static Attribute Protected Type reference (TYPE) /RTF/DE_DC_INT_VEND IND: Do not Treat Stock Transfer from DC to Store as GR 20080423
16 GR_BADI_DSO Instance attribute Private Object reference (TYPE REF TO) WRMA_DSO Definition of custom DataStore objects for DSO 20100329
17 G_PLANT Static Attribute Private Type reference (TYPE) /RTF/DE_PLANT Plant of Preceding Run 20100326
18 G_REC_PLANT Static Attribute Private Type reference (TYPE) /RTF/DE_PLANT Recasting Plant of Preceding Run 20100326
19 HIER_CHANGES Static Attribute Protected Type reference (TYPE) WRMA_TT_HIER_CHANGE RMA: Hierarchy Changes for Recasting 20091106
20 KSCHL_ACC_CORM Static Attribute Protected Type reference (TYPE) WRMA_KSCHL_ACC Access Condition Type for Bucket CORM 20091106
21 KSCHL_ACC_CORP Static Attribute Protected Type reference (TYPE) WRMA_KSCHL_ACC Access Condition Type for Bucket CORP 20091106
22 LR_BADI Instance attribute Private Object reference (TYPE REF TO) WCAT_GET_ALLOCATION_DATA BAdI Object for RMA CAL 20090219
23 LR_RECAST_BADI Static Attribute Private Object reference (TYPE REF TO) WRMA_RECASTING_OBJECT Recasting of Object-Specific Transactions 20090219
24 O_STRUC_ART Instance attribute Protected Object reference (TYPE REF TO) CL_RSLBCT_SAL_ADJUST Stock Ledger: Change Sales Data to ERP Inventory Management 20071204
25 RECASTING_RUN Instance attribute Private Type reference (TYPE) XFELD Object Generation for Recasting Run? 20090402
26 RMA_PROF Static Attribute Protected Type reference (TYPE) WRMA_DE_RMA_PROF RMA Customizing Profile 20070824
27 RMA_RAW_DATA Static Attribute Private Type reference (TYPE) WRMA_T_RAW_DATA_STANDARD Buffer Data for Recasting of Copy Logic 20100326
28 RMA_RECAST_DATA Static Attribute Private Type reference (TYPE) WRMA_T_RAW_DATA Buffer Data for Check for Hierarchy Changes 20100326
29 R_DS01 Static Attribute Public Object reference (TYPE REF TO) /RTF/CL_DOCUMENT_SERVICE Object for Reading DSO 0RMA_DS01 20090916
30 R_DS10 Static Attribute Public Object reference (TYPE REF TO) /RTF/CL_DOCUMENT_SERVICE Object for Reading DSO 0RMA_DS10 20090915
31 R_RECASTING_CHECK Instance attribute Public Object reference (TYPE REF TO) CL_WRMA_CONSISTENCY_CHECK Check Class for Critical RMA Settings 20091217
32 SOURCE_APPL Static Attribute Protected Type reference (TYPE) /RTF/DE_SOURCE_APPL Source Application 20070709
33 S_PLANT Static Attribute Private Type reference (TYPE) /RTF/_S_PLANT Trade Found.: Structure for IOBJ 0PLANT (Subset) 20090916
34 S_WRMA_TUPDRBWV Instance attribute Protected Type reference (TYPE) WRMA_TUPDRBWV Variable Data Fields for Updating 20081121
35 T_SFC_DS01 Static Attribute Private Type reference (TYPE) RSDRI_TH_SFC BW Data Manager: List of Characteristics 20090916
36 T_SFK_DS01 Static Attribute Private Type reference (TYPE) RSDRI_TH_SFK BW Data Manager: List of Key Figures 20090916
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_RMA_RAW_DATA Instance method Public Method Calculation of RMA Raw Data from Relevant Source Data 20070709
2 CALCULATE_RMA_RAW_DATA_RC Static method Public Method Recasting: Calculation of RMA Raw Data for All Source Data 20071204
3 CHECK_HIERARCHY_CHANGED Static method Private Method Recasting: Check Whether Object Hierarchy Was Changed 20090915
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20090403
5 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070709
6 CREATE_RMA_RAW_DATA Static method Private Method Recasting: Generation of RMA Raw Data from DSO 0RMA_DS01 20090916
7 GET_INITIAL_STOCK Instance method Private Method RMA Raw Data Transformation of Initial Stock 20070709
8 GET_VALUES_AGENCY_BUSINESS Instance method Private Method RMA Raw Data Transformation of Agency Business 20081118
9 GET_VALUES_BF Instance method Private Method RMA Raw Data Transformation of Goods Movements 20070709
10 GET_VALUES_DISCOUNT Instance method Private Method RMA Raw Data Transformation of Additional Sales Variances 20071206
11 GET_VALUES_INVOICE_VERI Instance method Private Method RMA Raw Data Transformation of Invoice Verification 20081117
12 GET_VALUES_REVAL Instance method Private Method RMA Raw Data Transformation of Retail Revaluations 20070709
13 GET_VALUES_SALES Instance method Private Method RMA Raw Data Transformation of Sales Data 20070709
14 GET_VALUES_UM Instance method Private Method RMA Raw Data Transformation of Revaluations 20070709
15 READ_FOUNDATION_DATA_RC Instance method Public Method Recasting: Read Foundation Data for an Application 20071205
Events
Class CL_WRMA_TRANSFORM_RMA has no event.
Types
Class CL_WRMA_TRANSFORM_RMA has no local type.
Method Signatures

Method CALCULATE_RMA_RAW_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) RSPC_S_MSG Rückgabenachricht 20070820
2 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA Tabellentyp der Rohdaten für RMA Engine 20070709
3 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_SOURCE_FIELDS_RMA Struktur der Quellfelder für RMA Engine 20070709
4 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Geschäftsjahresvariante 20071205
5 Importing I_VERSION Call by reference Type reference (TYPE) WRMA_DE_RCLASV RMA Recasting-Version 20071205

Method CALCULATE_RMA_RAW_DATA on class CL_WRMA_TRANSFORM_RMA has no exception.

Method CALCULATE_RMA_RAW_DATA_RC 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) RSPC_S_MSG Rückgabenachricht 20071204
2 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA_STANDARD Tabellentyp der Rohdaten für RMA Engine 20071204
3 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_RAW_DATA_RC Ergebnisfelder des Extraktors zur Datasource 0RT_RMA_03 20071204
4 Importing IT_PLANT_PERIOD_BUFFER Call by reference Type reference (TYPE) WRMA_RT_PERIOD_BUFFER Tabellentyp zum Puffern von Werk/Periode 20121207
# Exception Resumable Description Created on
1 ABORT Abbrechen 20071204

Method CHECK_HIERARCHY_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_HIER_CHANGED Call by reference Type reference (TYPE) XFELD Objekthierarchie wurde geändert (Ja/Nein) 20090915
2 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_RAW_DATA_RC Ergebnisfelder des Extraktors zur Datasource 0RT_RMA_03 20090915
# Exception Resumable Description Created on
1 /RTF/CX_ROOT Wurzelklasse aller /RTF/-Exceptions 20090916

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WRMA_TRANSFORM_RMA has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WRMA_TRANSFORM_RMA has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA_PACKAGE Call by reference Type reference (TYPE) STANDARD TABLE Datenpaket 20071204
2 Importing I_CALL_BADI Call by reference Type reference (TYPE) XFELD '' Ausführung des Badi WRMA_DSO (Default = Nein) 20100329
3 Importing I_RECASTING_RUN Call by reference Type reference (TYPE) XFELD Objekterzeugung für Recasting Lauf? 20090402
4 Importing I_SOURCE_APPL Call by reference Type reference (TYPE) /RTF/DE_SOURCE_APPL Quellanwendung 20070709
# Exception Resumable Description Created on
1 /RTF/CX_ROOT Ausnahmeklasse für CL_WRMA_RECLASSIFY 20071204
2 CX_WRMA_CUST Ausnahmeklasse zu CL_WRMA_TABLE 20071008
3 CX_WRMA_TRANSFORM_RMA Ausnahmeklasse für die RMA Berechnung 20070709

Method CREATE_RMA_RAW_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA_STANDARD Tabellentyp der Rohdaten für RMA Engine 20090916
2 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_RAW_DATA_RC Ergebnisfelder des Extraktors zur Datasource 0RT_RMA_03 20090916
3 Importing IT_PLANT_PERIOD_BUFFER Call by reference Type reference (TYPE) WRMA_RT_PERIOD_BUFFER Tabellentyp zum Puffern von Werk/Periode 20121207
# Exception Resumable Description Created on
1 /RTF/CX_ROOT Wurzelklasse aller /RTF/-Exceptions 20090916

Method GET_INITIAL_STOCK 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) RSPC_S_MSG Rückgabenachricht 20070820
2 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA Tabellentyp der Rohdaten für RMA Engine 20070709
3 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_SOURCE_FIELDS_RMA Struktur der Quellfelder für RMA Engine 20070709

Method GET_INITIAL_STOCK on class CL_WRMA_TRANSFORM_RMA has no exception.

Method GET_VALUES_AGENCY_BUSINESS 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) RSPC_S_MSG Nachricht (endlich mal NUR Nachricht, kein sonstiges Zeugs) 20081118
2 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA Tabellentyp der Rohdaten für RMA Engine 20081118
3 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_SOURCE_FIELDS_RMA Struktur der Quellfelder für RMA Engine 20081118
4 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Geschäftsjahresvariante 20081118
5 Importing I_VERSION Call by reference Type reference (TYPE) WRMA_DE_RCLASV RMA-Recasting-Version 20081118

Method GET_VALUES_AGENCY_BUSINESS on class CL_WRMA_TRANSFORM_RMA has no exception.

Method GET_VALUES_BF 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) RSPC_S_MSG Rückgabenachricht 20070820
2 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA Tabellentyp der Rohdaten für RMA Engine 20070709
3 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_SOURCE_FIELDS_RMA Struktur der Quellfelder für RMA Engine 20070709
4 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Geschäftsjahresvariante 20071205
5 Importing I_VERSION Call by reference Type reference (TYPE) WRMA_DE_RCLASV RMA Recasting-Version 20071205

Method GET_VALUES_BF on class CL_WRMA_TRANSFORM_RMA has no exception.

Method GET_VALUES_DISCOUNT 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) RSPC_S_MSG Rückgabenachricht 20071206
2 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA Tabellentyp der Rohdaten für RMA Engine 20071206
3 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_SOURCE_FIELDS_RMA Struktur der Quellfelder für RMA Engine 20071206
4 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Geschäftsjahresvariante 20071206
5 Importing I_VERSION Call by reference Type reference (TYPE) WRMA_DE_RCLASV RMA Recasting-Version 20071206

Method GET_VALUES_DISCOUNT on class CL_WRMA_TRANSFORM_RMA has no exception.

Method GET_VALUES_INVOICE_VERI 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) RSPC_S_MSG Nachricht (endlich mal NUR Nachricht, kein sonstiges Zeugs) 20081117
2 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA Tabellentyp der Rohdaten für RMA Engine 20081117
3 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_SOURCE_FIELDS_RMA Struktur der Quellfelder für RMA Engine 20081117
4 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Geschäftsjahresvariante 20081117
5 Importing I_VERSION Call by reference Type reference (TYPE) WRMA_DE_RCLASV RMA-Recasting-Version 20081117

Method GET_VALUES_INVOICE_VERI on class CL_WRMA_TRANSFORM_RMA has no exception.

Method GET_VALUES_REVAL 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) RSPC_S_MSG Rückgabenachricht 20070820
2 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA Tabellentyp der Rohdaten für RMA Engine 20070709
3 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_SOURCE_FIELDS_RMA Struktur der Quellfelder für RMA Engine 20070709
4 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Geschäftsjahresvariante 20071205
5 Importing I_VERSION Call by reference Type reference (TYPE) WRMA_DE_RCLASV RMA Recasting-Version 20071205

Method GET_VALUES_REVAL on class CL_WRMA_TRANSFORM_RMA has no exception.

Method GET_VALUES_SALES 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) RSPC_S_MSG Rückgabenachricht 20070820
2 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA Tabellentyp der Rohdaten für RMA Engine 20070709
3 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_SOURCE_FIELDS_RMA Struktur der Quellfelder für RMA Engine 20070709
4 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Geschäftsjahresvariante 20071205
5 Importing I_VERSION Call by reference Type reference (TYPE) WRMA_DE_RCLASV RMA Recasting-Version 20071205

Method GET_VALUES_SALES on class CL_WRMA_TRANSFORM_RMA has no exception.

Method GET_VALUES_UM 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) RSPC_S_MSG Rückgabenachricht 20070820
2 Exporting ET_RMA_RAW_DATA Call by reference Type reference (TYPE) WRMA_T_RAW_DATA Tabellentyp der Rohdaten für RMA Engine 20070709
3 Importing IS_SOURCE_FIELDS Call by reference Type reference (TYPE) WRMA_S_SOURCE_FIELDS_RMA Struktur der Quellfelder für RMA Engine 20070709
4 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Geschäftsjahresvariante 20071205
5 Importing I_VERSION Call by reference Type reference (TYPE) WRMA_DE_RCLASV RMA Recasting-Version 20071205

Method GET_VALUES_UM on class CL_WRMA_TRANSFORM_RMA has no exception.

Method READ_FOUNDATION_DATA_RC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SOURCE_FIELDS_RMA Call by reference Type reference (TYPE) WRMA_T_SOURCE_FIELDS_RMA Tabellentyp zu WRMA_S_SOURCE_FIELDS_RMA 20071205
2 Importing IS_TIME_INT Call by reference Type reference (TYPE) RSTIM_S_TIME_INT Zeitintervall 20071205
3 Importing IT_MATERIAL Call by reference Type reference (TYPE) /RTF/_T_MATERIAL_STANDARD Tabelle von Produkten 20071205
4 Importing I_FISCPER Call by reference Type reference (TYPE) /RTF/DE_FISCPER Geschäftsjahr / Periode 20090216
5 Importing I_FISCVARNT Call by reference Type reference (TYPE) /RTF/DE_FISCVARNT Geschäftsjahresvariante 20090216
6 Importing I_LOCATIO Call by reference Type reference (TYPE) /RTF/DE_PLANT Lokation 20071205
7 Importing I_RMA_OBJECT Call by reference Type reference (TYPE) WRMA_DE_RMA_OBJ RMA Objekt 20081201

Method READ_FOUNDATION_DATA_RC on class CL_WRMA_TRANSFORM_RMA has no exception.
History
Last changed by/on SAP  20141101 
SAP Release Created in 703