KLBEST SAP (Overview of Position Information) Structure details
Description: Overview of Position Information
Structure field list including key, data, relationships and ABAP select examples
KLBEST 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 "Overview of Position Information" 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_KLBEST TYPE KLBEST.
The KLBEST table consists of various fields, each holding specific information or linking keys about Overview of Position Information data available in SAP. These include BKNZTXT (Text for Key Figure Category), EGARNR (Risk Line Item Identifier for Online/External Transactions), MANDT (Client), EGOBJNR (Object Number for Single Transactions).. 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: Cannot Be Enhanced
SAP KLBEST 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 |
OBJTXT | Transaction description | TB_OBJTXT | CHAR | 80 | TEXT80 | ||||
BKNZTXT | Text for Key Figure Category | JBRKNZTYP_TXT | CHAR | 60 | KL_CHAR60 | ||||
EGARNR | Risk Line Item Identifier for Online/External Transactions | KL_ARNR | CHAR | 20 | CHAR20 | ||||
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
EGOBJNR | Object Number for Single Transactions | KL_EGOBJNR | CHAR | 22 | KLREP | J_OBJNR | |||
BESTOBJNR | Object Number for Positions | KL_BESTOBJNR | CHAR | 22 | JBKLOBJ1 | J_OBJNR | |||
BKNZTYP | Key Figure Category | JBRKNZTYP | CHAR | 4 | Assigned to domain | JBRKNZTYP | |||
DGUEL | Validity Date | KL_DGUEL | DATS | 8 | SYDATS | ||||
BBKNZ | Amount of the Basic Key Figure | KL_BBKNZ | CURR | 17(2) | KL_AMOUNT | ||||
SBKNZ | Currency of Basic Key Figure | KL_SBKNZ | CUKY | 5 | Assigned to domain | WAERS |
Key field | Non-key field |
How do I retrieve data from SAP structure KLBEST using ABAP code?
As KLBEST 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 KLBEST as there is no data to select.How to access SAP table KLBEST
Within an ECC or HANA version of SAP you can also view further information about KLBEST 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