SPAR_NTAB SAP (Parameter Storage: Nametab) Structure details
Description: Parameter Storage: Nametab
Structure field list including key, data, relationships and ABAP select examples
SPAR_NTAB 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 "Parameter Storage: Nametab" 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_SPAR_NTAB TYPE SPAR_NTAB.
The SPAR_NTAB table consists of various fields, each holding specific information or linking keys about Parameter Storage: Nametab data available in SAP. These include OBJNAME (Name of Dictionary Type), OBJTYPE (Table category), REFOBJECT (Name of Dictionary Type), FUSER (Created by).. 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 SPAR_NTAB 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 |
GUID | UUID in character form | SYSUUID_C | CHAR | 32 | SYSUUID_C | ||||
OBJNAME | Name of Dictionary Type | TYPENAME | CHAR | 30 | OBJECTNAME | DTYP | DD_TYPES | ||
OBJTYPE | Table category | TABCLASS | CHAR | 8 | TABCLASS | ||||
REFOBJECT | Name of Dictionary Type | TYPENAME | CHAR | 30 | OBJECTNAME | DTYP | DD_TYPES | ||
FUSER | Created by | HIER_FUSER | CHAR | 12 | HIER_USER | ||||
FDATE | Created on | HIER_FDATE | DATS | 8 | SYDATS | ||||
FTIME | Created at | HIER_FTIME | TIMS | 6 | SYTIME | ||||
FRELEASE | Release of SAP System | SYSAPRL | CHAR | 4 | SYCHAR04 | ||||
LUSER | Last changed by | HIER_LUSER | CHAR | 12 | HIER_USER | ||||
LDATE | Last Changed On | HIER_LDATE | DATS | 8 | SYDATS | ||||
LTIME | Time of Last Change | HIER_LTIME | TIMS | 6 | SYTIME | ||||
LRELEASE | Release of SAP System | SYSAPRL | CHAR | 4 | SYCHAR04 | ||||
OBJDFIES | 0 | ||||||||
TABNAME | Table Name | TABNAME | CHAR | 30 | AS4TAB | DTB | |||
FIELDNAME | Field Name | FIELDNAME | CHAR | 30 | FDNAME | DFD | |||
LANGU | Language Key | DDLANGUAGE | LANG | 1 | ISOLA | SPRAS | |||
POSITION | Position of the field in the table | TABFDPOS | NUMC | 4 | AS4POS | ||||
OFFSET | Offset of a field | DOFFSET | NUMC | 6 | DOFFSET | ||||
DOMNAME | Domain name | DOMNAME | CHAR | 30 | DOMNAME | DD_DOMA | |||
ROLLNAME | Data element (semantic domain) | ROLLNAME | CHAR | 30 | ROLLNAME | ROL | DD_DTEL | ||
CHECKTABLE | Table Name | TABNAME | CHAR | 30 | AS4TAB | DTB | |||
LENG | Length (No. of Characters) | DDLENG | NUMC | 6 | DDLENG | ||||
INTLEN | Internal Length in Bytes | INTLEN | NUMC | 6 | DDLENG | ||||
OUTPUTLEN | Output Length | OUTPUTLEN | NUMC | 6 | DDLENG | ||||
DECIMALS | Number of Decimal Places | DECIMALS | NUMC | 6 | DDLENG | ||||
DATATYPE | ABAP/4 Dictionary: Screen data type for Screen Painter | DYNPTYPE | CHAR | 4 | DATATYPE | ||||
INTTYPE | ABAP data type (C,D,N,...) | INTTYPE | CHAR | 1 | INTTYPE | ||||
REFTABLE | Table for reference field | REFTABLE | CHAR | 30 | AS4TAB | ||||
REFFIELD | Reference field for currency and qty fields | REFFIELD | CHAR | 30 | FDNAME | ||||
PRECFIELD | Name of included table | PRECFIELD | CHAR | 30 | FDNAME | ||||
AUTHORID | Authorization class | AUTHORID | CHAR | 3 | AUTHORID | ||||
MEMORYID | Set/Get parameter ID | MEMORYID | CHAR | 20 | MEMORYID | ||||
LOGFLAG | Indicator for writing change documents | LOGFLAG | CHAR | 1 | AS4FLAG | ||||
MASK | Template (not used) | AS4MASK | CHAR | 20 | AS4MASK | ||||
MASKLEN | Template length (not used) | MASKLEN | NUMC | 4 | MASKLEN | ||||
CONVEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
HEADLEN | Maximum length of heading | HEADLEN | NUMC | 2 | SCRLEN | ||||
SCRLEN1 | Max. length for short field label | SCRLEN_S | NUMC | 2 | SCRLEN | ||||
SCRLEN2 | Max. length for medium field label | SCRLEN_M | NUMC | 2 | SCRLEN | ||||
SCRLEN3 | Max. length for long field label | SCRLEN_L | NUMC | 2 | SCRLEN | ||||
FIELDTEXT | Short Description of Repository Objects | AS4TEXT | CHAR | 60 | AS4TEXT | ||||
REPTEXT | Heading | REPTEXT | CHAR | 55 | REPTEXT | ||||
SCRTEXT_S | Short Field Label | SCRTEXT_S | CHAR | 10 | SCRTEXT_S | ||||
SCRTEXT_M | Medium Field Label | SCRTEXT_M | CHAR | 20 | SCRTEXT_M | ||||
SCRTEXT_L | Long Field Label | SCRTEXT_L | CHAR | 40 | SCRTEXT_L | ||||
KEYFLAG | Identifies a key field of a table | KEYFLAG | CHAR | 1 | KEYFLAG | ||||
LOWERCASE | Lowercase letters allowed/not allowed | LOWERCASE | CHAR | 1 | AS4FLAG | ||||
MAC | Flag if search help is attached to the field | DDSHATTACH | CHAR | 1 | DDBOOL | ||||
GENKEY | Flag (X or Blank) | AS4FLAG | CHAR | 1 | AS4FLAG | ||||
NOFORKEY | Flag (X or Blank) | AS4FLAG | CHAR | 1 | AS4FLAG | ||||
VALEXI | Existence of fixed values | VALEXI | CHAR | 1 | AS4FLAG | ||||
NOAUTHCH | Flag (X or Blank) | AS4FLAG | CHAR | 1 | AS4FLAG | ||||
SIGN | Flag for sign in numerical fields | SIGNFLAG | CHAR | 1 | AS4FLAG | ||||
DYNPFLD | Flag: field to be displayed on the screen | DYNPROFLD | CHAR | 1 | AS4FLAG | ||||
F4AVAILABL | Does the field have an input help | DDF4AVAIL | CHAR | 1 | DDBOOL | ||||
COMPTYPE | DD: Component Type | COMPTYPE | CHAR | 1 | COMPTYPE | ||||
LFIELDNAME | Field name | FNAM_____4 | CHAR | 132 | DYNFNAM | ||||
LTRFLDDIS | Basic write direction has been defined LTR (left-to-right) | DDLTRFLDDI | CHAR | 1 | DDBOOL | ||||
BIDICTRLC | DD: No Filtering of BIDI Formatting Characters | DDBIDICTRL | CHAR | 1 | DDBOOL | ||||
OUTPUTSTYLE | DD: Output Style (Output Style) for Decfloat Types | OUTPUTSTYLE | NUMC | 2 | OUTPUTSTYLE | ||||
NOHISTORY | DD: Flag for Deactivating Input History in Screen Field | DDNOHISTORY | CHAR | 1 | DDBOOL | ||||
AMPMFORMAT | DD: Indicator whether AM/PM time format is required | DDAMPMFORMAT | CHAR | 1 | DDAMPMFORMAT |
Key field | Non-key field |
How do I retrieve data from SAP structure SPAR_NTAB using ABAP code?
As SPAR_NTAB 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 SPAR_NTAB as there is no data to select.How to access SAP table SPAR_NTAB
Within an ECC or HANA version of SAP you can also view further information about SPAR_NTAB 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