SAP ABAP Class CL_BR_MAT_LEDGER (Class for Parallel Stock Valuation in Mat. Ledger)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-LOC-BR (Application Component) Brazil
     J1BA (Package) Localization Brazil
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BR_MAT_LEDGER Interface for Parallel Stock Valuation in Mat. Ledger 20120313
Properties
Class CL_BR_MAT_LEDGER  
Short Description Class for Parallel Stock Valuation in Mat. Ledger    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package J1BA   Localization Brazil 
Created 20120124   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_BR_MAT_LEDGER has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_BR_MAT_LEDGER Interface for Parallel Stock Valuation in Mat. Ledger 20120313
Friends
Class CL_BR_MAT_LEDGER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MV_ACC_PRINCIPLE Instance attribute Private Type reference (TYPE) ACCOUNTING_PRINCIPLE Accounting Principle 20120313
2 MV_CURRENCY Instance attribute Private Type reference (TYPE) CURTP Currency Type and Valuation View 20120313
3 MV_ML_PREVIOUS_SUB_PERIOD Instance attribute Private Type reference (TYPE) CK_UNTPER Value Structure Type 20120313
4 MV_ML_SUB_PERIOD Instance attribute Private Type reference (TYPE) CK_UNTPER Value Structure Type 20120313
5 MV_MONTH Instance attribute Private Type reference (TYPE) POPER Posting period 20120313
6 MV_PREVIOUS_MONTH Instance attribute Private Type reference (TYPE) POPER Posting period 20120313
7 MV_PREVIOUS_YEAR Instance attribute Private Type reference (TYPE) GJAHR Fiscal Year 20120313
8 MV_VALUATION_AREA Instance attribute Private Type reference (TYPE) BWKEY Valuation Area 20120313
9 MV_YEAR Instance attribute Private Type reference (TYPE) GJAHR Fiscal Year 20120313
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120313
2 DEFINE_ACC_PRINCIPLE Instance method Private Method Define Accounting Principle 20120313
3 DEFINE_CURRENCY Instance method Private Method Define the Currency attribute base on Valuation Area 20120313
4 DEFINE_ML_PREVIOUS_SUB_PERIOD Instance method Private Method Define the Material Ledger Previous Sub Period Attribute 20120313
5 DEFINE_ML_SUB_PERIOD Instance method Private Method Define the Material Ledger Sub Period Attribute (UNTPER) 20120313
6 DEFINE_PREVIOUS_PERIOD Instance method Private Method Define Previous Period based on informed Month and Year 20120313
7 GET_ACC_PRINCIPLE Instance method Public Method Get Accounting Principle 20120313
8 GET_MONTH Instance method Public Method Get Month 20120313
9 GET_PREVIOUS_STOCK_VALUE Instance method Public Method 20120313
10 GET_STOCK_VALUE Instance method Public Method 20120313
11 GET_VALUATION_AREA Instance method Public Method Get Valuation Area 20120313
12 GET_YEAR Instance method Public Method Get Year 20120313
13 OBTAIN_ML_PERIOD_VALUES Instance method Private Method Obtain Material Ledger Period Totals Records Values 20120313
14 OBTAIN_STOCK_VALUE Instance method Private Method Obtain Stock Value From Specified Period (Parameters) 20120313
Events
Class CL_BR_MAT_LEDGER has no event.
Types
Class CL_BR_MAT_LEDGER has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACC_PRINCIPLE Call by reference Type reference (TYPE) ACCOUNTING_PRINCIPLE Accounting Principle 20120313
2 Importing IV_MONTH Call by reference Type reference (TYPE) POPER Posting period 20120313
3 Importing IV_VALUATION_AREA Call by reference Type reference (TYPE) BWKEY Valuation Area 20120313
4 Importing IV_YEAR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120313
# Exception Resumable Description Created on
1 CX_BR_MAT_LEDGER Exception class for Parallel Stock Valuation in Mat. Ledger 20120313

Method DEFINE_ACC_PRINCIPLE Signature

Method DEFINE_ACC_PRINCIPLE on class CL_BR_MAT_LEDGER has no parameter.
# Exception Resumable Description Created on
1 CX_BR_MAT_LEDGER Exception class for Parallel Stock Valuation in Mat. Ledger 20120313

Method DEFINE_CURRENCY Signature

