SAP ABAP Class CL_SALES_ORDER_TREE (Sales Order Hierarchy)
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_SALES_ORDER_TREE  
Short Description Sales Order Hierarchy    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package KKBO   Multilevel BOMs 00 
Created 19991115   SAP 
Last change 20110908   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 KKBH1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 KKBHI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 KKR01 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 SDYDO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 SLIS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SALES_ORDER_TREE has no interface implemented.
Friends
Class CL_SALES_ORDER_TREE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_OBJTYPE_AUFPOS Constant Public Type reference (TYPE) CHAR01 'U' Order Item 19991122
2 MC_OBJTYPE_AUFTR Constant Public Type reference (TYPE) CHAR01 'A' Order 19991122
3 MC_OBJTYPE_CAMP Constant Public Type reference (TYPE) CHAR01 'C' Production Campaign 19991122
4 MC_OBJTYPE_NETAUF Constant Public Type reference (TYPE) CHAR01 'N' Collective Order 19991122
5 MC_OBJTYPE_VBELN Constant Public Type reference (TYPE) CHAR01 'V' Sales and Distribution Document 19991122
6 MC_OBJTYPE_VBPOS Constant Public Type reference (TYPE) CHAR01 'P' Sales and Distribution Document Main Item 19991122
7 MC_OBJTYPE_VBUPOS Constant Public Type reference (TYPE) CHAR01 'Q' Sales and Distribution Document Subitem 19991122
8 MC_ROLLTYPE_ADDITIV Constant Private Type reference (TYPE) CHAR01 'A' Exclude Plan Values 19991129
9 MC_ROLLTYPE_DISPOSITIV Constant Private Type reference (TYPE) CHAR01 'D' Exclude Plan Values 19991129
10 MC_ROLLTYPE_OBJECT Constant Private Type reference (TYPE) CHAR01 'O' Exclude Plan Values 19991129
11 MR_ALV_TREE Instance attribute Private Object reference (TYPE REF TO) CL_GUI_ALV_TREE ALV Tree Control 19991115
12 MS_EXCEPTION_RULE Instance attribute Private Type reference (TYPE) TKKBH Selected Exception Rule 19991222
13 MS_STATUS Instance attribute Public Type reference (TYPE) KKB_BOM_STATUS Status Texts 19991115
14 MS_TIME_RANGE Instance attribute Private Type reference (TYPE) KKB_TIME_RANGE Analysis Time Frame 19991118
15 MS_VARIANT Instance attribute Private Type reference (TYPE) DISVARIANT ABAP Program Name 19991115
16 MT_EXCLUDING Instance attribute Public Type reference (TYPE) KKB_BOM_EXCLUDING Excluded Functions 19991221
17 MT_FIELDCATALOG Instance attribute Private Type reference (TYPE) LVC_T_FCAT Field Catalog 19991115
18 MT_OUTTAB Instance attribute Private See coding Output Table 19991115
19 M_ABVERS Instance attribute Private Type reference (TYPE) KKB_VERSN Results Analysis Version 19991220
20 M_AUFNR Instance attribute Private Type reference (TYPE) AUFNR Order Number 19991216
21 M_CURRENCY Instance attribute Private Type reference (TYPE) CHAR01 "O": Object Currency "C" CO Area Currency 19991115
22 M_F4 Instance attribute Private Type reference (TYPE) AS4FLAG Display as F4 Help 19991115
23 M_KOKRS Instance attribute Private Type reference (TYPE) KOKRS Controlling Area 19991115
24 M_KWAERS Instance attribute Private Type reference (TYPE) WAERS Controlling Area Currency 19991118
25 M_NO_HTML_HEADER Instance attribute Private Type reference (TYPE) AS4FLAG Do Not Display HTML Header 19991115
26 M_NO_TOOLBAR Instance attribute Private Type reference (TYPE) AS4FLAG Do Not Display Toolbar 19991115
27 M_POSNR Instance attribute Private Type reference (TYPE) POSNR_VA Sales Document Item 19991228
28 M_PVERS Instance attribute Private Type reference (TYPE) KKB_VERSN Plan Version 19991220
29 M_ROLLTYPE Instance attribute Private Type reference (TYPE) CHAR01 Role Type 19991129
30 M_SVERS Instance attribute Private Type reference (TYPE) KKB_VERSN Target Cost Version 19991220
31 M_VALUATED Instance attribute Public Type reference (TYPE) AS4FLAG "X": Valuated Sales Order or Project Stock 19991221
32 M_VALUES_REQUESTED Instance attribute Private Type reference (TYPE) AS4FLAG Show Costs 19991115
33 M_VALUTYP Instance attribute Private Type reference (TYPE) VALUTYP Valuation View 19991202
34 M_VBELN Instance attribute Private Type reference (TYPE) VBELN_VA Sales Document 19991122
Methods
# Method Level Visibility Method type Description Created on
1 ADD_NODE Instance method Private Method Insert Nodes 19991122
2 ADD_ORDER Instance method Private Method Add Order 19991123
3 ADD_ORDER_POSITION Instance method Private Method Add Order Item 19991123
4 ADD_OUTTAB_LINES Instance method Private Method Add Output Lines 19991130
5 ADD_SALES_ORDER Instance method Private Method Add Sales Order 19991123
6 ADJUST_ORDER_NET_VALUES Instance method Private Method Adjust Collective Order to Withdrawn Quantities 19991227
7 ADJUST_VALUES Instance method Private Method Read Values for Hierarchy 19991129
8 ADJUST_VARIANCES Instance method Private Method Recalculate Variances 19991230
9 BUILD_COMMENT Instance method Private Method Create HTML Header 19991115
10 CALL_COST_ELEMENT_REPORT Instance method Private Method Call Up Cost Element Report 19991216
11 CHECK_AUTHORITY Instance method Private Method Check Authorization 19991118
12 CHECK_VALUES_REQUESTED Instance method Private Method Check if Values Should Be Displayed 19991115
13 CONSTRUCTOR Instance method Public Constructor Constructor 19991115
14 CREATE_HIERARCHY Instance method Private Method Generate Hierarchy 19991118
15 CREATE_ORDER_NET Instance method Private Method Create Collective Order 19991216
16 GET_EXCEPTION_LIGHT Static method Public Method Determine Exception 19991222
17 GET_KOKRS_AND_PERIOD Instance method Private Method Determine CO Area and Period 19991118
18 GET_SELECTED_NODE Instance method Private Method Determine Selected Nodes 19991216
19 HANDLE_AFTER_USER_COMMAND Instance method Private Event handling method Event Handler After_User_Command 19991129
20 HANDLE_ITEM_DOUBLE_CLICK Instance method Private Event handling method Event Handler NODE_DOUBLE_CLICK 20000127
21 HANDLE_NODE_DOUBLE_CLICK Instance method Private Event handling method Event Handler NODE_DOUBLE_CLICK 20000127
22 HANDLE_USER_COMMAND Instance method Public Method Edit User Command 19991126
23 READ_VALUES Instance method Private Method Read Value for a Line 19991129
24 REGISTER_EVENTS Instance method Private Method Register Events 19991115
25 SET_EXCEPTION_RULE Static method Public Method Choose Exception Rule 19991222
26 SET_HANDLER Instance method Private Method Set Event Handler 19991115
27 SET_STATUS Instance method Private Method Set Status for Functions 20000103
28 SET_VERSION Instance method Private Method Set Version 19991220
Events
Class CL_SALES_ORDER_TREE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TYP_AUFPOS Private See coding Order Item Category 19991123
2 TYP_ORDER Private See coding Order Category 19991123
3 TYP_POSIT Private See coding Item Category 19991123
4 TYP_T_AUFPOS Private See coding Order Item Category Table 19991123
5 TYP_T_ORDER Private See coding Order Category Table 19991123
6 TYP_T_POSIT Private See coding Item Category Table 19991123
Method Signatures

