KALCB_REF SAP (Buffer Table for Formulas) Structure details
Description: Buffer Table for Formulas
Structure field list including key, data, relationships and ABAP select examples
KALCB_REF 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 "Buffer Table for Formulas" 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_KALCB_REF TYPE KALCB_REF.
The KALCB_REF table consists of various fields, each holding specific information or linking keys about Buffer Table for Formulas data available in SAP. These include MANDT (Client), APPLID (Application of material quantity calculation), FORM_KEY (Formula key of material quantity calculation), VERSION (Version number of formulas).. 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 KALCB_REF 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 | |||
APPLID | Application of material quantity calculation | CALC_APPL | CHAR | 2 | CALC_APPL | ||||
FORM_KEY | Formula key of material quantity calculation | CALC_KEY | CHAR | 30 | CALC_KEY | ||||
VERSION | Version number of formulas | CALC_VERS | CHAR | 12 | Assigned to domain | AENNR | AENNR | ||
LINE | Item of an object | CALC_LINE | NUMC | 4 | CALC_LINE | ||||
ROW_POS | Line item number | CALC_POS | NUMC | 4 | CALC_LINE | ||||
ROW_ID | Object ID | CALC_OBJID | CHAR | 30 | CALC_OB_ID | ||||
ROW_TEXT | Object description | CALC_TEXT | CHAR | 30 | CALC_OBJ | ||||
COL_POS | Line item number | CALC_POS | NUMC | 4 | CALC_LINE | ||||
COL_ID | Object ID | CALC_OBJID | CHAR | 30 | CALC_OB_ID | ||||
COL_TEXT | Object description | CALC_TEXT | CHAR | 30 | CALC_OBJ | ||||
COL_UOM | Unit of measure in material quantity calculation | CALC_UOM | UNIT | 3 | CALC_UOM | ||||
VALUE | Quantity calculation value (no longer used) | CALC_VAL2 | DEC | 12(4) | DECV8_4 | ||||
FORMULA | Formula in material quantity calculation | CALC_FORM | CHAR | 250 | CALC_FORM | ||||
FORM_IND | Formula indicator | CALC_IND | CHAR | 1 | CALC_IND | ||||
FORM_ORD | Line number in material quantity calculation | CALC_SEQ | NUMC | 3 | CALC_SEQ | ||||
VALUE_FLT | Field of type FLTP | FLOAT | FLTP | 16(16) | FLTP | ||||
IND | Formula indicator | CALC_IND | CHAR | 1 | CALC_IND | ||||
SIGN | Formula indicator | CALC_IND | CHAR | 1 | CALC_IND | ||||
OBJKZ | Object of material quantity calculation | ROW_OBJECT | NUMC | 1 | ROW_OBJECT | ||||
SELKZ | Selection flag | SELKZ | CHAR | 1 | SELKZ | ||||
VBKZ | Update indicator | VBKZ | CHAR | 1 | VERBUCHER |
Key field | Non-key field |
How do I retrieve data from SAP structure KALCB_REF using ABAP code?
As KALCB_REF 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 KALCB_REF as there is no data to select.How to access SAP table KALCB_REF
Within an ECC or HANA version of SAP you can also view further information about KALCB_REF 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