SAP ABAP Class CL_COST_OBJECT_TREE (Cost Object Hierarchy: Hierarchy Display)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   CO-PC-IS (Application Component) Product Cost Controlling Information System
     KKBO (Package) Multilevel BOMs 00
Properties
Class CL_COST_OBJECT_TREE  
Short Description Cost Object Hierarchy: Hierarchy Display    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package KKBO   Multilevel BOMs 00 
Created 19991028   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 SDYDO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SLIS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_COST_OBJECT_TREE has no interface implemented.
Friends
Class CL_COST_OBJECT_TREE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_GUI_CODE_EROB Constant Private Type reference (TYPE) GUI_CODE 'EROB' GC_GUI_CODE_EROB 19991106
2 GC_GUI_CODE_RULE Constant Private Type reference (TYPE) GUI_CODE 'RULE' GC_GUI_CODE_RULE 19991129
3 GC_GUI_CODE_VDOB Constant Private Type reference (TYPE) GUI_CODE 'VDOB' GC_GUI_CODE_VDOB 19991106
4 MR_ALV_TREE Instance attribute Private Object reference (TYPE REF TO) CL_GUI_ALV_TREE ALV Tree 19991029
5 MS_EXCEPTION_RULE Instance attribute Private Type reference (TYPE) TKKBH Exception Rule 19991231
6 MS_STATUS Instance attribute Public Type reference (TYPE) KKB_BOM_STATUS Status Texts 19991101
7 MS_TIME_RANGE Instance attribute Private Type reference (TYPE) KKB_TIME_RANGE ALV Tree 19991029
8 MS_VARIANT Instance attribute Private Type reference (TYPE) DISVARIANT Variant Key 19991029
9 MT_EXCLUDING Instance attribute Public Type reference (TYPE) KKB_BOM_EXCLUDING Excluded Function Codes 19991101
10 MT_FIELDCATALOG Instance attribute Private Type reference (TYPE) LVC_T_FCAT Field Catalog 19991029
11 MT_KKHIE Instance attribute Public Type reference (TYPE) KKHIETAB Cost Object Hierarchy 19991102
12 MT_NODE_KEY Instance attribute Private Type reference (TYPE) NODE_KEY_TABLE_TYPE Node Table 19991103
13 MT_OUTTAB Instance attribute Private See coding MT_OUTTAB 19991101
14 M_ANZART Instance attribute Private Type reference (TYPE) SY-INPUT 'S' S: Summarization Texts M: Master Record Texts 19991028
15 M_AUFNR Instance attribute Private Type reference (TYPE) AUFK-AUFNR Order Number 19991028
16 M_AVERS Instance attribute Private Type reference (TYPE) TKA09-VERSN Results Analysis Version 19991231
17 M_AWVRS Instance attribute Private Type reference (TYPE) TKV09-AWVRS Target Cost Version 19991029
18 M_BELASTUNG Instance attribute Private Type reference (TYPE) AS4FLAG 'X' 20040723
19 M_CURRENCY Instance attribute Private Type reference (TYPE) CHAR01 'K' K': CO Area Currency; 'O' Object Currency 19991029
20 M_DATBI Instance attribute Private Type reference (TYPE) CKPH-DATBI '99991231' Date 19991028
21 M_EXCL_VRGNG Instance attribute Private Type reference (TYPE) AS4FLAG 20040723
22 M_F4 Instance attribute Private Type reference (TYPE) AS4FLAG F4 Help Popup 19991029
23 M_FORM Instance attribute Private Type reference (TYPE) EDPERFORM ABAP Editor form 19991112
24 M_INDEX Instance attribute Public Type reference (TYPE) SY-TABIX Table Index 19991115
25 M_KOKRS Instance attribute Private Type reference (TYPE) TKA01-KOKRS Controlling Area 19991028
26 M_KSTRG Instance attribute Private Type reference (TYPE) CKPH-KSTRG Cost Object 19991028
27 M_KTRTP Instance attribute Public Type reference (TYPE) CKPHS-KTRTP '01' Cost Object Type 19991112
28 M_KWAERS Instance attribute Private Type reference (TYPE) WAERS Controlling Area Currency 19991029
29 M_MAINTAIN_TEXT Instance attribute Private Type reference (TYPE) AS4FLAG Allow Text Maintenance 19991029
30 M_MATNR Instance attribute Private Type reference (TYPE) MARA-MATNR Material Number 19991029
31 M_NO_HTML_HEADER Instance attribute Private Type reference (TYPE) AS4FLAG Do Not Display Header 19991029
32 M_NO_TOOLBAR Instance attribute Private Type reference (TYPE) AS4FLAG Do Not Display Toolbar 19991029
33 M_OBART Instance attribute Private Type reference (TYPE) KKHIE-OBART Object Type 19991028
34 M_OBJECTTYPE Instance attribute Private Type reference (TYPE) CHAR01 'E' D = Data Entry Object, V = Summarization Object 19991106
35 M_OBJWR Instance attribute Private Type reference (TYPE) CHAR01 Object Currency (Y/N) 19991101
36 M_PLNAL Instance attribute Private Type reference (TYPE) KKHIE-PLNAL Group Counter 19991028
37 M_PLNNR Instance attribute Private Type reference (TYPE) KKHIE-PLNNR Task List Group Key 19991028
38 M_PRG Instance attribute Private Type reference (TYPE) SY-REPID ABAP Program: Current Main Program 19991112
39 M_PROCNR Instance attribute Private Type reference (TYPE) KKHIE-PROCNR Production Process 19991028
40 M_PVERS Instance attribute Private Type reference (TYPE) TKA09-VERSN Plan Version 19991231
41 M_RULE_NR Instance attribute Private Type reference (TYPE) TKKR0-RULE_NR Exception Rule 19991129
42 M_SAFNR Instance attribute Private Type reference (TYPE) SAFK-AUFNR Run Schedule Header 19991028
43 M_VALUES_REQUESTED Instance attribute Private Type reference (TYPE) AS4FLAG Show Costs 19991029
44 M_VALUTYP Instance attribute Private Type reference (TYPE) VALUTYP Valuation View 19991029
45 M_VERID Instance attribute Private Type reference (TYPE) KKHIE-VERID Production Version 19991028
46 M_VERSN Instance attribute Private Type reference (TYPE) TKA09-VERSN Version 19991029
47 M_WERK Instance attribute Private Type reference (TYPE) T001W-WERKS Plant 19991028
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CHILDREN Instance method Private Method Insert Children 19991028
2 ADJUST_VALUES Instance method Private Method Adjust Hierarchy Values to Current Attribute 19991028
3 BUILD_COMMENT Instance method Private Method Create HTML Header 19991101
4 CALL_COSTELEMENT_REPORT Instance method Private Method Call Up Cost Component Report 19991113
5 CALL_ORIGIN_REPORT Instance method Private Method Call Up Origin Report 19991115
6 CHECK_VALUES_REQUESTED Instance method Private Method Checks if Values Should Be Displayed 19991101
7 COLLAPSE_SUBTREE Instance method Private Method Collapse Subtree 19991028
8 CONSTRUCTOR Instance method Public Constructor Constructor 19991028
9 CREATE_FIELDCATALOG Instance method Private Method Create a Field Catalog (Exclude Fields) 19991028
10 CREATE_HIERARCHY Instance method Private Method Generate Hierarchy 19991028
11 EXPAND_SUBTREE Instance method Private Method Expand Subtree Completely 19991028
12 GET_KOKRS_AND_PERIOD Instance method Private Method Get Controlling Area and Period 19991101
13 GET_NODE_NAME Instance method Private Method Determine Node Name 19991102
14 GET_OUTTAB_LINE Instance method Private Method Fill Output Line 19991102
15 GET_SELECTED_NODE Instance method Private Method Determine Selected Nodes 19991028
16 GET_SPECIAL_GROUPS Instance method Private Method Create Field Catalog Groups 19991101
17 GET_SUMM_OBJ Instance method Private Method Information for Summarization Object 19991129
18 GET_VALUES Instance method Private Method Insert Values 19991102
19 HANDLE_AFTER_USER_COMMAND Instance method Private Event handling method Handle after Usercommand 19991028
20 HANDLE_BEFORE_USER_COMMAND Instance method Private Event handling method Handle Before Usercommand 19991028
21 HANDLE_EXPAND_NO_CHILDREN Instance method Private Event handling method Read Children of a Node Again 19991028
22 HANDLE_ITEM_DOUBLE_CLICK Instance method Private Event handling method Handle Item Double-Click 19991028
23 HANDLE_NODE_DOUBLE_CLICK Instance method Private Event handling method Handle Node Double-Click 19991028
24 HANDLE_USER_COMMAND Instance method Public Method Edit Commands 19991028
25 REGISTER_EVENTS Instance method Private Method Register Events 19991028
26 SEARCH_SUCCESSOR Instance method Private Method Search For Successor and Sort Hierarchy 19991104
27 SET_HANDLER Instance method Private Method Set Event Handler 19991028
28 SET_VERSION Instance method Private Method Set Version 19991102
Events
Class CL_COST_OBJECT_TREE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 INDEX_TABLE_TYPE Private See coding INDEX_TABLE_TYPE 19991103 index_table_type TYPE HASHED TABLE OF node_index_type WITH UNIQUE KEY kkhie
2 NODE_INDEX_TYPE Private See coding NODE_INDEX_TYPE 19991103 BEGIN OF node_index_type , node_key TYPE lvc_nkey , kkhie TYPE kkhie , END OF node_index_type
3 NODE_KEY_TABLE_TYPE Private See coding NODE_KEY_TABLE_TYPE 19991103 node_key_table_type TYPE HASHED TABLE OF node_index_type WITH UNIQUE KEY node_key
4 TYP_IT_KKHIE Private Type reference (TYPE) KKHIE Cost Object - Hierarchy Table 19991101
Method Signatures

