SAP ABAP Class CL_FAA_MDO_ROOT (Asset Master Data)
Hierarchy
EA-FIN (Software Component) EA-FIN
   FI-AA (Application Component) Asset Accounting
     FAA_MDO (Package) Master Data Wrapper for FAA_TP_TC
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_FAA_FRW_OBJECT DB Wrapper FIAA 20110628
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_FAA_MDO_ROOT FAA Asset Master Rec: Interface Representation for Posting 20110628
Properties
Class CL_FAA_MDO_ROOT  
Short Description Asset Master Data    
Super Class CL_FAA_FRW_OBJECT DB Wrapper FIAA 
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FAA_MDO   Master Data Wrapper for FAA_TP_TC 
Created 20110628   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_FAA_FRW_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_FAA_FRW_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 IF_FAA_MASTER_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_FAA_MDO_ROOT Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
6 IF_FAA_POSTING_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_FAA_MDO_ROOT FAA Asset Master Rec: Interface Representation for Posting 20110628
Friends
# Friend Modeled only Created on Description
1 CL_FAA_FRW_FACTORY 20110629 Factory Class FIAA Master Data Part
2 CL_FAA_FRW_FACTORY_STATIC 20120907 Framework Part of Static Factory
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_ASSET_MAIN_NUMBER Instance attribute Protected Attribute reference (LIKE) 20111216
2 MO_CFG_ASSETCLASS Instance attribute Protected Attribute reference (LIKE) 20111018
3 MO_CFG_LEADOBJ Instance attribute Protected Attribute reference (LIKE) 20111018
4 MO_ITEM_MANAGER Instance attribute Protected Attribute reference (LIKE) 20111216
5 MS_ASSET_KEY Instance attribute Protected Attribute reference (LIKE) 20110628
6 MS_BEFORE_DATA Instance attribute Protected Attribute reference (LIKE) 20110628
7 MS_CURRENT_DATA Instance attribute Protected Attribute reference (LIKE) 20110628
8 MS_NEW_ASSET_DATA_CONTAINER Instance attribute Protected Attribute reference (LIKE) 20120112
9 MT_AREAS_ON_ASSET Instance attribute Protected Attribute reference (LIKE) 20130603
10 MT_AREA_REF Instance attribute Protected Attribute reference (LIKE) 20110628
11 MT_LINKED_INDIV_ASSETS Instance attribute Protected Type reference (TYPE) IF_FAA_MDO_ROOT=>TY_T_LINKED_ASSET List of Individual Assets of Group Asset 20130826
12 MT_TD_AMD_REF Instance attribute Protected Attribute reference (LIKE) 20110628
13 MV_ASSET_NUMBER_CONVERTED Instance attribute Protected Attribute reference (LIKE) 20120213
Methods
# Method Level Visibility Method type Description Created on
1 CLEANUP Instance method Protected Method 20111216
2 CONSTRUCTOR Instance method Public Constructor Own Construcutor 20110628
3 CREATE_NEW_VALUES_IF_MISSING Instance method Protected Method 20111029
4 SET_TD_AMD_FOR_POINT_IN_TIME Instance method Protected Method 20110628
5 _BUILD_FOR_SAVE_AREA_SUBNODES Instance method Private Method Build to DB Structure Before Saving 20110725
6 _CHECK_FOR_CUMMULATIVE_ENQUEUE Instance method Private Method Check for Cumulative Lock by Other Application 20130619
7 _CREATE_ASSET_MAIN_NUMBER Instance method Private Method Generates Instance of Main Number (ANLH) 20111219
8 _CREATE_ITEM_MANAGER Instance method Private Method Generate Container for (ANEK/ANEP/ANEA) 20111216
9 _CREATE_SUBNODES_ANLB Instance method Private Method Generate Depreciation Area Subnodes 20110628
10 _CREATE_SUBNODES_ANLZ Instance method Private Method Generate Time-Dependent Asset Master Data 20110628
11 _DB_ASSET_DATA_2_ANLU Instance method Private Method Map Asset Local Structure to ANLU Structure 20110711
12 _DB_ASSET_DATA_2_ANLV Instance method Private Method Map Asset Local Structure to ANLV Structure 20110711
13 _ENQUEUE_ANLA_WITH_WAIT Instance method Private Method Lock Asset with 150 Lock Attempts and 1 Second Wait 20130314
14 _RAISE_ENQUEUE_ERROR Instance method Private Method Trigger Error "Asset locked by user xyz" 20130314
15 _REBUILD_SUBNODES Instance method Private Method Delete Subnodes, Create New Subnodes 20120907
16 _RESET_ASSET_CREATED_4_POSTING Instance method Private Method Reset Asset Back to Status After AMNA_ASSET_CREATE 20120127
17 _UNTEST_GET_ANLBZA Instance method Private Method Unit Test: Retrieve Time-Dependent Depr. Area Structure 20110901
18 _UNTEST_GET_ANLZ Instance method Private Method Unit Test: Retrieve Time-Dependent Master Data Structure 20110901
19 _VALUES_CARRY_FORWARD Instance method Private Method Carry Forward ANLC for Posting and Missing Fiscal Yr Change 20130212
Events
Class CL_FAA_MDO_ROOT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LS_LINE_ITEM_TABLES Private See coding 20110801 BEGIN OF ls_line_item_tables, anek TYPE faa_t_anek, anep TYPE faa_t_anep, anea TYPE faa_t_anea, anlc TYPE faa_t_anlc, END OF ls_line_item_tables
2 LS_MASTERDATA_TABLES Private See coding 20110801 BEGIN OF ls_masterdata_tables, anla TYPE faa_t_anla, anlz TYPE faa_t_anlz, anlv TYPE STANDARD TABLE OF anlv WITH KEY bukrs anln1 anln2, anlu TYPE STANDARD TABLE OF anlu WITH KEY bukrs anln1 anln2, anlb TYPE faa_t_anlb, END OF ls_masterdata_tables
3 TY_S_VALUES_PER_AREA Private See coding 20130519 BEGIN OF ty_s_values_per_area, area_key TYPE afabe_d, fyear TYPE gjahr, mo_values TYPE REF TO if_faa_mdo_values, END OF ty_s_values_per_area
4 TY_TS_VALUES_PER_AREA Private See coding 20130519 ty_ts_values_per_area TYPE SORTED TABLE OF ty_s_values_per_area WITH UNIQUE KEY area_key fyear
Method Signatures

Method CLEANUP Signature

Method CLEANUP on class CL_FAA_MDO_ROOT has no parameter.
Method CLEANUP on class CL_FAA_MDO_ROOT has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) IF_FAA_FRW_OBJECT Parent Object Instance (wenn create_by_parent) 20110628
2 Importing IR_DATA_DB Call by reference Object reference (TYPE REF TO) DATA DB Data (schon gelesen von Parent) 20110628
3 Importing IV_BO_NAME Call by reference Type reference (TYPE) IF_FAA_FRW_TYPES=>TY_BO_NAME BO Name 20110628
4 Importing IV_BO_NODE_NAME Call by reference Type reference (TYPE) IF_FAA_FRW_TYPES=>TY_BO_NODE_NAME BO Knoten Name 20110628
5 Importing IV_ENQUEUE_MODE Call by reference Type reference (TYPE) ENQMODE IF_FAA_FRW_CONSTANTS=>GC_ENQUEUE_MODE-REAL_EXCLUSIVE Sperrmodus 20130719
6 Importing IV_ENQUEUE_WAIT Call by reference Type reference (TYPE) BOOLE_D ABAP_FALSE Sperren mit Warten 20130719
7 Importing IV_MODE Call by reference Type reference (TYPE) IF_FAA_FRW_TYPES=>TY_MODE Operation Mode (Ins/Upd/Del) 20110628
8 Importing IV_UUID Call by reference Type reference (TYPE) IF_FAA_FRW_TYPES=>TY_UUID Knoten ID 20110628
# Exception Resumable Description Created on
1 CM_FAA_T100 T100 Meldungen FIAA 20110808

Method CREATE_NEW_VALUES_IF_MISSING Signature

Method CREATE_NEW_VALUES_IF_MISSING on class CL_FAA_MDO_ROOT has no parameter.
Method CREATE_NEW_VALUES_IF_MISSING on class CL_FAA_MDO_ROOT has no exception.

Method SET_TD_AMD_FOR_POINT_IN_TIME Signature

Method SET_TD_AMD_FOR_POINT_IN_TIME on class CL_FAA_MDO_ROOT has no parameter.
Method SET_TD_AMD_FOR_POINT_IN_TIME on class CL_FAA_MDO_ROOT has no exception.

Method _BUILD_FOR_SAVE_AREA_SUBNODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ANLB Call by reference Type reference (TYPE) FAA_T_ANLB Abschreibungsparameter 20110725
2 Exporting ET_ANLB_OLD Call by reference Type reference (TYPE) FAA_T_ANLB Abschreibungsparameter 20110727
3 Exporting ET_ANLC Call by reference Type reference (TYPE) FAA_T_ANLC Anlage Wert Feld 20110725
4 Importing IV_TEST Call by reference Type reference (TYPE) XFLAG Neue Eigaben Werte 20110902
# Exception Resumable Description Created on
1 CM_FAA_T100_MDO T100 Meldungen FIAA 20111201