Method ADD_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NODE_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV-Tree-Control: Node-key 19991123
2 Importing IS_OUTTAB_LINE Call by reference Type reference (TYPE) KKB_SUMM Ausgabezeile 19991122
3 Importing I_NODE_TEXT Call by reference Type reference (TYPE) LVC_VALUE Knotentext 19991122
4 Importing I_PARENT Call by reference Type reference (TYPE) LVC_NKEY Parentknoten 19991122

Method ADD_NODE on class CL_SALES_ORDER_TREE has no exception.

Method ADD_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ORDERS Call by reference Type reference (TYPE) TYP_T_ORDER Aufträge 19991123
2 Importing I_AUFNR Call by reference Type reference (TYPE) AUFK-AUFNR Auftragsnummer 19991123
3 Importing I_OBJNR Call by reference Type reference (TYPE) AUFK-OBJNR Objektnummer 19991123
4 Importing I_PARENT Call by reference Type reference (TYPE) LVC_NKEY ALV-Tree-Control: Node-key 19991123

Method ADD_ORDER on class CL_SALES_ORDER_TREE has no exception.

Method ADD_ORDER_POSITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_AUFPOS Call by reference Type reference (TYPE) TYP_AUFPOS Auftragspositionen 19991123
2 Importing I_PARENT Call by reference Type reference (TYPE) LVC_NKEY ALV-Tree-Control: Node-key 19991123

