API_CLDAT SAP (Class Data) Structure details
Description: Class Data
Structure field list including key, data, relationships and ABAP select examples
API_CLDAT 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 "Class 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_API_CLDAT TYPE API_CLDAT.
The API_CLDAT table consists of various fields, each holding specific information or linking keys about Class Data data available in SAP. These include CL_TYPE (Class Type), STATU (Class status), KLAGR (Class Group), SICHT (Organizational Area).. 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 API_CLDAT 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 |
CLASS | Class number | KLASSE_D | CHAR | 18 | KLASSE | KLA | |||
CL_TYPE | Class Type | KLASSENART | CHAR | 3 | Assigned to domain | KLASSENART | KAR | ||
STATU | Class status | KLSTATUS | CHAR | 1 | Assigned to domain | KLSTATUS | |||
KLAGR | Class Group | KLASSENGR | CHAR | 10 | Assigned to domain | KLASSENGR | KGR | ||
SICHT | Organizational Area | ABTEILUNG | CHAR | 10 | CHAR10 | VIEW | |||
VONDT | Valid-From Date | VONDAT | DATS | 8 | DATUM | ||||
BISDT | Valid-to date | BISDAT | DATS | 8 | DATUM | ||||
BGRKP | Class maintenance authorization group | BGRKP | CHAR | 3 | BERGR | ||||
BGRKL | Classification authorization group | BGRKL | CHAR | 3 | BERGR | ||||
BGRSE | Authorization group for finding objects | BGRSE | CHAR | 3 | BERGR | ||||
PRAUS | No Check for Same Classification | PRAUSP | CHAR | 1 | XFELD | ||||
WAAUS | Check for Same Classification with Warning | WAUSP | CHAR | 1 | XFELD | ||||
ERAUS | Check for Same Classification with Error Message | EAUSP | CHAR | 1 | XFELD | ||||
LOCLA | Local class | LOCAL_CLASS | CHAR | 1 | XFELD | ||||
KATALOG | Name of External Catalog | KATALOGNAME | CHAR | 30 | CHAR30 | ||||
DOKNR | Document number | DOKNR | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | CV1 | |
DOKAR | Document Type | DOKAR | CHAR | 3 | Assigned to domain | DOKAR | CV2 | ||
DOKTL | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
DOKVR | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
NNORM | Name of standards organization | NORM | CHAR | 10 | TEXT10 | ||||
NORMN | Standard Number | NORMNR | CHAR | 20 | TEXT20 | ||||
AUSGD | Issue date | AUSGDT | DATS | 8 | DATUM | ||||
VERSD | Version date | VERSDT | DATS | 8 | DATUM | ||||
VERSI | Version Number | VERSIO | NUMC | 2 | VERSNR | ||||
LEIST | Characteristics table | LEISTE | CHAR | 20 | LEISTE | ||||
VWSTL | Can Be Used in Bills of Material | VWSTL | CHAR | 1 | XFELD | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
POTPR | Resulting item category | POTPR_CL | CHAR | 1 | Assigned to domain | POSTP | |||
CVIEW | Organizational Area | ABTEILUNG | CHAR | 10 | CHAR10 | VIEW | |||
CLOBK | Required Component | CLOBK | CHAR | 1 | XFELD | ||||
CLMUL | Multiple Selection Allowed | CLMULT | CHAR | 1 | XFELD | ||||
FLDELETE | Deletion Indicator | FLLKENZ | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure API_CLDAT using ABAP code?
As API_CLDAT 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 API_CLDAT as there is no data to select.How to access SAP table API_CLDAT
Within an ECC or HANA version of SAP you can also view further information about API_CLDAT 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