NTAB_CMP30 SAP (Nametab of View or Table for Nametab Comparison) Structure details

Dictionary Type: Structure
Description: Nametab of View or Table for Nametab Comparison




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




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

NTAB_CMP30 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 "Nametab of View or Table for Nametab Comparison" 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_NTAB_CMP30 TYPE NTAB_CMP30.

The NTAB_CMP30 table consists of various fields, each holding specific information or linking keys about Nametab of View or Table for Nametab Comparison data available in SAP. These include VARIANT (extended table maintenance: Name of a selection variant), FIELDNAME (Field name), TXTFIELD (Flag (X or Blank)), FOFFSET (Offset of a field).. 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 NTAB_CMP30 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
VIEWNAMEName of SAP table view OLD_VIEWNCHAR10OLD_VIEWNDVI
VARIANTextended table maintenance: Name of a selection variant VIM_VARICHAR14Assigned to domainVIM_VARI
FIELDNAMEField name OLD_FDNAMECHAR10OLD_FDNAME
TXTFIELDFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
FOFFSETOffset of a field DOFFSETNUMC6DOFFSET
INTLENInternal Length in Bytes INTLENNUMC6DDLENG
DECIMALSNumber of Decimal Places DECIMALSNUMC6DDLENG
SIGNFlag for sign in numerical fields SIGNFLAGCHAR1AS4FLAG
INTTYPEABAP data type (C,D,N,...) INTTYPECHAR1INTTYPE
DATATYPEData Type in ABAP Dictionary DATATYPE_DCHAR4DTYPEDATATYPE
DOMNAMEDomain name OLD_DOMNAMCHAR10OLD_DOMNAM
ROLLNAMEData Element (Semantic Domain) OLD_ROLLNCHAR10OLD_ROLLN
KEYFLAGIdentifies a key field of a table KEYFLAGCHAR1KEYFLAG
PRTFRKYFLDCHAR01 data element for SYST SYCHAR01CHAR1SYCHAR01
CLI_FIELDFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
CHECKTABLETable Name OLD_TABNAMCHAR10OLD_TABNAMDTB
REFTABLETable Name OLD_TABNAMCHAR10OLD_TABNAMDTB
REFFIELDField name OLD_FDNAMECHAR10OLD_FDNAME
READONLYMaintenance attribute for view field VFLDROFLAGCHAR1VFLDRDONLY
FLAGFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
LANGULanguage Key DDLANGUAGELANG1Assigned to domainISOLASPRAS
OUTPUTLENOutput Length OUTPUTLENNUMC6DDLENG
CONVEXITConversion Routine CONVEXITCHAR5CONVEXIT
FIELDTEXTShort Description of Repository Objects AS4TEXTCHAR60AS4TEXT
REPTEXTHeading REPTEXTCHAR55REPTEXT
SCRTEXT_SShort Field Label SCRTEXT_SCHAR10SCRTEXT_S
SCRTEXT_MMedium Field Label SCRTEXT_MCHAR20SCRTEXT_M
SCRTEXT_LLong Field Label SCRTEXT_LCHAR40SCRTEXT_L
TEXTHeading REPTEXTCHAR55REPTEXT
WIDTHOutput Length OUTPUTLENNUMC6DDLENG
WIDTH_CUSTOutput Length OUTPUTLENNUMC6DDLENG
NT_INDEXIternal table index AD_INDEXINT410INT4
CMP_FLAGVersion Number Component CHAR2CHAR2CHAR2
COMPAREFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ADJUSTFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
VISIBLEFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
FIELD_POSPosition of the field in the table TABFDPOSNUMC4AS4POS

Key field Non-key field



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

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

How to access SAP table NTAB_CMP30

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