RKKPHIE0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RKKPHIE0 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: DATBI = Date to
Selection Text: KSTRG = Cost object
Selection Text: MODE = Output format (graphic/list)
Selection Text: UEKTR = Higher-level cost object
Title: Display Cost Object Hierarchy: Result
Text Symbol: ARB = Work ctr;;
Text Symbol: AUF = Order ;;
Text Symbol: FAU = ProdOrd ;;
Text Symbol: KSR = *CostObj;;
Text Symbol: KST = Cost obj;;
Text Symbol: MAT = Material;;
Text Symbol: PKS = PrdCstCl;;
Text Symbol: PLN = / Plan ;;
Text Symbol: PRO = WBS elem;;
Text Symbol: SAF = Run schd;;
Text Symbol: VER = / Vers ;;
Text Symbol: WRK = / Plant ;;
INCLUDE RKKPHDAT. "ALLGEM. KONST.
INCLUDE RKKPINC0.
No SAP DATABASE tables are accessed within this REPORT code!
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' "P30K030216 EXPORTING "P30K030216 DISPLAY = ' ' "P30K030216 I_KOKRS = KOKRS "P30K030216 POPUP = '0' "P30K030216 IMPORTING "P30K030216 E_KOKRS = KOKRS "P30K030216 EXCEPTIONS "P30K030216 OTHERS = 99. "P30K030216
K_CKPH_GET_ROOT_PATH CALL FUNCTION 'K_CKPH_GET_ROOT_PATH' EXPORTING KSTRG = UEKTR TABLES CKPH_PATH = CKPH_TAB "nur KstTrg EXCEPTIONS NO_ROOT = 00 NOT_FOUND = 01 SYSTEM_FAILURE = 03.
K_GET_HIERARCHY CALL FUNCTION 'K_GET_HIERARCHY' EXPORTING OBJECT_NR = OBJNR HIART = ID_KSTRG OBART = ID_KSTRG WERKS = WERKS LOEKZ = LOEKZ "P30K029840 TABLES KKHIE_I = HIETAB_HI EXCEPTIONS NOT_FOUND = 01.
K_KSTRG_OBJECT_NUMBER_GET CALL FUNCTION 'K_KSTRG_OBJECT_NUMBER_GET' "K11K099117 EXPORTING "K11K099117 KSTRG = KSTRG "K11K099117 IMPORTING "K11K099117 OBJNR = OBJNR. "K11K099117
K_GET_HIERARCHY CALL FUNCTION 'K_GET_HIERARCHY' EXPORTING OBJECT_NR = OBJNR "K11K099117 HIART = ID_KSTRG OBART = ID_KSTRG WERKS = WERKS LOEKZ = LOEKZ "P30K029840 TABLES KKHIE_I = HIETAB_LO "allgem. Hier.tab.
K_GRAPH_HIERARCHY * CALL FUNCTION 'K_GRAPH_HIERARCHY' * EXPORTING * FLAG_K_E = 'E' * TABLES * GRAPH_TAB_KKHIE = HIETAB_HI * EXCEPTIONS * SYSTEM_FAILURE = 01.
K_VC_GRAPH_HIERARCHY_TEMP_SHOW CALL FUNCTION 'K_VC_GRAPH_HIERARCHY_TEMP_SHOW' TABLES GRAPH_TAB = HIETAB_HI.
K_CKPH_GET_SINGLE CALL FUNCTION 'K_CKPH_GET_SINGLE' EXPORTING KSTRG = HIETAB_HI-KSTRG DATBI = HIETAB_HI-DATBI IMPORTING CKPH_I = GD_CKPH EXCEPTIONS NOT_FOUND = 1.
K_KTRAT_READ CALL FUNCTION 'K_KTRAT_READ' EXPORTING I_KTRAT = KTRAT IMPORTING E_CKPHS = GD_CKPHS EXCEPTIONS NOT_FOUND = 1.
K_KKHIE_HIERARCHY_SHOW CALL FUNCTION 'K_KKHIE_HIERARCHY_SHOW' EXPORTING I_ANW = GD_ANW I_LEVEL = LEVEL I_KOKRS = KOKRS "P30K030216 TABLES T_EXCL_FUNC = EXCL_FUNC_SET T_KKHIE = HIETAB_HI.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RKKPHIE0 - Display Cost Object Hierarchy: Result RKKPHIE0 - Display Cost Object Hierarchy: Result RKKPHDAT - Process Mfg: Global Definitions for Cost Object Hierarchy RKKPFKT1 - CO-PC: General Form Routines for Cost Object Master Data RKKPFKT1 - CO-PC: General Form Routines for Cost Object Master Data RKKPFKT0 - Process Manufacturing: General Auxiliary Functions