Method _CHECK_FOR_CUMMULATIVE_ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_LOCK_SUBRC Call by reference Type reference (TYPE) SY-SUBRC Rückgabewert von Sperrverwaltung 20130619
2 Importing IS_HUMAN_READABLE_KEY Call by reference Type reference (TYPE) IF_FAA_FRW_TYPES=>TY_S_FAA_HUMAN_READABLE_KEY 20130619

Method _CHECK_FOR_CUMMULATIVE_ENQUEUE on class CL_FAA_MDO_ROOT has no exception.

Method _CREATE_ASSET_MAIN_NUMBER Signature

Method _CREATE_ASSET_MAIN_NUMBER on class CL_FAA_MDO_ROOT has no parameter.
# Exception Resumable Description Created on
1 CM_FAA_T100 T100 Meldungen FIAA 20120627

Method _CREATE_ITEM_MANAGER Signature

Method _CREATE_ITEM_MANAGER on class CL_FAA_MDO_ROOT has no parameter.
# Exception Resumable Description Created on
1 CM_FAA_T100 T100 Messages FIAA 20121012

Method _CREATE_SUBNODES_ANLB Signature

Method _CREATE_SUBNODES_ANLB on class CL_FAA_MDO_ROOT has no parameter.
# Exception Resumable Description Created on
1 CM_FAA_T100 T100 Messages FIAA 20121012

Method _CREATE_SUBNODES_ANLZ Signature

Method _CREATE_SUBNODES_ANLZ on class CL_FAA_MDO_ROOT has no parameter.
# Exception Resumable Description Created on
1 CM_FAA_T100 T100 Messages FIAA 20121012

Method _DB_ASSET_DATA_2_ANLU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ANLU Call by reference Type reference (TYPE) ANLU Versicherungsdaten 20110712
2 Importing IV_MAP_BEFORE Call by reference Type reference (TYPE) XFLAG Neue Eigaben Werte 20110906

Method _DB_ASSET_DATA_2_ANLU on class CL_FAA_MDO_ROOT has no exception.

Method _DB_ASSET_DATA_2_ANLV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ANLV Call by reference Type reference (TYPE) ANLV Anlage Stammdaten: Benutzer Feld 20110712
2 Importing IS_ROOT_DATA Call by reference Type reference (TYPE) FAA_S_ROOT_DATA 20110906

Method _DB_ASSET_DATA_2_ANLV on class CL_FAA_MDO_ROOT has no exception.

Method _ENQUEUE_ANLA_WITH_WAIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HUMAN_READABLE_KEY Call by reference Type reference (TYPE) IF_FAA_FRW_TYPES=>TY_S_FAA_HUMAN_READABLE_KEY 20130314
# Exception Resumable Description Created on
1 CM_FAA_T100 T100 Meldungen FIAA (nicht resumable!) 20130314

Method _RAISE_ENQUEUE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HUMAN_READABLE_KEY Call by reference Type reference (TYPE) IF_FAA_FRW_TYPES=>TY_S_FAA_HUMAN_READABLE_KEY Schlüsselfelder zur Identifikation einer Anlage 20130314
2 Importing IV_CONFLICTING_OWNER Call by reference Type reference (TYPE) SY-UNAME Name des Benutzers, der Sperre hält 20130416
# Exception Resumable Description Created on
1 CM_FAA_T100 T100 Meldungen FIAA (nicht resumable!) 20130314

Method _REBUILD_SUBNODES Signature

Method _REBUILD_SUBNODES on class CL_FAA_MDO_ROOT has no parameter.
# Exception Resumable Description Created on
1 CM_FAA_T100 T100 Messages FIAA 20121012

Method _RESET_ASSET_CREATED_4_POSTING Signature

Method _RESET_ASSET_CREATED_4_POSTING on class CL_FAA_MDO_ROOT has no parameter.
# Exception Resumable Description Created on
1 CM_FAA_T100 T100 Messages FIAA 20121012

Method _UNTEST_GET_ANLBZA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ANLBZA Call by reference Type reference (TYPE) FAA_T_ANLBZA Zeitabhängig Abschreibungsparameter 20110901

Method _UNTEST_GET_ANLBZA on class CL_FAA_MDO_ROOT has no exception.

Method _UNTEST_GET_ANLZ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ANLZ Call by reference Type reference (TYPE) FAA_T_ANLZ Valutierte Anlagen-Zuordnungen 20110901

Method _UNTEST_GET_ANLZ on class CL_FAA_MDO_ROOT has no exception.

Method _VALUES_CARRY_FORWARD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_VALUES_CARRY_FORWARD Call by reference Type reference (TYPE) TY_TS_VALUES_PER_AREA 20130212
# Exception Resumable Description Created on
1 CM_FAA_T100 Fehler aus dem Jahres-Vortrag (nicht resumable) 20130212
History
Last changed by/on SAP  20131127 
SAP Release Created in 607