SAP ABAP Class CL_WRMA_REFDATA (Reference data for RMA cost allocation)
Hierarchy
BI_CONT (Software Component) Business Intelligence Content
   BW-BCT-ISR-RSL (Application Component) Retail Stock Ledger
     RS_WRMA_CAT_RFC (Package) Remote Access to RMA BI data
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20081126
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WCAT_CON_BW Constants for cost allocation 20081128
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WRMA_CON Constants for RMA 20081215
4 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WRMA_REFDATA Reference data for RMA cost allocation 20081117
Properties
Class CL_WRMA_REFDATA  
Short Description Reference data for RMA cost allocation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RS_WRMA_CAT_RFC   Remote Access to RMA BI data 
Created 20081117   SAP 
Last change 20141101    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RSDRC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20081126
2 IF_WCAT_CON_BW Constants for cost allocation 20081128
3 IF_WRMA_CON Constants for RMA 20081215
4 IF_WRMA_REFDATA Reference data for RMA cost allocation 20081117
Friends
Class CL_WRMA_REFDATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_RSDRI_PACKAGESIZE Constant Public Type reference (TYPE) I 100000 Package size for INFOPROV read 20090304
2 MR_MD Instance attribute Private Object reference (TYPE REF TO) CL_WRMA_MD_RFC RFC selection of RMA master data 20090326
3 MS_CTRL_BW Instance attribute Private Type reference (TYPE) WCAT_S_CTRL_BW Control cost allocation 20090202
4 MS_CUST Static Attribute Private Type reference (TYPE) WRMA_CUST General Settings for RMA 20090130
5 M_NEGBALANCE_CUBE_CTRL Instance attribute Private Type reference (TYPE) GTYPE_CUBE_CTRL Control for negative balance data cube 20090130
6 M_REFDATA_CUBE_CTRL Instance attribute Private Type reference (TYPE) GTYPE_CUBE_CTRL Control for reference data cube 20090130
7 M_REFPLT Instance attribute Private Type reference (TYPE) WRMA_DE_REFPLT RMA Reference Store 20090202
8 M_WCAT_GET_ALLOCATION_DATA Instance attribute Private Object reference (TYPE REF TO) WCAT_GET_ALLOCATION_DATA Allocation BAdI 20090202
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_OBJECT_CHARACTERISTICS Instance method Public Method Check whether object-related characteristics are in cube 20091006
2 CLASS_CONSTRUCTOR Static method Public Constructor Class constructor 20090128
3 CONSTRUCTOR Instance method Public Constructor Constructor 20081128
4 GET_TARGET_SITES Instance method Public Method 20081216
5 READ_REFDATA Instance method Public Method 20081216
6 RESET_MISSING_ASSORTMENTS Instance method Public Method Reset reference data without assortment to zero 20090402
7 RESET_NEG_BALANCES Instance method Public Method Reset negative balances to zero 20090324
8 _BUILD_CUBE_CTRL Instance method Private Method Build control for access to cube data 20090130
9 _BUILD_RANGES Instance method Private Method Build ranges for characteristics (and valid. slice of stock) 20090130
10 _CALCULATE_REFTOTALS Instance method Private Method Calculate totals of reference data 20090130
11 _CHECK_ASSORTMENT Instance method Private Method Check if node of article hierarchy is in assortment of site 20090203
12 _CHECK_NEG_BALANCES Instance method Private Method Check negative balances 20090130
13 _CHECK_SITE_BLOCKS Instance method Private Method Check blocks and opening data of stores 20090203
14 _EXECUTE_READ Instance method Private Method Read data of reference or balance check cube 20090130
15 _MAP_IOBJS_TO_FIELDS Instance method Private Method Map info object names -> field names 20081202
16 _SPECIALIZE_MAPPING Instance method Private Method Specialize field mapping for single cost allocation request 20090128
17 _TRANSFORM_RESULTS Instance method Private Method Map result data back to transfer structure 20081201
18 __COMPARE_OBJECTLEVELS Instance method Private Method compare levels of target inventory and RMA calculation 20090128
19 __CONVERT_CURRENCY Instance method Private Method Convert reference data to single currency if necessary 20090304
20 __CONVERT_UNIT Instance method Private Method Convert reference data to single unit if necessary 20090316
21 __ENHANCE_REFSEL Instance method Private Method Enhance selections transferred from outside 20090225
22 __MAP_FIELDS_TO_IOBJS Instance method Private Method Map transfer structure to BI info objects 20090202
23 ___FIND_IOBJS_IN_CUBE Instance method Private Method Identify info objects (directly or indirectly) in cube 20090223
Events
Class CL_WRMA_REFDATA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTYPE_CUBE_CTRL Private See coding Control parameters for selection of cube data 20090130 BEGIN OF gtype_cube_ctrl, cube_name TYPE rsinfoprov, acc_chanm TYPE rschanm, kyfnm1 TYPE rskyfnm, kyfnm2 TYPE rskyfnm, is_stock TYPE xfeld, ncumtim TYPE rsncumtim, validfrom TYPE validitydate, validto TYPE validitydate, cube_strukname TYPE strukname, uninm TYPE rsuninm, kyftp TYPE rskyftp, t_fieldmap TYPE wcat_fieldmap_tt, t_fieldmap_ext TYPE wcat_fieldmap_ext_tt, is_object_required TYPE xfeld, th_sfc TYPE rsdri_th_sfc, th_sfc_gen TYPE rsdri_th_sfc, th_sfk TYPE rsdri_th_sfk, tr_refdata TYPE REF TO data, tr_refdata_agg TYPE REF TO data, END OF gtype_cube_ctrl
2 GTYPE_CUBE_IOBJ_MAP Private See coding Map required base characteristic to attribute in cube 20090223 BEGIN OF gtype_cube_iobj_map, iobjnm TYPE rsiobjnm, cube_iobjnm TYPE rsiobjnm, chaalias TYPE rsalias, END OF gtype_cube_iobj_map
3 GTYPE_S_CUBE_IOBJ_EXT Private See coding Info objects in cube, extended by base characteristic 20090223 BEGIN OF gtype_s_cube_iobj_ext. INCLUDE TYPE rsd_s_cube_iobj. TYPES: chabasnm TYPE rschabasnm, END OF gtype_s_cube_iobj_ext
4 GTYPE_TH_CUBE_IOBJ_MAP Private See coding Map required base characteristic to attribute in cube (tab.) 20090223 gtype_th_cube_iobj_map TYPE HASHED TABLE OF gtype_cube_iobj_map WITH UNIQUE KEY iobjnm
5 GTYPE_T_CUBE_IOBJ_EXT Private See coding Info objects in cube, extended by base characteristic (tab.) 20090223 gtype_t_cube_iobj_ext TYPE SORTED TABLE OF gtype_s_cube_iobj_ext WITH NON-UNIQUE KEY chabasnm
Method Signatures