Method DEFINE_CURRENCY on class CL_BR_MAT_LEDGER has no parameter.
# Exception Resumable Description Created on
1 CX_BR_MAT_LEDGER Exception class for Parallel Stock Valuation in Mat. Ledger 20120313

Method DEFINE_ML_PREVIOUS_SUB_PERIOD Signature

Method DEFINE_ML_PREVIOUS_SUB_PERIOD on class CL_BR_MAT_LEDGER has no parameter.
# Exception Resumable Description Created on
1 CX_BR_MAT_LEDGER Exception class for Parallel Stock Valuation in Mat. Ledger 20120313

Method DEFINE_ML_SUB_PERIOD Signature

Method DEFINE_ML_SUB_PERIOD on class CL_BR_MAT_LEDGER has no parameter.
# Exception Resumable Description Created on
1 CX_BR_MAT_LEDGER Exception class for Parallel Stock Valuation in Mat. Ledger 20120313

Method DEFINE_PREVIOUS_PERIOD Signature

Method DEFINE_PREVIOUS_PERIOD on class CL_BR_MAT_LEDGER has no parameter.
Method DEFINE_PREVIOUS_PERIOD on class CL_BR_MAT_LEDGER has no exception.

Method GET_ACC_PRINCIPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ACC_PRINCIPLE Value transfer Type reference (TYPE) ACCOUNTING_PRINCIPLE Accounting Principle 20120313

Method GET_ACC_PRINCIPLE on class CL_BR_MAT_LEDGER has no exception.

Method GET_MONTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_MONTH Value transfer Type reference (TYPE) POPER Posting period 20120313

Method GET_MONTH on class CL_BR_MAT_LEDGER has no exception.

Method GET_PREVIOUS_STOCK_VALUE Signature

Method GET_PREVIOUS_STOCK_VALUE on class CL_BR_MAT_LEDGER has no parameter.
Method GET_PREVIOUS_STOCK_VALUE on class CL_BR_MAT_LEDGER has no exception.

Method GET_STOCK_VALUE Signature

Method GET_STOCK_VALUE on class CL_BR_MAT_LEDGER has no parameter.
Method GET_STOCK_VALUE on class CL_BR_MAT_LEDGER has no exception.

Method GET_VALUATION_AREA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_VALUATION_AREA Value transfer Type reference (TYPE) BWKEY Valuation Area 20120313

Method GET_VALUATION_AREA on class CL_BR_MAT_LEDGER has no exception.

Method GET_YEAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_YEAR Value transfer Type reference (TYPE) GJAHR Fiscal Year 20120313

Method GET_YEAR on class CL_BR_MAT_LEDGER has no exception.

Method OBTAIN_ML_PERIOD_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KALNR Value transfer Type reference (TYPE) CK_KALNR Cost Estimate Number for Cost Est. w/o Qty Structure 20120313
2 Importing IV_ML_SUB_PERIOD Call by reference Type reference (TYPE) CK_UNTPER Value Structure Type 20120313
3 Importing IV_MONTH Call by reference Type reference (TYPE) POPER Posting period 20120313
4 Importing IV_YEAR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120313
5 Returning RS_ML_PERIOD_VALUES Value transfer Type reference (TYPE) CKMLCR Material Ledger: Period Totals Records Values 20120313
# Exception Resumable Description Created on
1 CX_BR_MAT_LEDGER Exception class for Parallel Stock Valuation in Mat. Ledger 20120313

Method OBTAIN_STOCK_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_KALNR Call by reference Type reference (TYPE) CK_KALNR Cost Estimate Number for Cost Est. w/o Qty Structure 20120313
2 Importing IV_ML_SUB_PERIOD Call by reference Type reference (TYPE) CK_UNTPER Value Structure Type 20120313
3 Importing IV_MONTH Call by reference Type reference (TYPE) POPER Posting period 20120313
4 Importing IV_YEAR Call by reference Type reference (TYPE) GJAHR Fiscal Year 20120313
5 Returning RV_STOCK_VALUE Value transfer Type reference (TYPE) SALK3 Value of Total Valuated Stock 20120313
# Exception Resumable Description Created on
1 CX_BR_MAT_LEDGER Exception class for Parallel Stock Valuation in Mat. Ledger 20120313
History
Last changed by/on SAP  20130531 
SAP Release Created in