Method ADD_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PARENT Call by reference Type reference (TYPE) KKHIE Hierarchiebegriff 19991102
2 Importing I_ADD_ALL_GRANDCHILDREN Call by reference Type reference (TYPE) XFLAG SPACE Subtree vollstaendig expandieren 19991105

Method ADD_CHILDREN on class CL_COST_OBJECT_TREE has no exception.

Method ADJUST_VALUES Signature

Method ADJUST_VALUES on class CL_COST_OBJECT_TREE has no parameter.
Method ADJUST_VALUES on class CL_COST_OBJECT_TREE has no exception.

Method BUILD_COMMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LIST_COMMENTARY Call by reference Type reference (TYPE) SLIS_T_LISTHEADER Header 19991101
2 Exporting E_LOGO Call by reference Type reference (TYPE) SDYDO_VALUE Logo 19991101

Method BUILD_COMMENT on class CL_COST_OBJECT_TREE has no exception.

Method CALL_COSTELEMENT_REPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_KKHIE Call by reference Type reference (TYPE) KKHIE Hierarchieeintrag 19991113

Method CALL_COSTELEMENT_REPORT on class CL_COST_OBJECT_TREE has no exception.

Method CALL_ORIGIN_REPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_KKHIE Call by reference Type reference (TYPE) KKHIE Hierarchieeintrag 19991115

