CKPHV SAP (View for CKPH + Text + Control Data) Structure details
Description: View for CKPH + Text + Control Data
Structure field list including key, data, relationships and ABAP select examples
CKPHV 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 "View for CKPH + Text + Control Data" 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_CKPHV TYPE CKPHV.
The CKPHV table consists of various fields, each holding specific information or linking keys about View for CKPH + Text + Control Data data available in SAP. These include MANDT (Client), KSTRG (Cost Object), DATBI (Valid To Date), DATAB (Valid-From Date).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP CKPHV 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
KSTRG | Cost Object | KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
DATBI | Valid To Date | DATBI | DATS | 8 | DATUM | ||||
DATAB | Valid-From Date | DATAB | DATS | 8 | DATUM | ||||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
FUNC_AREA | Functional Area | FKBER | CHAR | 16 | TFKB | FKBER | FBE | ||
OBJNR | Object number | J_OBJNR | CHAR | 22 | ONR00 | J_OBJNR | ONR | ||
UEKTR | CO-PC: Higher-level cost object | CO_UKSTR | CHAR | 12 | Assigned to domain | KSTRG | |||
KTRTY | Cost object type | KK_KTRTYP | NUMC | 2 | KK_KTRTYP | ||||
VAKTR | Person Responsible for Cost Object | KK_VAKTR | CHAR | 20 | KK_VAKTR | ||||
LTEXT | Indicator: Text exists | KTR_LTEXT | CHAR | 1 | XFELD | ||||
ERNAM | Created by | KTR_ERNAM | CHAR | 12 | USNAM | ||||
ERDAT | Created on | KTR_ERDAT | DATS | 8 | DATUM | ||||
AENAM | Last changed by | KTR_AENAM | CHAR | 12 | USNAM | ||||
AEDAT | Changed on | KTR_AEDAT | DATS | 8 | DATUM | ||||
KSTAT | Cost Object Status | KK_KSTAT | NUMC | 2 | KK_KSTAT | ||||
STDAT | Date of last status change | KK_STDAT | DATS | 8 | DATUM | ||||
LOEKZ | Deletion Flag | KTR_LOEKZ | CHAR | 1 | XFELD | ||||
OBJWR | Currency Key | OWAER | CUKY | 5 | TCURC | WAERS | OWS | ||
KVEWE | Usage of the condition table | KVEWE | CHAR | 1 | T681V | KVEWE | KVW | ||
KAPPL | Application | KAPPL | CHAR | 2 | T681A | KAPPL | KAP | ||
KALSM | Costing sheet | KTR_KALSM | CHAR | 6 | T683 | KALSM | |||
ZSCHL | Overhead key | KTR_ZSCHL | CHAR | 6 | CHAR6 | ||||
AWOBA | Variances: Object Type | AWOBA | CHAR | 2 | Assigned to domain | J_OBART | KVO | ||
AWSLS | Variance Key | AWSLS | CHAR | 6 | TKV01 | AWSLS | |||
FCPMG | Distribution Key | SPRED | CHAR | 4 | T821S | SPRED | GSP | ||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
SAPRL | Release the document as it was last saved | KK_SAPRL | CHAR | 4 | CHAR4 | ||||
KTRAT | Cost Object Category | KK_KTRART | CHAR | 4 | Assigned to domain | KK_KTRART | KTA | ||
KALNR | Cost Estimate Number for Cost Est. w/o Qty Structure | CK_KALNR | NUMC | 12 | Assigned to domain | CK_KALNR | KNR | ||
KLVAR | Costing Variant | CK_KLVAR | CHAR | 4 | TCK03 | KLVAR | KRT | ||
LOEKENNZ | Deletion Indicator | KTR_LOEKNZ | CHAR | 1 | XFELD | ||||
KTRZB | Indicator for Time Base of Cost Object | KK_KTRZB | CHAR | 1 | KK_KTRZB | ||||
.INCLU--AP | 0 | ||||||||
FERC_IND | Regulatory indicator | FE_IND | CHAR | 4 | FERC_C7 | ALPHA | FE_IND | ||
KTEXT | Short Text | KTRTEXT | CHAR | 40 | TEXT40 | ||||
SCOPE | Object class (language-independent) | SCOPE | CHAR | 2 | SCOPE |
Key field | Non-key field |
How do I retrieve data from SAP structure CKPHV using ABAP code?
As CKPHV 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 CKPHV as there is no data to select.How to access SAP table CKPHV
Within an ECC or HANA version of SAP you can also view further information about CKPHV 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