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 | Instance attribute | Private | Type reference (TYPE) | ACCOUNTING_PRINCIPLE | Accounting Principle | 20120313 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | CURTP | Currency Type and Valuation View | 20120313 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | CK_UNTPER | Value Structure Type | 20120313 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | CK_UNTPER | Value Structure Type | 20120313 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | POPER | Posting period | 20120313 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | POPER | Posting period | 20120313 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | GJAHR | Fiscal Year | 20120313 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | BWKEY | Valuation Area | 20120313 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | GJAHR | Fiscal Year | 20120313 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20120313 | |
| 2 | Instance method | Private | Method | Define Accounting Principle | 20120313 | |
| 3 | Instance method | Private | Method | Define the Currency attribute base on Valuation Area | 20120313 | |
| 4 | Instance method | Private | Method | Define the Material Ledger Previous Sub Period Attribute | 20120313 | |
| 5 | Instance method | Private | Method | Define the Material Ledger Sub Period Attribute (UNTPER) | 20120313 | |
| 6 | Instance method | Private | Method | Define Previous Period based on informed Month and Year | 20120313 | |
| 7 | Instance method | Public | Method | Get Accounting Principle | 20120313 | |
| 8 | Instance method | Public | Method | Get Month | 20120313 | |
| 9 | Instance method | Public | Method | 20120313 | ||
| 10 | Instance method | Public | Method | 20120313 | ||
| 11 | Instance method | Public | Method | Get Valuation Area | 20120313 | |
| 12 | Instance method | Public | Method | Get Year | 20120313 | |
| 13 | Instance method | Private | Method | Obtain Material Ledger Period Totals Records Values | 20120313 | |
| 14 | 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 | IV_ACC_PRINCIPLE | Call by reference | Type reference (TYPE) | ACCOUNTING_PRINCIPLE | Accounting Principle | 20120313 | |||
| 2 | IV_MONTH | Call by reference | Type reference (TYPE) | POPER | Posting period | 20120313 | |||
| 3 | IV_VALUATION_AREA | Call by reference | Type reference (TYPE) | BWKEY | Valuation Area | 20120313 | |||
| 4 | IV_YEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20120313 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | IV_KALNR | Value transfer | Type reference (TYPE) | CK_KALNR | Cost Estimate Number for Cost Est. w/o Qty Structure | 20120313 | |||
| 2 | IV_ML_SUB_PERIOD | Call by reference | Type reference (TYPE) | CK_UNTPER | Value Structure Type | 20120313 | |||
| 3 | IV_MONTH | Call by reference | Type reference (TYPE) | POPER | Posting period | 20120313 | |||
| 4 | IV_YEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20120313 | |||
| 5 | RS_ML_PERIOD_VALUES | Value transfer | Type reference (TYPE) | CKMLCR | Material Ledger: Period Totals Records Values | 20120313 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_KALNR | Call by reference | Type reference (TYPE) | CK_KALNR | Cost Estimate Number for Cost Est. w/o Qty Structure | 20120313 | |||
| 2 | IV_ML_SUB_PERIOD | Call by reference | Type reference (TYPE) | CK_UNTPER | Value Structure Type | 20120313 | |||
| 3 | IV_MONTH | Call by reference | Type reference (TYPE) | POPER | Posting period | 20120313 | |||
| 4 | IV_YEAR | Call by reference | Type reference (TYPE) | GJAHR | Fiscal Year | 20120313 | |||
| 5 | RV_STOCK_VALUE | Value transfer | Type reference (TYPE) | SALK3 | Value of Total Valuated Stock | 20120313 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for Parallel Stock Valuation in Mat. Ledger | 20120313 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |