KKHIE SAP (General CO-PC Hierarchy Table) Structure details
Description: General CO-PC Hierarchy Table
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 |
HIART | CO-PC Hierarchy Type | CO_HIART | CHAR | 1 | CO_HIART | ||||
STUFE | CO-PC Hierarchy Level | CO_STUFE | NUMC | 2 | CO_STUFE | ||||
ROLLD | Summarization Object | KKP_ROLLD | CHAR | 1 | KKB_HIER | ||||
UOART | Object Type of the Higher-Level Object in CO-PC Hierarchy | CO_UOART | CHAR | 1 | CO_OBART | ||||
UAUFN | Number of the Higher-Level Order in the CO-PC Hierarchy | CO_UAUFN | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ||
UPOSN | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
UKSTR | CO-PC: Higher-level cost object | CO_UKSTR | CHAR | 12 | Assigned to domain | KSTRG | |||
UDATB | Valid To Date | DATBI | DATS | 8 | DATUM | ||||
UWERK | Number of the higher-level plant in the CO-PC hierarchy | CO_UWERK | CHAR | 4 | Assigned to domain | WERKS | |||
UMATN | Number of the higher-level material in the CO-PC hierarchy | CO_UMATN | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
UVRID | CO-PC Hierarchy: Version ID of the Higher-Level Object | CO_VERID | CHAR | 4 | Assigned to domain | VERID | |||
UPROC | Production Process | CKML_F_PROCNR | NUMC | 12 | Assigned to domain | CK_KALNR | CKML_PROCNR | ||
UPLNR | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
UPLNA | Group Counter | PLNAL | CHAR | 2 | ALPHA | ALTNR | PAL | ||
USAUF | Number of higher-level run schedule in the CO-PC hierarchy | CO_SAUFN | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ||
UPSPN | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
OBART | Object Type Within a CO-PC Hierarchy | CO_OBART | CHAR | 1 | CO_OBART | ||||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
POSNR | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
KSTRG | Cost Object | KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
DATBI | Valid To Date | DATBI | DATS | 8 | DATUM | ||||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
VERID | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER | ||
PROCNR | Production Process | CKML_F_PROCNR | NUMC | 12 | Assigned to domain | CK_KALNR | CKML_PROCNR | ||
PLNNR | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
PLNAL | Group Counter | PLNAL | CHAR | 2 | ALPHA | ALTNR | PAL | ||
ARBPL | Work center | ARBPL | CHAR | 8 | ARBPL | AGR | |||
SAUFN | Run schedule header number | SA_AUFNR | CHAR | 12 | Assigned to domain | ALPHA | SA_AUFNR | ||
PSPNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
MARKED | General Flag | FLAG | CHAR | 1 | FLAG | ||||
PICKED | General Flag | FLAG | CHAR | 1 | FLAG |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects