CC2SNAMTAB SAP (Control Block Structure Table Fields for C2 Server) Structure details
Description: Control Block Structure Table Fields for C2 Server
Structure field list including key, data, relationships and ABAP select examples
CC2SNAMTAB 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 "Control Block Structure Table Fields for C2 Server" 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_CC2SNAMTAB TYPE CC2SNAMTAB.
The CC2SNAMTAB table consists of various fields, each holding specific information or linking keys about Control Block Structure Table Fields for C2 Server data available in SAP. These include KEYFLAG (Identifies a key field of a table), POSITION (Position of the field in the table), READONLY (Maintenance attribute for view field), LOWERCASE (Lowercase letters allowed/not allowed).. 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: Cannot Be Enhanced
SAP CC2SNAMTAB 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 |
VIEWFIELD | ABAP Dictionary: Name of view field | VIEWFIELD | CHAR | 30 | Assigned to domain | FDNAME | |||
KEYFLAG | Identifies a key field of a table | KEYFLAG | CHAR | 1 | KEYFLAG | ||||
POSITION | Position of the field in the table | TABFDPOS | NUMC | 4 | AS4POS | ||||
READONLY | Maintenance attribute for view field | VFLDROFLAG | CHAR | 1 | VFLDRDONLY | ||||
LOWERCASE | Lowercase letters allowed/not allowed | LOWERCASE | CHAR | 1 | AS4FLAG | ||||
FLENGTH | Internal Length in Bytes | INTLEN | NUMC | 6 | DDLENG | ||||
OUTPUTLEN | Output Length | OUTPUTLEN | NUMC | 6 | DDLENG | ||||
SCRTEXT | Long Field Label | SCRTEXT_L | CHAR | 40 | SCRTEXT_L | ||||
TABIX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
DOMNAME | Domain name | DOMNAME | CHAR | 30 | Assigned to domain | DOMNAME | DD_DOMA | ||
CHECKTABLE | Check table name of the foreign key | CHECKTABLE | CHAR | 30 | Assigned to domain | AS4TAB | |||
INTTYPE | ABAP data type (C,D,N,...) | INTTYPE | CHAR | 1 | INTTYPE | ||||
DATATYPE | Data Type in ABAP Dictionary | DATATYPE_D | CHAR | 4 | DTYPE | DATATYPE | |||
PRIMTABKEY | Position of the field in the table | TABFDPOS | NUMC | 4 | AS4POS | ||||
CONVEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
TEXTTABFLD | CHAR01 data element for SYST | SYCHAR01 | CHAR | 1 | SYCHAR01 | ||||
DECIMALS | Number of Decimal Places | DECIMALS | NUMC | 6 | DDLENG | ||||
SIGN | Flag for sign in numerical fields | SIGNFLAG | CHAR | 1 | AS4FLAG | ||||
LENG | Length (No. of Characters) | DDLENG | NUMC | 6 | DDLENG | ||||
ROLLNAME | Data element (semantic domain) | ROLLNAME | CHAR | 30 | Assigned to domain | ROLLNAME | ROL | DD_DTEL | |
PRTFRKYFLD | CHAR01 data element for SYST | SYCHAR01 | CHAR | 1 | SYCHAR01 | ||||
BASTABNAME | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
BASTABFLD | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
TXTTABFLDN | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
TEXTTABPOS | Offset of a field | DOFFSET | NUMC | 6 | DOFFSET | ||||
TEXTFLDSEL | CHAR01 data element for SYST | SYCHAR01 | CHAR | 1 | SYCHAR01 | ||||
MEMORYID | Set/Get parameter ID | MEMORYID | CHAR | 20 | Assigned to domain | MEMORYID | |||
REFTABLE | Table for reference field | REFTABLE | CHAR | 30 | Assigned to domain | AS4TAB | |||
REFFIELD | Reference field for currency and qty fields | REFFIELD | CHAR | 30 | Assigned to domain | FDNAME | |||
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 |
Key field | Non-key field |
How do I retrieve data from SAP structure CC2SNAMTAB using ABAP code?
As CC2SNAMTAB 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 CC2SNAMTAB as there is no data to select.How to access SAP table CC2SNAMTAB
Within an ECC or HANA version of SAP you can also view further information about CC2SNAMTAB 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