SPAR_N_A SAP (Parameter Storage: Target Structure for Read Join) Structure details
Description: Parameter Storage: Target Structure for Read Join
Structure field list including key, data, relationships and ABAP select examples
SPAR_N_A 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: Target Structure for Read Join" 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_N_A TYPE SPAR_N_A.
The SPAR_N_A table consists of various fields, each holding specific information or linking keys about Parameter Storage: Target Structure for Read Join data available in SAP. These include OBJNAME (Name of Dictionary Type), REFOBJ (Name of Dictionary Type), REFERENCE (Name of Dictionary Type), OBJTYPE (Table category).. 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_N_A 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 |
NAMETAB | 0 | ||||||||
OBJNAME | Name of Dictionary Type | TYPENAME | CHAR | 30 | OBJECTNAME | DTYP | DD_TYPES | ||
REFOBJ | Name of Dictionary Type | TYPENAME | CHAR | 30 | OBJECTNAME | DTYP | DD_TYPES | ||
REFERENCE | Name of Dictionary Type | TYPENAME | CHAR | 30 | OBJECTNAME | DTYP | DD_TYPES | ||
OBJTYPE | Table category | TABCLASS | CHAR | 8 | TABCLASS | ||||
SEQID | Sequence number | 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 | |||
DPOSITION | Position of the field in the table | TABFDPOS | NUMC | 4 | AS4POS | ||||
DOFFSET | 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 | ||||
ASSIGNMENT | 0 | ||||||||
OBJNAME | Name of Dictionary Type | TYPENAME | CHAR | 30 | OBJECTNAME | DTYP | DD_TYPES | ||
PARNAME | Parameter Storage: General name | SPAR_NAME | CHAR | 60 | CHAR60 | ||||
PARTYPE | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
REFOBJ | Name of Dictionary Type | TYPENAME | CHAR | 30 | OBJECTNAME | DTYP | DD_TYPES | ||
USERNAME | User name | USERNAME | CHAR | 12 | USERNAME | ||||
GK_DATE | Allocation Date | 0 | |||||||
GK_TIME | Allocation Time | 0 | |||||||
PDTYPE | Data Type in ABAP Dictionary | DATATYPE_D | CHAR | 4 | DTYPE | DATATYPE | |||
PITYPE | ABAP data type (C,D,N,...) | INTTYPE | CHAR | 1 | INTTYPE | ||||
PDLEN | Length (No. of Characters) | DDLENG | NUMC | 6 | DDLENG | ||||
PSORT | Sort Sequence | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure SPAR_N_A using ABAP code?
As SPAR_N_A 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_N_A as there is no data to select.How to access SAP table SPAR_N_A
Within an ECC or HANA version of SAP you can also view further information about SPAR_N_A 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