SAP ABAP Class CL_FAGL_R_OBJ_TYPE_001_MAT (Reorganization: Profit Center/Material)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-GL-REO (Application Component) General Ledger Reorganization
     FAGL_REORGANIZATION_PC (Package) Reorganization - Profit Center
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 20090127
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_FAGL_R_OBJ_TYPE Reorganization: Object Type 20090127
Properties
Class CL_FAGL_R_OBJ_TYPE_001_MAT  
Short Description Reorganization: Profit Center/Material    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FAGL_REORGANIZATION_PC   Reorganization - Profit Center 
Created 20090127   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_FAGL_R_OBJ_TYPE_001_MAT has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20090127
2 IF_FAGL_R_OBJ_TYPE Reorganization: Object Type 20090127
Friends
Class CL_FAGL_R_OBJ_TYPE_001_MAT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MV_BWKEY_PLANT Instance attribute Protected Type reference (TYPE) FLAG Valuation Level = Plant 20100107
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_BALANCE_HEAD Instance method Protected Method Create Balance Line for Results Tables 20120625
2 BUILD_BALANCE_LINE Instance method Protected Method Create Balance Line for Results Tables 20090313
3 BUILD_BALANCE_TCURR Instance method Protected Method Create Balance Line for Results Tables 20120625
4 BUILD_ERROR_LINE Instance method Protected Method Create Error Message for a Material Object 20090327
5 BUILD_ERROR_LIST Instance method Protected Method Create Error Message for Multiple Materials 20090327
6 CHECK_VALUATION_LEVEL Instance method Protected Method Check Valuation Level 20100107
7 CREATE_CHANGE_DOCUMENT Instance method Protected Method Write Change Document 20090407
8 CREATE_WHERE_FROM_INT_TAB Instance method Protected Method Generate WHERE String from Internal Table 20090209
9 CREATE_WHERE_FROM_SEL_OPT Instance method Protected Method Generate WHERE String from Select Options 20090209
10 DETERMINE_PREVIOUS_PERIOD Instance method Protected Method Check Previous Period by Valuation Area 20121227
11 READ_ANONYMOUS_STOCK_HISTORY Instance method Protected Method Determine Balances for Previous Period (from MBEWH) 20121227
12 READ_MATERIAL_LEDGER_DATA Instance method Protected Method Read Material Balances from Material Ledger 20090313
13 READ_MBEW_QBEW_EBEW Instance method Protected Method Read Balances 20090313
14 READ_SPECIAL_STOCK_HISTORY Instance method Protected Method Determine Special Stocks for Previous Periods 20121227
15 REASSIGN_MD Instance method Protected Method Reassignment of Materials 20090313
Events
Class CL_FAGL_R_OBJ_TYPE_001_MAT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_S_PC_USER Protected See coding 20100205 BEGIN OF lty_s_pc_user, prctr TYPE cepc-prctr, verak_user TYPE cepc-verak_user, END OF lty_s_pc_user
2 S_BWMOD_BKLAS_KTO Protected See coding 20100205 BEGIN OF s_bwmod_bklas_kto, ktopl TYPE ktopl, bwmod TYPE t001k-bwmod, bklas TYPE bklas, konts TYPE t030-konts, konth TYPE t030-konth, END OF s_bwmod_bklas_kto
3 S_MAT_ALL Protected See coding 20100205 BEGIN OF s_mat_all, matnr TYPE matnr, werks TYPE werks_d, bwtar TYPE bwtar, bklas TYPE bklas, "valuation class curtp TYPE curtp, "currency type salk3 TYPE salk3, "total balance of current period vmsal TYPE vmsal, "total balance of prevois period mlmaa TYPE ck_ml_maac, "material ledger active kaln1 TYPE ck_kalnr1, " END OF s_mat_all
4 S_MAT_LEDGER Protected See coding 20100205 BEGIN OF s_mat_ledger, matnr TYPE matnr, werks TYPE werks_d, curtp TYPE curtp, waers TYPE waers, salk3 TYPE salk3, vmsal TYPE vmsal, bklas TYPE bklas, END OF s_mat_ledger
5 S_MAT_LEDG_SHORT Protected See coding 20121002 BEGIN OF s_mat_ledg_short, matnr TYPE matnr, werks TYPE werks_d, curtp TYPE curtp, salk3 TYPE salk3, END OF s_mat_ledg_short
6 S_MAT_MBEW_ML_ALL Protected See coding 20100205 BEGIN OF s_mat_mbew_ml_all, curtp TYPE curtp. INCLUDE TYPE mbew. TYPES: END OF s_mat_mbew_ml_all
7 S_MAT_WERKS Protected See coding 20100205 BEGIN OF s_mat_werks, matnr TYPE matnr, werks TYPE werks_d, END OF s_mat_werks
8 S_WERKS_ALL Protected See coding 20100205 BEGIN OF s_werks_all, werks TYPE werks_d, bukrs TYPE bukrs, ktopl TYPE t001-ktopl, waers TYPE t001-waers, bwmod TYPE t001k-bwmod, mlbwa TYPE t001k-mlbwa, periv TYPE t001-periv, END OF s_werks_all
9 T_EBEW Protected See coding 20100205 t_ebew TYPE TABLE OF ebew
10 T_MAT_ALL Protected See coding 20100205 t_mat_all TYPE SORTED TABLE OF s_mat_all WITH UNIQUE KEY matnr werks
11 T_MAT_LEDGER Protected See coding 20100205 t_mat_ledger TYPE SORTED TABLE OF s_mat_ledger WITH UNIQUE KEY matnr werks curtp
12 T_MAT_LEDG_SHORT Protected See coding 20121002 t_mat_ledg_short TYPE SORTED TABLE OF s_mat_ledg_short WITH UNIQUE KEY matnr werks curtp
13 T_MAT_WERKS Protected See coding 20100205 t_mat_werks TYPE SORTED TABLE OF s_mat_werks WITH UNIQUE KEY matnr werks
14 T_MBEW Protected See coding 20100205 t_mbew TYPE TABLE OF mbew
15 T_OBEW Protected See coding 20121227 t_obew TYPE TABLE OF obew
16 T_QBEW Protected See coding 20100205 t_qbew TYPE TABLE OF qbew
17 T_WERKS_ALL Protected See coding 20100205 t_werks_all TYPE SORTED TABLE OF s_werks_all WITH UNIQUE KEY werks
18 YS_BWKEY Protected See coding 20121227 BEGIN OF YS_BWKEY, bwkey TYPE mbew-bwkey, case TYPE char3, END OF YS_BWKEY
19 YT_BWKEY Protected See coding 20121227 YT_BWKEY type TABLE of YS_BWKEY
20 YT_MBEW Protected See coding 20121227 yt_mbew TYPE STANDARD TABLE OF mbew
Method Signatures