Method CHECK_OBJECT_CHARACTERISTICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BUKRS Call by reference Type reference (TYPE) WRMA_TT_COMPCODESEL_BW Selection of company codes for RMA cost allocation (table) 20091006
# Exception Resumable Description Created on
1 CX_RSD_IOBJ_NOT_FOUND InfoObject Not Found 20091006
2 CX_WRMA_COMPCODE Exception Class for CL_WRMA_COMPCODE 20091006
3 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20091006

Method CLASS_CONSTRUCTOR Signature

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

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CTRL Call by reference Type reference (TYPE) WCAT_S_CTRL_BW Control cost allocation 20081128
# Exception Resumable Description Created on
1 /RTF/CX_TIME Exception Class for /RTF/CL_TIME 20090317
2 CX_RSD_IOBJ_NOT_FOUND InfoObject Not Found 20081128
3 CX_WRMA_CUST Exception Class for CL_WRMA_TABLE 20090130
4 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20081128

Method GET_TARGET_SITES Signature

Method GET_TARGET_SITES on class CL_WRMA_REFDATA has no parameter.
Method GET_TARGET_SITES on class CL_WRMA_REFDATA has no exception.

Method READ_REFDATA Signature

Method READ_REFDATA on class CL_WRMA_REFDATA has no parameter.
Method READ_REFDATA on class CL_WRMA_REFDATA has no exception.

Method RESET_MISSING_ASSORTMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_REFDATA Call by reference Type reference (TYPE) WRMA_S_REFDATA_BW_TT Reference data for cost allocation (table) 20090402
2 Importing IS_CTRL Call by reference Type reference (TYPE) WCAT_S_CTRL_BW Control cost allocation 20090402
# Exception Resumable Description Created on
1 /RTF/CX_ASORT Exception Class for /RTF/CL_ASORT 20090402
2 /RTF/CX_MATPLANT Exception Class for /RTF/CL_MATPLANT 20090402
3 /RTF/CX_TIME Exception Class for /RTF/CL_TIME 20090402
4 CX_RSD_IOBJ_NOT_FOUND InfoObject Not Found 20090402
5 CX_WRMA_COMPCODE Exception Class for CL_WRMA_COMPCODE 20090402
6 CX_WRMA_CUST Exception Class for CL_WRMA_TABLE 20090402
7 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090402

