SMPOSCOL SAP (Contains all Fields for Defining Variable Columns) Structure details

Dictionary Type: Structure
Description: Contains all Fields for Defining Variable Columns




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




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

SMPOSCOL 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 "Contains all Fields for Defining Variable Columns" 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_SMPOSCOL TYPE SMPOSCOL.

The SMPOSCOL table consists of various fields, each holding specific information or linking keys about Contains all Fields for Defining Variable Columns data available in SAP. These include COL_ALIGNMENT (Natural Number), COL_WIDTH (Natural Number), COL_WIDTH_CHAR (Flag (X or Blank)), COL_HIDDEN (Flag (X or Blank)).. 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 SMPOSCOL 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
COL_NAMETree Control: Column Name / Item Name TV_ITMNAMECHAR12TM_CHAR12
COL_ALIGNMENTNatural Number INT4INT410INT4
COL_WIDTHNatural Number INT4INT410INT4
COL_WIDTH_CHARFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
COL_HIDDENFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
COL_SELECTABLEFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ITEM_NODE_KEYTree Control: Node Key TV_NODEKEYCHAR12TM_CHAR12
ITEM_ITEM_NAMETree Control: Column Name / Item Name TV_ITMNAMECHAR12TM_CHAR12
ITEM_CLASSNatural Number INT4INT410INT4
ITEM_FONTNatural Number INT4INT410INT4
ITEM_DISABLEDFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ITEM_EDITABLEFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ITEM_HIDDENFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ITEM_ALIGNMENTNatural Number INT4INT410INT4
ITEM_T_IMAGETree Control: Icon / Image TV_IMAGECHAR46TV_IMAGE
ITEM_CHOSENFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ITEM_TOGG_RIGHTFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ITEM_STYLENatural Number INT4INT410INT4
ITEM_LENGTHNatural Number INT4INT410INT4
ITEM_LENGTH_PIXFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ITEM_IGNOREIMAGFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ITEM_USEBGCOLORFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ITEM_TEXTCHAR72 in Screen Painter SCRPCHA72CHAR72SYCHAR72
HDR_NAMEHeader name in a tree control (FuGr CNT4) TV_HDRNAMECHAR72TM_CHAR72
HDR_END_COLTree Control: Column Name / Item Name TV_ITMNAMECHAR12TM_CHAR12
HDR_T_IMAGETree Control: Icon / Image TV_IMAGECHAR46TV_IMAGE
HDR_HEADINGTree Control: Text in Length 132 TV_HEADINGCHAR132TM_CHAR132
HDR_WIDTHNatural Number INT4INT410INT4
HDR_WIDTH_PIXFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
HDR_TYPENatural Number INT4INT410INT4
HDR_ALIGNMENTNatural Number INT4INT410INT4
NUMBEROFROWRow Index of Internal Tables SYTABIXINT410SYST_LONG

Key field Non-key field



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

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

How to access SAP table SMPOSCOL

Within an ECC or HANA version of SAP you can also view further information about SMPOSCOL 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!