Method BUILD_BALANCE_HEAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorg: Meldungen 20120625
2 Exporting ES_BALANCE Call by reference Type reference (TYPE) FAGL_R_S_BALANCE_W_OBJ_INDEX Reorg: Ermittelte Bestände zu Objekten 20120625
3 Exporting EV_XERROR Call by reference Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20120625
4 Importing IS_WERKS_ALL Call by reference Type reference (TYPE) S_WERKS_ALL 20120625
5 Importing IV_ACCOUNT Call by reference Type reference (TYPE) HKONT Sachkonto der Hauptbuchhaltung 20120625
6 Importing IV_OBJ_INDEX Call by reference Type reference (TYPE) FAGL_R_OBJ_INDEX Verweis auf den Index des Objekts in der Objektliste 20120625

Method BUILD_BALANCE_HEAD on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method BUILD_BALANCE_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BALANCE Call by reference Type reference (TYPE) FAGL_R_T_BALANCE_W_OBJ_INDEX Reorg: Ermittelte Bestände zu Objekten 20090313
2 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorg: Meldungen 20120625
3 Importing GJAHR Call by reference Type reference (TYPE) GJAHR Geschäftsjahr 20130308
4 Importing IS_WERKS_ALL Call by reference Type reference (TYPE) S_WERKS_ALL 20090313
5 Importing IV_ACCOUNT Call by reference Type reference (TYPE) HKONT Sachkonto der Hauptbuchhaltung 20090313
6 Importing IV_BALANCE_VAL Call by reference Type reference (TYPE) SALK3 Wert des gesamten bewerteten Bestandes 20090313
7 Importing IV_CURTP Call by reference Type reference (TYPE) CURTP Währungstyp und Bewertungssicht 20090313
8 Importing IV_OBJ_INDEX Call by reference Type reference (TYPE) FAGL_R_OBJ_INDEX Verweis auf den Index des Objekts in der Objektliste 20090313
9 Importing IV_WAERS Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20090313
10 Importing PERIOD Call by reference Type reference (TYPE) POPER Buchungsperiode 20130308