Method RESET_NEG_BALANCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_REFDATA Call by reference Type reference (TYPE) WRMA_S_REFDATA_BW_TT Reference data for cost allocation (table) 20090324
2 Importing IT_REFSEL Call by reference Type reference (TYPE) WRMA_S_REFSEL_BW_TT Selection of reference data for RMA cost allocation (table) 20090324
# Exception Resumable Description Created on
1 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090324

Method _BUILD_CUBE_CTRL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CUBE_CTRL Call by reference Type reference (TYPE) GTYPE_CUBE_CTRL Control parameters for selection of cube data 20090130
2 Importing IS_CTRL_CUST Call by reference Type reference (TYPE) WRMA_S_CAT_CUBE_CUST Common customizing for access to cube data 20090130
# Exception Resumable Description Created on
1 /RTF/CX_TIME Exception Class for /RTF/CL_TIME 20090225
2 CX_RSD_IOBJ_NOT_FOUND InfoObject Not Found 20090130
3 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090130

Method _BUILD_RANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CUBE_CTRL Call by reference Type reference (TYPE) GTYPE_CUBE_CTRL Control parameters for selection of cube data 20090317
2 Exporting ET_RANGE Call by reference Type reference (TYPE) RSDRI_T_RANGE BW Data Manager: Range List 20090130
3 Exporting ET_RTIME Call by reference Type reference (TYPE) RSDRI_T_RTIME BW Data Manager: Table of Intervals for Non-cumulatives 20090130
4 Importing IS_CTRL_CUST Call by reference Type reference (TYPE) WRMA_S_CAT_CUBE_CUST Common customizing for access to cube data 20090130
5 Importing IS_REFSEL Call by reference Type reference (TYPE) WRMA_S_REFSEL_BW Selection of reference data for RMA cost allocation 20090130
# Exception Resumable Description Created on
1 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090130

Method _CALCULATE_REFTOTALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_REFTOTALS Call by reference Type reference (TYPE) WCAT_S_REFTOTALS Totals of reference data for cost allocation 20090130
2 Importing IT_REFDATA Call by reference Type reference (TYPE) WRMA_S_REFDATA_BW_TT Reference data for cost allocation (table) 20090130

Method _CALCULATE_REFTOTALS on class CL_WRMA_REFDATA has no exception.

Method _CHECK_ASSORTMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NO_ASSORTMENT Call by reference Type reference (TYPE) XFELD No active assortment found 20090203
2 Importing IS_REFDATA_EXT Call by reference Type reference (TYPE) WRMA_S_REFDATA_EXT Extended reference data 20090203
# Exception Resumable Description Created on
1 /RTF/CX_ASORT Exception Class for /RTF/CL_ASORT 20090203
2 /RTF/CX_MATPLANT Exception Class for /RTF/CL_MATPLANT 20090203
3 CX_WRMA_COMPCODE Exception Class for CL_WRMA_COMPCODE 20090203
4 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090203

Method _CHECK_NEG_BALANCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing ET_REFDATA Call by reference Type reference (TYPE) WRMA_S_REFDATA_BW_TT Reference data for cost allocation (table) 20090130
2 Importing IT_REFSEL Call by reference Type reference (TYPE) WRMA_S_REFSEL_BW_TT Selection of reference data for RMA cost allocation (table) 20090130
# Exception Resumable Description Created on
1 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090130

Method _CHECK_SITE_BLOCKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PLANT Call by reference Type reference (TYPE) /RTF/_T_PLANT_STANDARD Trade Found.: Table Type (Standard) for InfoObject 0PLANT 20090203

Method _CHECK_SITE_BLOCKS on class CL_WRMA_REFDATA has no exception.

