Menu

SAP Function Module K_KKB_COST_OBJECT_TREE

Kostenträger-Hierarchiebaum

Unsere Literaturempfehlung

Kundeneigene Erweiterungen mit ABAP: User-Exits, klassische und neue BAdIs, Switch und Enhancement Framework

Alle Technologien in einem Band! Ob Sie zukunftssichere Erweiterungen programmieren oder mit den Modifikationen in Ihren SAP-Systemen aufräumen möchten – hier erhalten Sie das erforderliche Wissen. Jede Methode wird ausführlich und mit Codebeispielen erläutert: User-Exits, klassische und neue BAdIs, Business Transaction Events, implizite und explizite Erweiterungspunkte u. v. m.

Bei amazon.de ansehen →

The Function Module K_KKB_COST_OBJECT_TREE (Kostenträger-Hierarchiebaum) is a standard Function Module in SAP ERP and is part of the function group KKBH within the package KKB.

Technical Information

Function Module K_KKB_COST_OBJECT_TREE
Short Text Kostenträger-Hierarchiebaum
Function Group KKBH
Package KKB
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_ANWEND LIKE TKKB1-ANW '1' Application for reporting
I_ANZART LIKE 'V' V: Summarization texts S: Master record texts
I_AUFNR LIKE AUFK-AUFNR Order number
I_AUFTRAG LIKE ' ' Import single objects? (Yes: 'X')
I_BEGCOL TYPE I 10 First column of dialog box
I_BEGROW TYPE I 5 First line of dialog box
I_DATBI LIKE CKPH-DATBI '99991231' Validity date
I_ENDCOL TYPE I 70 Last column of dialog box
I_ENDROW TYPE I 25 Last line of dialog box
I_FORM LIKE SPACE Form routines for own function codes
I_KOKRS LIKE TKA01-KOKRS Controlling area
I_KSTRG LIKE CKPH-KSTRG Hierarchy ID
I_MATER LIKE MARA-MATNR Material number
I_OBART LIKE KKHIE-OBART Object type
I_OBJW LIKE ' ' 'X': Object currency, ' ': Controlling area currency
I_PLNAL LIKE KKHIE-PLNAL Group counter
I_PLNNR LIKE KKHIE-PLNNR Task list group key
I_PRG LIKE SY-REPID SPACE Program that contains I_Form
I_ROOT LIKE SY-TABIX 0 Index: Highest node of the display (detail)
I_SAFNR LIKE SAFK-AUFNR Run schedule header number
I_STATUS LIKE '0' 0:Output 1:With input 3:With values
I_TAB LIKE 'X' Justifies values to a height
I_TOTAL LIKE SY-INPUT ' ' 'X': Also imports higher nodes
I_VERID LIKE KKHIE-VERID Production version
I_WERK LIKE T001W-WERKS Plant
I_WINDOW LIKE 'X' ' ':Popup 'X': Full screen

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_AUSSCHNITT LIKE SY-TABIX Index of node set on detail
E_F15 LIKE Was F15 pressed w/o end of application? Yes:Y
E_INDEX LIKE SY-TABIX Index of selected node
E_MODIFY LIKE Was data changed? (Yes: 'Y')
E_UCOMM LIKE SY-UCOMM User command
E_VARHIBG LIKE CKRCO-VARHIEBG Var. hierarchy term for F4 help

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
GLOBALS LIKE KKB2 Report parameters
TBL_COOBJ_E LIKE KKRVDCOOBJ Table with summarization hierarchy nodes
TBL_EXCLUDE LIKE Table with inactive function codes
TBL_KKHIE_E LIKE KKHIE Table with hierarchy nodes

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NO_OBJECT_FOUND Cost object entered was not found