KBS1 SAP (CKBS + CKBT) Structure details
Description: CKBS + CKBT
Structure field list including key, data, relationships and ABAP select examples
KBS1 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 "CKBS + CKBT" 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_KBS1 TYPE KBS1.
The KBS1 table consists of various fields, each holding specific information or linking keys about CKBS + CKBT data available in SAP. These include KOKRS (Controlling Area), EXTNR (Base Planning Object (External Number)), OBJID (Cost Estimate Number), KSTAR (Cost Element).. 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: Can be enhanced (character-type or numeric)
SAP KBS1 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 | Assigned to domain | MANDT | |||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
EXTNR | Base Planning Object (External Number) | EXTNR | CHAR | 18 | CKBS | ALPHA | EXTNR | EBT | |
OBJID | Cost Estimate Number | OBJID | CHAR | 10 | OBJID | ||||
KSTAR | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
ESORT | External Sort Field | ESORT | CHAR | 4 | STATE | ||||
ERFNM | Entered by | ERFNM | CHAR | 12 | USNAM | ||||
ERFDT | Created on | ERFDT | DATS | 8 | DATUM | ||||
AENDT | Date of last change | AENDT | DATS | 8 | DATUM | ||||
AENNM | Last changed by | AENNM | CHAR | 12 | USNAM | ||||
FRFLG | Release Flag | FRFLG | CHAR | 1 | YNFLG | ||||
DLFLG | Deletion Flag for Unit Costing | DLFLG | CHAR | 1 | YNFLG | ||||
SPRAS | Language Key | SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
TXN08 | Number of the standard text | TXN08 | CHAR | 8 | TXN08 | ||||
KTEXT | General Name | KTEXT | CHAR | 20 | TEXT20 | ||||
LTEXT | Description | KLTXT | CHAR | 40 | TEXT40 | ||||
BTGRP | Base Planning Object Group | BTGRP | CHAR | 4 | TCK40 | CHAR4 | |||
HWGES | Total Value of Cost Estimate in Local Currency | HWGES | CURR | 15(2) | CVAL8 | ||||
HWAER | Local Currency | HWAER | CUKY | 5 | TCURC | WAERS | |||
LOSGR | Lot Size | MENGE_KPF | QUAN | 15(3) | CQUA8 | ||||
MEEHT | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
VERSA | Current Costing Version Transferred | VERS_AKT | NUMC | 2 | Assigned to domain | VERS2 | |||
VERSM | Highest Costing Version Transferred | VERS_MAX | NUMC | 2 | Assigned to domain | VERS2 | |||
PREIS | Price per Unit of Measure Calculated in Cost Estimate | SPREIS | CURR | 15(2) | CVAL8 | ||||
ANRED | Title | ANRED | CHAR | 15 | TEXT15 | ||||
NAME1 | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
NAME2 | Name 2 | NAME2_GP | CHAR | 35 | NAME | ||||
NAME3 | Name 3 | NAME3_GP | CHAR | 35 | NAME | ||||
NAME4 | Name 4 | NAME4_GP | CHAR | 35 | NAME | ||||
STRAS | House number and street | STRAS_GP | CHAR | 35 | TEXT35 | ||||
PFACH | PO Box | PFACH | CHAR | 10 | PFACH | ||||
PSTL2 | P.O. Box Postal Code | PSTL2 | CHAR | 10 | PSTLZ | ||||
LAND1 | Country Key | LAND1 | CHAR | 3 | T005 | LAND1 | LND | ||
PSTLZ | Postal Code | PSTLZ | CHAR | 10 | PSTLZ | ||||
ORT01 | City | ORT01_GP | CHAR | 35 | TEXT35 | ||||
ORT02 | City | ORT01_GP | CHAR | 35 | TEXT35 | ||||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | T005S | REGIO | |||
INLND | Country Key | LAND1 | CHAR | 3 | T005 | LAND1 | LND | ||
ANZZL | 3-figure data element | KKEK_DEC3 | DEC | 3 | KKEK_DEC3 | ||||
WAREN | Delivery address ID | WAREN | CHAR | 1 | WAREN | ||||
LINE0 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE1 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE2 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE3 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE4 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE5 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE6 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE7 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE8 | Address line | LINES | CHAR | 80 | LINES | ||||
LINE9 | Address line | LINES | CHAR | 80 | LINES | ||||
LINEK | Address line | LINES | CHAR | 80 | LINES | ||||
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 | Assigned to domain | KLVAR | KRT | ||
HWGFX | Fixed Portion of Costing Value in Local Currency | HWFIX | CURR | 15(2) | CVAL8 | ||||
KALSM | Costing Sheet | AUFKALSM | CHAR | 6 | Assigned to domain | KALSM | |||
ZSCHL | Overhead key | AUFZSCHL | CHAR | 6 | CHAR6 |
Key field | Non-key field |
How do I retrieve data from SAP structure KBS1 using ABAP code?
As KBS1 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 KBS1 as there is no data to select.How to access SAP table KBS1
Within an ECC or HANA version of SAP you can also view further information about KBS1 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