Method _EXECUTE_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CUBE_CTRL Call by reference Type reference (TYPE) GTYPE_CUBE_CTRL Control parameters for selection of cube data 20090202
2 Exporting ET_REFDATA Call by reference Type reference (TYPE) WRMA_S_REFDATA_BW_TT Reference data for cost allocation (table) 20090130
3 Importing IS_CTRL_CUST Call by reference Type reference (TYPE) WRMA_S_CAT_CUBE_CUST Common customizing for access to cube data 20090130
4 Importing IT_REFSEL Call by reference Type reference (TYPE) WRMA_S_REFSEL_BW_TT Selection of reference data for RMA cost allocation (table) 20090130
# Exception Resumable Description Created on
1 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090130

Method _MAP_IOBJS_TO_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_REFDATA_EXT Call by reference Type reference (TYPE) WRMA_S_REFDATA_EXT Extended reference data 20081202
2 Importing IS_CUBE_CTRL Call by reference Type reference (TYPE) GTYPE_CUBE_CTRL Control parameters for selection of cube data 20090130
3 Importing IS_REFDATA Call by reference Type reference (TYPE) ANY 20081202

Method _MAP_IOBJS_TO_FIELDS on class CL_WRMA_REFDATA has no exception.

Method _SPECIALIZE_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CUBE_CTRL Call by reference Type reference (TYPE) GTYPE_CUBE_CTRL Control parameters for selection of cube data 20090202
2 Importing IS_REFSEL Call by reference Type reference (TYPE) WRMA_S_REFSEL_BW Selection of reference data for RMA cost allocation 20090128
# Exception Resumable Description Created on
1 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090128

Method _TRANSFORM_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_REFDATA Call by reference Type reference (TYPE) WRMA_S_REFDATA_BW_TT Reference data for cost allocation (table) 20081201
2 Importing IS_CUBE_CTRL Call by reference Type reference (TYPE) GTYPE_CUBE_CTRL Control parameters for selection of cube data 20090130
3 Importing IT_REFSEL Call by reference Type reference (TYPE) WRMA_S_REFSEL_BW_TT Selection of reference data for RMA cost allocation (table) 20090326
# Exception Resumable Description Created on
1 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20081201

Method __COMPARE_OBJECTLEVELS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TG_IS_HIGHER Call by reference Type reference (TYPE) XFELD Flag: Target level is higher 20090128
2 Importing I_RMA_OBJLEV Call by reference Type reference (TYPE) WRMA_OBJECTLEV Object Levels 20090128
3 Importing I_TG_OBJLEV Call by reference Type reference (TYPE) WRMA_OBJECTLEV Object Levels 20090128

Method __COMPARE_OBJECTLEVELS on class CL_WRMA_REFDATA has no exception.

Method __CONVERT_CURRENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_REFDATA Call by reference Type reference (TYPE) WRMA_S_REFDATA_BW Reference data for cost allocation 20090304
2 Importing I_WAERS Call by reference Type reference (TYPE) WAERS Currency Key 20090304
# Exception Resumable Description Created on
1 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090304

Method __CONVERT_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_REFDATA Call by reference Type reference (TYPE) WRMA_S_REFDATA_BW Reference data for cost allocation 20090316
2 Importing I_MEINS Call by reference Type reference (TYPE) MEINS Currency Key 20090316
# Exception Resumable Description Created on
1 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090316

Method __ENHANCE_REFSEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CUBE_CTRL Call by reference Type reference (TYPE) GTYPE_CUBE_CTRL Control parameters for selection of cube data 20090428
2 Changing CS_REFSEL Call by reference Type reference (TYPE) WRMA_S_REFSEL_BW Selection of reference data for RMA cost allocation 20090225
# Exception Resumable Description Created on
1 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090225

Method __MAP_FIELDS_TO_IOBJS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CUBE_CTRL Call by reference Type reference (TYPE) GTYPE_CUBE_CTRL Control parameters for selection of cube data 20090202
# Exception Resumable Description Created on
1 CX_RSD_IOBJ_NOT_FOUND InfoObject Not Found 20090223
2 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090223

Method ___FIND_IOBJS_IN_CUBE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CUBE_CTRL Call by reference Type reference (TYPE) GTYPE_CUBE_CTRL Control parameters for selection of cube data 20090223
2 Importing I_STEP Call by reference Type reference (TYPE) CHAR1 '1': Basic; '2': Object information 20090428
# Exception Resumable Description Created on
1 CX_RSD_IOBJ_NOT_FOUND InfoObject Not Found 20090223
2 CX_WRMA_REFDATA Exceptions fro CL_WRMA_REFDATA 20090223
History
Last changed by/on SAP  20141101 
SAP Release Created in 705