Method CALL_ORIGIN_REPORT on class CL_COST_OBJECT_TREE has no exception.

Method CHECK_VALUES_REQUESTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_VALUES_REQUESTED Call by reference Type reference (TYPE) AS4FLAG Werte anzeigen 19991101
2 Importing IT_FIELDCATALOG Call by reference Type reference (TYPE) LVC_T_FCAT Feldkatalog 19991101

Method CHECK_VALUES_REQUESTED on class CL_COST_OBJECT_TREE has no exception.

Method COLLAPSE_SUBTREE Signature

Method COLLAPSE_SUBTREE on class CL_COST_OBJECT_TREE has no parameter.
Method COLLAPSE_SUBTREE on class CL_COST_OBJECT_TREE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_TIME_RANGE Call by reference Type reference (TYPE) KKB_TIME_RANGE ALV-Tree 19991029
2 Importing IS_VARIANT Call by reference Type reference (TYPE) DISVARIANT Listvariante 19991125
3 Importing IT_KKHIE Call by reference Type reference (TYPE) KKHIETAB Hierarchietabelle 19991101
4 Importing I_ANZART Call by reference Type reference (TYPE) SY-INPUT 'V' V: Verdichtungstexte S: Stammsatztexte 19991029
5 Importing I_AUFNR Call by reference Type reference (TYPE) AUFK-AUFNR Auftragsnummer 19991029
6 Importing I_DATBI Call by reference Type reference (TYPE) CKPH-DATBI '99991231' Datum 19991029
7 Importing I_F4 Call by reference Type reference (TYPE) AS4FLAG F4-Hilfe Popup 19991029
8 Importing I_FORM Call by reference Type reference (TYPE) EDPERFORM Callbackroutine 19991112
9 Importing I_KOKRS Call by reference Type reference (TYPE) TKA01-KOKRS Kostenrechnungskreis 19991029
10 Importing I_KSTRG Call by reference Type reference (TYPE) CKPH-KSTRG Kostentraeger 19991029
11 Importing I_KTRTP Call by reference Type reference (TYPE) CKPHS-KTRTP '01' Kostenträgertyp 19991112
12 Importing I_MAINTAIN_TEXT Call by reference Type reference (TYPE) AS4FLAG Textpflege erlauben 19991029
13 Importing I_MATNR Call by reference Type reference (TYPE) MARA-MATNR Materialnummer 19991029
14 Importing I_OBART Call by reference Type reference (TYPE) KKHIE-OBART Objektart 19991029
15 Importing I_OBJW Call by reference Type reference (TYPE) XFLAG Objektwaehrung an 19991112
16 Importing I_PARENT Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Container 19991029
17 Importing I_PLNAL Call by reference Type reference (TYPE) KKHIE-PLNAL Plangruppenzähler 19991029
18 Importing I_PLNNR Call by reference Type reference (TYPE) KKHIE-PLNNR Plangruppenschlüssel 19991029
19 Importing I_PRG Call by reference Type reference (TYPE) SY-REPID Callbackprogramm 19991112
20 Importing I_PROCNR Call by reference Type reference (TYPE) KKHIE-PROCNR Fertigungsprozess 19991029
21 Importing I_SAFNR Call by reference Type reference (TYPE) SAFK-AUFNR Serienauftrag 19991029
22 Importing I_VALUTYP Call by reference Type reference (TYPE) VALUTYP 0 Bewertungssicht 19991029
23 Importing I_VERID Call by reference Type reference (TYPE) KKHIE-VERID Fertigungsversion 19991029
24 Importing I_WERK Call by reference Type reference (TYPE) T001W-WERKS Werk 19991029
# Exception Resumable Description Created on
1 OBJECT_NOT_FOUND Hierarchieobjekt nicht vorhanden 19991101

Method CREATE_FIELDCATALOG Signature

Method CREATE_FIELDCATALOG on class CL_COST_OBJECT_TREE has no parameter.
Method CREATE_FIELDCATALOG on class CL_COST_OBJECT_TREE has no exception.

Method CREATE_HIERARCHY Signature

Method CREATE_HIERARCHY on class CL_COST_OBJECT_TREE has no parameter.
# Exception Resumable Description Created on
1 OBJECT_NOT_FOUND Hierarchieobjekt nicht vorhanden 19991101

Method EXPAND_SUBTREE Signature

Method EXPAND_SUBTREE on class CL_COST_OBJECT_TREE has no parameter.
Method EXPAND_SUBTREE on class CL_COST_OBJECT_TREE has no exception.

Method GET_KOKRS_AND_PERIOD Signature

Method GET_KOKRS_AND_PERIOD on class CL_COST_OBJECT_TREE has no parameter.
Method GET_KOKRS_AND_PERIOD on class CL_COST_OBJECT_TREE has no exception.

Method GET_NODE_NAME Signature

Method GET_NODE_NAME on class CL_COST_OBJECT_TREE has no parameter.
Method GET_NODE_NAME on class CL_COST_OBJECT_TREE has no exception.

Method GET_OUTTAB_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_OUTTAB_LINE Call by reference Type reference (TYPE) KKB_SUMM Ausgabezeile 19991102
2 Exporting ET_ITEM_LAYOUT Call by reference Type reference (TYPE) LVC_T_LAYI Itemlayout 19991102
3 Importing IS_KKHIE Call by reference Type reference (TYPE) KKHIE KTR-Hierarchie 19991102

Method GET_OUTTAB_LINE on class CL_COST_OBJECT_TREE has no exception.

Method GET_SELECTED_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_KKHIE Call by reference Type reference (TYPE) KKHIE Hierarchieeintrag 19991105

Method GET_SELECTED_NODE on class CL_COST_OBJECT_TREE has no exception.

Method GET_SPECIAL_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SPECIAL_GROUPS Call by reference Type reference (TYPE) LVC_T_SGRP Feldgruppen 19991101

Method GET_SPECIAL_GROUPS on class CL_COST_OBJECT_TREE has no exception.

Method GET_SUMM_OBJ Signature

Method GET_SUMM_OBJ on class CL_COST_OBJECT_TREE has no parameter.
Method GET_SUMM_OBJ on class CL_COST_OBJECT_TREE has no exception.

Method GET_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_OUTTAB_LINE Call by reference Type reference (TYPE) KKB_SUMM Ausgabezeile 19991102
2 Importing I_MATNR Call by reference Type reference (TYPE) KKHIE-MATNR Materialnummer 20010823
3 Importing I_OBJNR Call by reference Type reference (TYPE) KKB_OBJNR Objektnummer 19991102
4 Importing I_PROCNR Call by reference Type reference (TYPE) KKHIE-PROCNR Fertigungsprozeß 20010823
5 Importing I_VERID Call by reference Type reference (TYPE) KKHIE-VERID Fertigungsversion 20010823
6 Importing I_WERKS Call by reference Type reference (TYPE) KKHIE-WERKS Werk 20010823

Method GET_VALUES on class CL_COST_OBJECT_TREE has no exception.

Method HANDLE_AFTER_USER_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing UCOMM Value transfer Attribute reference (LIKE) 19991029

Method HANDLE_AFTER_USER_COMMAND on class CL_COST_OBJECT_TREE has no exception.

Method HANDLE_BEFORE_USER_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing UCOMM Value transfer Attribute reference (LIKE) 19991029

Method HANDLE_BEFORE_USER_COMMAND on class CL_COST_OBJECT_TREE has no exception.

Method HANDLE_EXPAND_NO_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Value transfer Attribute reference (LIKE) 19991029

Method HANDLE_EXPAND_NO_CHILDREN on class CL_COST_OBJECT_TREE has no exception.

Method HANDLE_ITEM_DOUBLE_CLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Value transfer Attribute reference (LIKE) 19991029

Method HANDLE_ITEM_DOUBLE_CLICK on class CL_COST_OBJECT_TREE has no exception.

Method HANDLE_NODE_DOUBLE_CLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Value transfer Attribute reference (LIKE) 19991029

Method HANDLE_NODE_DOUBLE_CLICK on class CL_COST_OBJECT_TREE has no exception.

Method HANDLE_USER_COMMAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OK_CODE Call by reference Type reference (TYPE) SY-UCOMM Usercommand 19991029

Method HANDLE_USER_COMMAND on class CL_COST_OBJECT_TREE has no exception.

Method REGISTER_EVENTS Signature

Method REGISTER_EVENTS on class CL_COST_OBJECT_TREE has no parameter.
Method REGISTER_EVENTS on class CL_COST_OBJECT_TREE has no exception.

Method SEARCH_SUCCESSOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KKHIE Call by reference Type reference (TYPE) KKHIETAB KTR-Hierarchie 19991104
2 Importing IT_KKHIE Call by reference Type reference (TYPE) KKHIETAB KTR-Hierarchie 19991104
3 Importing I_KKHIE Call by reference Type reference (TYPE) KKHIE KTR-Hierarchie 19991104

Method SEARCH_SUCCESSOR on class CL_COST_OBJECT_TREE has no exception.

Method SET_HANDLER Signature

Method SET_HANDLER on class CL_COST_OBJECT_TREE has no parameter.
Method SET_HANDLER on class CL_COST_OBJECT_TREE has no exception.

Method SET_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WRTTP Call by reference Type reference (TYPE) CO_WRTTP Werttyp 19991102
# Exception Resumable Description Created on
1 NO_VALUES_CHANGED Keine Daten verändert 19991102
2 NO_VERSIONS Es existieren keine Versionen 19991102
History
Last changed by/on SAP  20130531 
SAP Release Created in 46C