KKHIE SAP (General CO-PC Hierarchy Table) Structure details

Dictionary Type: Structure
Description: General CO-PC Hierarchy Table




ABAP Code to SELECT data from KKHIE
Related tables to KKHIE
Access table KKHIE




Structure field list including key, data, relationships and ABAP select examples

KKHIE is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "General CO-PC Hierarchy Table" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_KKHIE TYPE KKHIE.

The KKHIE table consists of various fields, each holding specific information or linking keys about General CO-PC Hierarchy Table data available in SAP. These include STUFE (CO-PC Hierarchy Level), ROLLD (Summarization Object), UOART (Object Type of the Higher-Level Object in CO-PC Hierarchy), UAUFN (Number of the Higher-Level Order in the CO-PC Hierarchy).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP KKHIE structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
HIARTCO-PC Hierarchy Type CO_HIARTCHAR1CO_HIART
STUFECO-PC Hierarchy Level CO_STUFENUMC2CO_STUFE
ROLLDSummarization Object KKP_ROLLDCHAR1KKB_HIER
UOARTObject Type of the Higher-Level Object in CO-PC Hierarchy CO_UOARTCHAR1CO_OBART
UAUFNNumber of the Higher-Level Order in the CO-PC Hierarchy CO_UAUFNCHAR12Assigned to domainALPHAAUFNR
UPOSNOrder Item Number CO_POSNRNUMC4CO_POSNR
UKSTRCO-PC: Higher-level cost object CO_UKSTRCHAR12Assigned to domainKSTRG
UDATBValid To Date DATBIDATS8DATUM
UWERKNumber of the higher-level plant in the CO-PC hierarchy CO_UWERKCHAR4Assigned to domainWERKS
UMATNNumber of the higher-level material in the CO-PC hierarchy CO_UMATNCHAR18Assigned to domainMATN1MATNR
UVRIDCO-PC Hierarchy: Version ID of the Higher-Level Object CO_VERIDCHAR4Assigned to domainVERID
UPROCProduction Process CKML_F_PROCNRNUMC12Assigned to domainCK_KALNRCKML_PROCNR
UPLNRKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
UPLNAGroup Counter PLNALCHAR2ALPHAALTNRPAL
USAUFNumber of higher-level run schedule in the CO-PC hierarchy CO_SAUFNCHAR12Assigned to domainALPHAAUFNR
UPSPNWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
OBARTObject Type Within a CO-PC Hierarchy CO_OBARTCHAR1CO_OBART
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
POSNROrder Item Number CO_POSNRNUMC4CO_POSNR
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
DATBIValid To Date DATBIDATS8DATUM
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
PROCNRProduction Process CKML_F_PROCNRNUMC12Assigned to domainCK_KALNRCKML_PROCNR
PLNNRKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
PLNALGroup Counter PLNALCHAR2ALPHAALTNRPAL
ARBPLWork center ARBPLCHAR8ARBPLAGR
SAUFNRun schedule header number SA_AUFNRCHAR12Assigned to domainALPHASA_AUFNR
PSPNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
MARKEDGeneral Flag FLAGCHAR1FLAG
PICKEDGeneral Flag FLAGCHAR1FLAG

Key field Non-key field



How do I retrieve data from SAP structure KKHIE using ABAP code?

As KKHIE is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on KKHIE as there is no data to select.

How to access SAP table KKHIE

Within an ECC or HANA version of SAP you can also view further information about KKHIE and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!