COLUMNS_ST SAP (DB02: dba_tab_columns (Oracle)) Structure details

Dictionary Type: Structure
Description: DB02: dba_tab_columns (Oracle)




ABAP Code to SELECT data from COLUMNS_ST
Related tables to COLUMNS_ST
Access table COLUMNS_ST




Structure field list including key, data, relationships and ABAP select examples

COLUMNS_ST 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 "DB02: dba_tab_columns (Oracle)" 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_COLUMNS_ST TYPE COLUMNS_ST.

The COLUMNS_ST table consists of various fields, each holding specific information or linking keys about DB02: dba_tab_columns (Oracle) data available in SAP. These include DATA_TYPE (datatype of the column), DATA_LENG (length of the column in bytes), DATA_PREC (length: decimal digits (number) or binary), DATA_SCALE (decimal places).. 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 COLUMNS_ST 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
COLUMN_NColumn name COLUMN_NCHAR30CHAR30
DATA_TYPEdatatype of the column DATA_TYPECHAR10CHAR10
DATA_LENGlength of the column in bytes DATA_LENGINT410
DATA_PREClength: decimal digits (number) or binary DATA_PRECCHAR10CHAR10
DATA_SCALEdecimal places DATA_SCALEINT410
NULLABLEdoes column allow null values? NULLABLE_CCHAR4CHAR4
COLUMN_IDsequence number of the column as created COLUMN_IDDEC14DEC14
DEF_LENGTHlength of default value for the column DEF_LENGTHDEC14DEC14
DATA_DEFdefault value for the column DATA_DEFCHAR14CHAR14
NUM_DISTINnumber of distinct values in the column NUM_DISTINDEC14DEC14
LOW_VALUEthe low value in the column LOW_VALUECHAR14CHAR14
HIGH_VALUEthe high value in the column HIGH_VALUECHAR30CHAR30
DENSITYdensity of the column DENSITYDEC14DEC14
NUM_NULLSnumber of nulls in the column NUM_NULLSDEC14DEC14
NUM_BUCKETNumber of buckets in histogram NUM_BUCKETDEC14DEC14
LAST_ANALdate of the most recent analysis LAST_ANALDATS8DATS
SAMP_SIZEsample size used in analyzing this column SAMP_SIZEDEC14DEC14

Key field Non-key field



How do I retrieve data from SAP structure COLUMNS_ST using ABAP code?

As COLUMNS_ST 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 COLUMNS_ST as there is no data to select.

How to access SAP table COLUMNS_ST

Within an ECC or HANA version of SAP you can also view further information about COLUMNS_ST and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!