Method BUILD_BALANCE_LINE on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method BUILD_BALANCE_TCURR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_BALANCE Call by reference Type reference (TYPE) FAGL_R_S_BALANCE_W_OBJ_INDEX Reorg: Ermittelte Bestände zu Objekten 20120625
2 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorg: Meldungen 20120625
3 Importing IV_BALANCE_VAL Call by reference Type reference (TYPE) SALK3 Wert des gesamten bewerteten Bestandes 20120625
4 Importing IV_CURTP Call by reference Type reference (TYPE) CURTP Währungstyp und Bewertungssicht 20120625
5 Importing IV_WAERS Call by reference Type reference (TYPE) WAERS Währungsschlüssel 20120625

Method BUILD_BALANCE_TCURR on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method BUILD_ERROR_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorg: Meldungen 20090327
2 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20090327
3 Importing IV_OBJ_IDX Call by reference Type reference (TYPE) FAGL_R_OBJ_INDEX Mat/Werks Schlüssel 20090327

Method BUILD_ERROR_LINE on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method BUILD_ERROR_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ERROR_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorg: Meldungen 20090327
2 Importing IV_MSG_NO Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20090327

Method BUILD_ERROR_LIST on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method CHECK_VALUATION_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE2 Reorg: Meldungen (ohne Index) 20100107
2 Exporting EV_IS_PLANT Call by reference Type reference (TYPE) FLAG allgemeines flag 20100107

Method CHECK_VALUATION_LEVEL on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method CREATE_CHANGE_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorg: Meldungen 20090407
2 Importing IV_MARC_NEW Call by reference Type reference (TYPE) MARC Werksdaten zum Material 20090407
3 Importing IV_MARC_OLD Call by reference Type reference (TYPE) MARC Werksdaten zum Material 20090407
4 Importing IV_OBJ_ID Call by reference Type reference (TYPE) MATNR Materialnummer 20090408
5 Importing IV_OBJ_INDEX Call by reference Type reference (TYPE) FAGL_R_OBJ_INDEX Verweis auf den Index des Objekts in der Objektliste 20090407

Method CREATE_CHANGE_DOCUMENT on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method CREATE_WHERE_FROM_INT_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELD_NAME Call by reference Type reference (TYPE) STRING Feldname, wie in der DB Tabelle 20090209
2 Importing INT_TABLE Call by reference Type reference (TYPE) STANDARD TABLE interne Tabelle mit Einzelwerte für das Feld 20090209
3 Exporting WHERE_STRING Call by reference Type reference (TYPE) STRING Ergebnis SQL String 20090209

Method CREATE_WHERE_FROM_INT_TAB on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method CREATE_WHERE_FROM_SEL_OPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TRANGE Call by reference Type reference (TYPE) FAGL_R_S_TRANGE Reorg: Tabellenname und SEL-OPT-Tabelle pro Feldname 20090209
2 Exporting WHERE_STRING Call by reference Type reference (TYPE) STRING Ergebnis SQL WHERE String für die Felder in TRANGE 20090209

Method CREATE_WHERE_FROM_SEL_OPT on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method DETERMINE_PREVIOUS_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorg: Meldungen 20121227
2 Importing IV_PERIV Call by reference Type reference (TYPE) PERIV Geschäftsjahresvariante 20121227
3 Importing IV_REORG_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganisationsdatum 20121227
4 Exporting PREVIOUS_GJAHR Call by reference Type reference (TYPE) GJAHR Geschäftsjahr 20121227
5 Exporting PREVIOUS_PERIOD Call by reference Type reference (TYPE) POPER Buchungsperiode 20121227

Method DETERMINE_PREVIOUS_PERIOD on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method READ_ANONYMOUS_STOCK_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing GJAHR Call by reference Type reference (TYPE) GJAHR Geschäftsjahr 20121227
2 Importing PERIOD Call by reference Type reference (TYPE) POPER Buchungsperiode 20121227
3 Changing T_MBEW Call by reference Type reference (TYPE) T_MBEW Materialbestände 20121227

Method READ_ANONYMOUS_STOCK_HISTORY on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method READ_MATERIAL_LEDGER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorg: Meldungen 20090401
2 Exporting ET_ML_DATA Call by reference Type reference (TYPE) T_MAT_LEDGER Daten Material Ledger 20090313
3 Importing IT_MAT_DATA Call by reference Type reference (TYPE) T_MBEW Materialdaten 20090313
4 Importing IV_PERIV Call by reference Type reference (TYPE) PERIV Geschäftsjahresvariante 20090313
5 Importing IV_REORG_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganisationsdatum 20090313

Method READ_MATERIAL_LEDGER_DATA on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method READ_MBEW_QBEW_EBEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorg: Meldungen 20121227
2 Exporting ET_EBEW Call by reference Type reference (TYPE) T_EBEW 20090313
3 Exporting ET_MBEW Call by reference Type reference (TYPE) T_MBEW 20090313
4 Exporting ET_QBEW Call by reference Type reference (TYPE) T_QBEW 20090313
5 Importing IT_MAT_WERKS Call by reference Type reference (TYPE) T_MAT_WERKS 20090313
6 Importing IV_PERIV Call by reference Type reference (TYPE) PERIV Geschäftsjahresvariante 20121227
7 Importing IV_REORG_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganisationsdatum 20121227

Method READ_MBEW_QBEW_EBEW on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method READ_SPECIAL_STOCK_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing GJAHR Call by reference Type reference (TYPE) GJAHR Geschäftsjahr 20121227
2 Importing PERIOD Call by reference Type reference (TYPE) POPER Buchungsperiode 20121227
3 Changing T_EBEW Call by reference Type reference (TYPE) T_EBEW Sonderbestände Kundenauftrag 20121227
4 Changing T_OBEW Call by reference Type reference (TYPE) T_OBEW Sonderbestände Lieferant 20121227
5 Changing T_QBEW Call by reference Type reference (TYPE) T_QBEW Sonderbestände PSP-elemente 20121227

Method READ_SPECIAL_STOCK_HISTORY on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.

Method REASSIGN_MD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGE Call by reference Type reference (TYPE) FAGL_R_T_MESSAGE Reorg: Meldungen 20090401
2 Importing IT_OBJECT Call by reference Type reference (TYPE) FAGL_R_T_OBJECT Reorg: Objektliste 20090313
3 Importing IV_REORG_DATE Call by reference Type reference (TYPE) FAGL_R_DATE Reorganisationsdatum 20090506

Method REASSIGN_MD on class CL_FAGL_R_OBJ_TYPE_001_MAT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605