CKHS_VB SAP (CKHS extended by sales document for sales order archiving) Structure details
Description: CKHS extended by sales document for sales order archiving
Structure field list including key, data, relationships and ABAP select examples
CKHS_VB 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 "CKHS extended by sales document for sales order archiving" 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_CKHS_VB TYPE CKHS_VB.
The CKHS_VB table consists of various fields, each holding specific information or linking keys about CKHS extended by sales document for sales order archiving data available in SAP. These include MANDT (Client), LEDNR (Ledger for Controlling objects), BZOBJ (Reference Object), KALNR (Cost Estimate Number for Cost Est. w/o Qty Structure).. 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 CKHS_VB 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 |
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
LEDNR | Ledger for Controlling objects | LEDNR | CHAR | 2 | ALPHA | LEDNR | |||
BZOBJ | Reference Object | CK_OBJ | CHAR | 1 | Assigned to domain | CK_OBJ | |||
KALNR | Cost Estimate Number for Cost Est. w/o Qty Structure | CK_KALNR | NUMC | 12 | Assigned to domain | CK_KALNR | KNR | ||
KALKA | Costing Type | CK_KALKA | CHAR | 2 | Assigned to domain | CK_KALKA | KKA | ||
KADKY | Costing Date (Key) | CK_KADKY | DATS | 8 | CK_KADAT | KKK | |||
TVERS | Costing Version | CK_TVERS | NUMC | 2 | CK_VERSION | VSN | |||
BWVAR | Valuation Variant in Costing | CK_BWVAR | CHAR | 3 | Assigned to domain | CK_BWVAR | BWV | ||
KKZMA | Costs Entered Manually in Additive or Automatic Cost Est. | CK_KKZMA | CHAR | 1 | XFELD | KKM | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
FCPMG | Distribution Key | SPRED | CHAR | 4 | T821S | SPRED | GSP | ||
FROPER | First Valid Period (from Period) | CK_FROPER | NUMC | 3 | POPER | ||||
DIPER | Interval Between Planned Periods | CK_DIPER | NUMC | 3 | POPER | ||||
TOPER | Last Posting Period Allowed | CK_TOPER | NUMC | 3 | POPER | ||||
KKART | Costing Variant (Corresponds to KLVAR) | KKART | CHAR | 4 | TKKEA | KKART | KRT | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
ERFDT | Created on | ERFDT | DATS | 8 | DATUM | ||||
ERFNM | Entered by | ERFNM | CHAR | 12 | USNAM | ||||
AENDT | Date of last change | AENDT | DATS | 8 | DATUM | ||||
AENNM | Last changed by | AENNM | CHAR | 12 | USNAM | ||||
ABSDT | Close date | ABSDT | DATS | 8 | DATUM | ||||
ABSNM | User ID of the person who closed the cost estimate | ABSNM | CHAR | 12 | USNAM | ||||
KRSDT | Exchange Rate Date | KRSDT | DATS | 8 | DATUM | ||||
STATK | Header Status | STATK | CHAR | 4 | STATE | ||||
STRNG | Internal header control | STRNG | CHAR | 4 | STATE | ||||
PSDAT | Pricing Date | PSDAT | DATS | 8 | DATUM | ||||
MENGE | Lot Size | MENGE_KPF | QUAN | 15(3) | CQUA8 | ||||
MEEHT | Valuation Unit of Measure | CK_MEINH_BEW | UNIT | 3 | T006 | CUNIT | MEINS | ||
HWGES | Total Value of Cost Estimate in Local Currency | HWGES | CURR | 15(2) | CVAL8 | ||||
HWGFX | Fixed Portion of Costing Value in Local Currency | HWFIX | CURR | 15(2) | CVAL8 | ||||
FWGES | Total Value for Cost Estimate in Foreign Currency | FWGES | CURR | 15(2) | CVAL8 | ||||
HWAER | Local Currency | HWAER | CUKY | 5 | TCURC | WAERS | |||
FWAER | Foreign Currency in Header | FWAER | CUKY | 5 | TCURC | WAERS | |||
UKURS | Exchange Rate | UKURS_D | DEC | 9(5) | UKURS | ||||
KURST | Exchange Rate Type | KURST | CHAR | 4 | TCURV | KURST | KUT | ||
FFACT | Factor for the 'From' Currency Units | FFACT | DEC | 9 | DEC9 | ||||
TFACT | Factor for the 'To' Currency Units | TFACT_D | DEC | 9 | DEC9 | ||||
GWRT1 | Total Value of Price Component 1 | GWRT1 | CURR | 15(2) | CVAL8 | ||||
GWRT2 | Total Value of Price Component 1 | GWRT1 | CURR | 15(2) | CVAL8 | ||||
GWRT3 | Total Value of Price Component 1 | GWRT1 | CURR | 15(2) | CVAL8 | ||||
GWRT4 | Total Value of Price Component 1 | GWRT1 | CURR | 15(2) | CVAL8 | ||||
GWRT5 | Total Value of Price Component 1 | GWRT1 | CURR | 15(2) | CVAL8 | ||||
STFLG | Sales Order Cost Estimate Is Marked | STFLG | CHAR | 1 | YNFLG | ||||
ZTFLG | Flag for time-based unit costing | DZTFLG | CHAR | 1 | YNFLG | ||||
FVFLG | Fixed/Variable Indicator | FVFLG | CHAR | 1 | FVFLG | ||||
DLFLG | Deletion Flag for Unit Costing | DLFLG | CHAR | 1 | YNFLG | ||||
FRFLG | Release Flag | FRFLG | CHAR | 1 | YNFLG | ||||
PRVFN | Pricing procedure | PRVFN | CHAR | 1 | PRVFN | ||||
PKANZ | Number of Price Components | PKANZ | NUMC | 1 | NUM01 | ||||
PSANZ | Number of Costing Items | CK_PSANZ | NUMC | 5 | Assigned to domain | CK_POSNR | |||
KNNZ1 | Cost Estimate Created with Excel | KK_KZEXL | CHAR | 1 | CHAR1 | ||||
KNNZ2 | Indicator - Postprocessing of product cost estimate | KK_KZEZN | CHAR | 1 | CHAR1 | ||||
KNNZ3 | Unit Costing Indicator | KZCHN | CHAR | 1 | CHAR1 | ||||
KNNZ4 | Unit Costing Indicator | KZCHN | CHAR | 1 | CHAR1 | ||||
KNNZ5 | Unit Costing Indicator | KZCHN | CHAR | 1 | CHAR1 | ||||
ME_SUMM1 | Unit of Measure for Quantity Total | CK_MESUMM | UNIT | 3 | T006 | CUNIT | MEINS | ||
SUMM1_KPF | Quantities total for item category S | SUMME_MNG | QUAN | 15(3) | CQUA8 | ||||
SUMM2_KPF | Capital Spending Total for Item Category S | SUMME_INV | CURR | 15(2) | CVAL8 | ||||
SUMM3_KPF | Total of two or more items | SUMME_POS | CURR | 15(2) | CVAL8 | ||||
EXTNR | Base Planning Object (External Number) | EXTNR | CHAR | 18 | CKBS | ALPHA | EXTNR | EBT | |
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
AUFNR | Order Number | AUFNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
KSTAR | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
HRKFT | Origin Group as Subdivision of Cost Element | HRKFT | CHAR | 4 | Assigned to domain | HRKFT | |||
KALSM | Costing Sheet | AUFKALSM | CHAR | 6 | Assigned to domain | KALSM | |||
ZSCHL | Overhead key | AUFZSCHL | CHAR | 6 | CHAR6 | ||||
TEMPLATE | Template | ABC_TEMPL | CHAR | 10 | Assigned to domain | ABC_TEMPL | ABT | ||
OBJNR | Object number | J_OBJNR | CHAR | 22 | ONR00 | J_OBJNR | ONR | ||
TWGES | Total Value in Item Foreign Currency | TWGES | CURR | 15(2) | CVAL8 | ||||
TKURST | Exchange Rate Type for Item Foreign Currency | TKURST | CHAR | 4 | TCURV | KURST | |||
TWAER | Item Foreign Currency | KKTWAER | CUKY | 5 | TCURC | WAERS | |||
KKBWVAR | Valuation Variant in Costing | KK_BWVAR | CHAR | 3 | TCK05 | CK_BWVAR | |||
KKSAPRL | Release the document as it was last saved | KK_SAPRL | CHAR | 4 | CHAR4 | ||||
TKURS | Exchange Rate for Item Foreign Currency | TKURS | DEC | 9(5) | UKURS | ||||
KZROH | Material Component | CK_KZROH | CHAR | 1 | XFELD | ||||
FILEPATH | Description | KK_PATH | CHAR | 66 | PC_PATH | ETT | |||
FILENAME | File or Macro Name for Communication with MS Excel | KKXL_NAME | CHAR | 12 | PC_FNAME_E | ||||
CKCM | Costing Model | CK_COSTMODEL | CHAR | 10 | CKCM | ABC_TEMPL | CK_COSTMODEL | ||
CKCMV | Costing Model: Model Instance | CKI_MODELINSTANCE | NUMC | 15 | CKCMV | CKI_MODELINSTANCE | |||
MAXCID | PCP: Highest Component ID Already Assigned | CK_MAX_COMPONENT_ID | NUMC | 7 | |||||
INTHIER | PCP: Cost Estimate Contains Internal Hierarchy | CK_INT_HIERARCHY | CHAR | 1 | CHAR1 | ||||
LOG_HANDLE | Application Log: Log Handle | BALLOGHNDL | CHAR | 22 | SYSUUID_22 |
Key field | Non-key field |
How do I retrieve data from SAP structure CKHS_VB using ABAP code?
As CKHS_VB 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 CKHS_VB as there is no data to select.How to access SAP table CKHS_VB
Within an ECC or HANA version of SAP you can also view further information about CKHS_VB 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