Method ADD_ORDER_POSITION on class CL_SALES_ORDER_TREE has no exception.

Method ADD_OUTTAB_LINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TOTAL Call by reference Type reference (TYPE) KKB_SUMM Summe 19991130
2 Importing IS_LINE1 Call by reference Type reference (TYPE) KKB_SUMM Summand 1 19991130
3 Importing IS_LINE2 Call by reference Type reference (TYPE) KKB_SUMM Summand 2 19991130

Method ADD_OUTTAB_LINES on class CL_SALES_ORDER_TREE has no exception.

Method ADD_SALES_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_POSITION Call by reference Type reference (TYPE) TYP_POSIT Verkaufsbeleg: Positionsdaten 19991123
2 Importing I_PARENT Call by reference Type reference (TYPE) LVC_NKEY ALV-Tree-Control: Node-key 19991123

Method ADD_SALES_ORDER on class CL_SALES_ORDER_TREE has no exception.

Method ADJUST_ORDER_NET_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 19991227

Method ADJUST_ORDER_NET_VALUES on class CL_SALES_ORDER_TREE has no exception.

Method ADJUST_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_TOTAL_VALUES Call by reference Type reference (TYPE) KKB_SUMM Übertrag 19991130
2 Importing I_NODE_KEY Call by reference Type reference (TYPE) LVC_NKEY Knoten 19991129

Method ADJUST_VALUES on class CL_SALES_ORDER_TREE has no exception.

Method ADJUST_VARIANCES 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 19991230

Method ADJUST_VARIANCES on class CL_SALES_ORDER_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 19991115
2 Exporting E_LOGO Call by reference Type reference (TYPE) SDYDO_VALUE Logo 19991115

Method BUILD_COMMENT on class CL_SALES_ORDER_TREE has no exception.

Method CALL_COST_ELEMENT_REPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NODE_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV-Tree-Control: Node-key 19991216

Method CALL_COST_ELEMENT_REPORT on class CL_SALES_ORDER_TREE has no exception.

Method CHECK_AUTHORITY Signature

Method CHECK_AUTHORITY on class CL_SALES_ORDER_TREE has no parameter.
Method CHECK_AUTHORITY on class CL_SALES_ORDER_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 19991115
2 Importing IT_FIELDCATALOG Call by reference Type reference (TYPE) LVC_T_FCAT Feldkatalog 19991115

Method CHECK_VALUES_REQUESTED on class CL_SALES_ORDER_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 Zeitrahmen 19991118
2 Importing I_ABVERS Call by reference Type reference (TYPE) VERSN '000' Abgrenzungsversion 19991220
3 Importing I_AUFNR Call by reference Type reference (TYPE) AUFNR Auftragsnummer 19991216
4 Importing I_F4 Call by reference Type reference (TYPE) AS4FLAG als F4-Hilfe 19991115
5 Importing I_KOKRS Call by reference Type reference (TYPE) KOKRS Kostenrechnungskreis 19991115
6 Importing I_NO_HTML_HEADER Call by reference Type reference (TYPE) AS4FLAG kein Header anzeigen 19991115
7 Importing I_NO_TOOLBAR Call by reference Type reference (TYPE) AS4FLAG keine Toolbar anzeigen 19991115
8 Importing I_OBJW Call by reference Type reference (TYPE) AS4FLAG Objektwährung anzeigen 19991115
9 Importing I_PARENT Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Container 19991115
10 Importing I_POSNR Call by reference Type reference (TYPE) POSNR_VA Verkaufsbelegposition 19991115
11 Importing I_PVERS Call by reference Type reference (TYPE) VERSN '000' Planversion 19991220
12 Importing I_SVERS Call by reference Type reference (TYPE) VERSN '000' Sollversion 19991220
13 Importing I_VALUTYP Call by reference Type reference (TYPE) VALUTYP '0' Bewertungssicht 19991202
14 Importing I_VARIANT Call by reference Type reference (TYPE) DISVARIANT Anzeigevariante 19991115
15 Importing I_VBELN Call by reference Type reference (TYPE) VBELN_VA Verkaufsbeleg 19991115
# Exception Resumable Description Created on
1 OBJECT_NOT_FOUND Verdichtungsobjekt existiert nicht 19991118

Method CREATE_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OBJNR Call by reference Type reference (TYPE) OBJKO Objektnummer auf Kopfebene 19991122

Method CREATE_HIERARCHY on class CL_SALES_ORDER_TREE has no exception.

Method CREATE_ORDER_NET Signature

Method CREATE_ORDER_NET on class CL_SALES_ORDER_TREE has no parameter.
Method CREATE_ORDER_NET on class CL_SALES_ORDER_TREE has no exception.

Method GET_EXCEPTION_LIGHT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LIGHT Call by reference Type reference (TYPE) TV_IMAGE Ampel 19991222
2 Importing IS_EXCEPTION_RULE Call by reference Type reference (TYPE) TKKBH Exceptionregel 19991222
3 Importing IS_OUTTAB_LINE Call by reference Type reference (TYPE) KKB_SUMM Ausgabezeile 19991222
# Exception Resumable Description Created on
1 CANCLED Abbruch durch Benutzer 19991222

Method GET_KOKRS_AND_PERIOD Signature

Method GET_KOKRS_AND_PERIOD on class CL_SALES_ORDER_TREE has no parameter.
Method GET_KOKRS_AND_PERIOD on class CL_SALES_ORDER_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 E_NODE_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV-Tree-Control: Node-key 19991216

Method GET_SELECTED_NODE on class CL_SALES_ORDER_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 Call by reference Type reference (TYPE) 19991129

Method HANDLE_AFTER_USER_COMMAND on class CL_SALES_ORDER_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 Call by reference Attribute reference (LIKE) 20000127

Method HANDLE_ITEM_DOUBLE_CLICK on class CL_SALES_ORDER_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 Call by reference Attribute reference (LIKE) 20000127

Method HANDLE_NODE_DOUBLE_CLICK on class CL_SALES_ORDER_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 Bildschirmbilder, Funktionscode, der PAI ausgelöst hat 19991126

Method HANDLE_USER_COMMAND on class CL_SALES_ORDER_TREE has no exception.

Method READ_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 19991129

Method READ_VALUES on class CL_SALES_ORDER_TREE has no exception.

Method REGISTER_EVENTS Signature

Method REGISTER_EVENTS on class CL_SALES_ORDER_TREE has no parameter.
# Exception Resumable Description Created on
1 ERROR Fehler beim registrieren 19991115

Method SET_EXCEPTION_RULE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_EXCEPTION_RULE Call by reference Type reference (TYPE) TKKBH Exceptionregel 19991222
# Exception Resumable Description Created on
1 CANCELED Abbruch durch Benutzer 19991222

Method SET_HANDLER Signature

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

Method SET_STATUS Signature

Method SET_STATUS on class CL_SALES_ORDER_TREE has no parameter.
Method SET_STATUS on class CL_SALES_ORDER_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 19991220
# Exception Resumable Description Created on
1 NO_VALUES_CHANGED nichts geändert 19991220
2 NO_VERSIONS keine Versionen vorhanden 19991220
History
Last changed by/on SAP  20110908 
SAP Release Created in