SWUATTRIB SAP (Attribute of Object Type and Path) Structure details
Description: Attribute of Object Type and Path
Structure field list including key, data, relationships and ABAP select examples
SWUATTRIB 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 "Attribute of Object Type and Path" 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_SWUATTRIB TYPE SWUATTRIB.
The SWUATTRIB table consists of various fields, each holding specific information or linking keys about Attribute of Object Type and Path data available in SAP. These include LOBJTYPE (Object Type), VERB (Object type component), VERBTYPE (Verb type (key, attr., method)), ATTRTYPE (Attribute type).. 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 SWUATTRIB 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 |
ATTRIBUTE | 0 | ||||||||
LOBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | OJ_NAME | OBJ | |||
VERB | Object type component | SWO_VERB | CHAR | 32 | SWC_ELEM | ||||
VERBTYPE | Verb type (key, attr., method) | SWO_VERBTP | CHAR | 1 | SWO_VERBTP | ||||
ATTRTYPE | Attribute type | SWO_ATTYPE | CHAR | 1 | SWO_ATTYPE | ||||
REFSTRUCT | Reference table | SWC_REFSTR | CHAR | 30 | AS4TAB | ||||
REFFIELD | Reference field | SWC_REFFLD | CHAR | 30 | FDNAME | ||||
ISTATOTYPE | Object type of object status management | SWO_ISTATO | CHAR | 3 | CHAR3 | ||||
ISTAT | Object status | SWO_ISTAT | CHAR | 5 | CHAR5 | ||||
PROGNAME | Implementation program | SWO_PROGR | CHAR | 40 | PROGNAME | ||||
FORMNAME | Name of the subroutine | SWO_FORM | CHAR | 42 | CHAR42 | ||||
DBFIELD | Database field name | SWC_FLDNAM | CHAR | 61 | CHAR61 | ||||
OBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | OJ_NAME | OBJ | |||
ISINTERF | Interface object type | SWO_ISIF | CHAR | 1 | SWC_BOOL | ||||
CREA_REL | Release at Creation | SWO_CREARE | CHAR | 4 | CHAR4 | ||||
DIALOG | Method with dialog | SWO_DIALOG | CHAR | 1 | SWC_BOOL | ||||
SYNCHRON | Synchronous method | SWO_SYNCH | CHAR | 1 | SWC_BOOL | ||||
RESULT | Method with result parameter | SWO_RESULT | CHAR | 1 | SWC_BOOL | ||||
ELEMTYPE | Element type | SWC_ELEMTP | CHAR | 1 | SWC_ELEMTP | ||||
REFTYPE | Dictionary | SWC_REFTYP | CHAR | 1 | SWC_REFTYP | ||||
TABELEM | Multiline element | SWC_TABELM | CHAR | 1 | SWC_BOOL | ||||
ABAPTYPE | ABAP function type | SWO_METYPE | CHAR | 1 | SWO_METTYP | ||||
ABAPNAME | Name of ABAP Function | SWO_ATTNAM | CHAR | 30 | CHAR30 | ||||
EDITELEM | Element name in upper/lower case | SWC_EDITEL | CHAR | 32 | SWC_EDITEL | ||||
EDITORDER | Editing sequence | SWC_EDITOR | NUMC | 4 | NUMC4 | ||||
MCODE | Search Help (Formerly Matchcode) | SWC_MCODE | CHAR | 30 | SHLPNAME | ||||
INTLENGTH | Internal field length | SWO_INTLEN | NUMC | 6 | NUMC06 | ||||
OFFSET | Offset in key | SWO_INTOFS | NUMC | 2 | NUMC02 | ||||
INTATYPE | ABAP elementary data type | SWO_FLDTYP | CHAR | 1 | INTTYPE | ||||
OUTLENGTH | Output length | SWO_OUTLNG | NUMC | 6 | NUMC06 | ||||
DECIMALS | Number of Decimal Places | DECIMALS | NUMC | 6 | DDLENG | ||||
LOWERCASE | Lowercase letters allowed/not allowed | LOWERCASE | CHAR | 1 | AS4FLAG | ||||
CONVEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
MEMORYID | Set/Get parameter ID | MEMORYID | CHAR | 20 | MEMORYID | ||||
ROLLNAME | Data element (semantic domain) | ROLLNAME | CHAR | 30 | ROLLNAME | ROL | DD_DTEL | ||
DOMNAME | Domain name | DOMNAME | CHAR | 30 | DOMNAME | DD_DOMA | |||
WINHLPIND | WinHelp index | SWO_WINHID | NUMC | 10 | NUMC10 | ||||
DESCRIPT | Name | SWC_DESCR | CHAR | 20 | TEXT20 | ||||
SHORTTEXT | Description | SWC_SHTEXT | CHAR | 80 | TEXT80 | ||||
EVENT | Attribute with change event | SWC_CHEVNT | CHAR | 1 | SWC_BOOL | ||||
COUNTPARAM | Number of parameters in method | SWO_CNTPAR | NUMC | 2 | NUMC2 | ||||
OLEINDEX | OLE verb index | SWO_OLEIND | NUMC | 10 | NUMC10 | ||||
OLETYPE | OLE data type | SWO_OLETYP | NUMC | 5 | NUMC5 | ||||
OLETYPE_P | OLE pointer | SWO_OLEPTR | CHAR | 1 | SWC_BOOL | ||||
OLEARRAY | Number of columns | SWO_OLEARR | CHAR | 1 | SWC_BOOL | ||||
REFOBJTYPE | Reference obj. type | SWO_REFOBJ | CHAR | 10 | OJ_NAME | ||||
OBLIG | Mandatory element | SWC_OBLIG | CHAR | 1 | SWC_BOOL | ||||
ATTRCLASS | Attribute class | SWO_ATTCLS | CHAR | 1 | SWO_ATTCLS | ||||
GUISELECT | Relevant for user interface | SWO_GUISEL | CHAR | 1 | SWC_BOOL | ||||
CLASSVERB | Instance-independent | SWO_CLSVRB | CHAR | 1 | SWC_BOOL | ||||
INVATTRIB | Inverse attribute | SWO_INVATT | CHAR | 32 | SWC_EDITEL | ||||
MODELONLY | Release status verb | SWO_VMODEL | CHAR | 1 | SWO_FLGMOD | ||||
ISAPI | Method is R/3 interface function | SWO_ISAPI | CHAR | 1 | SWC_BOOL | ||||
OBSOLETE | Release in which object type was set as obsolete | SWO_OBSOL | CHAR | 4 | CHAR4 | ||||
FACTORY | Flag: Factory method | SWO_FCTORY | CHAR | 1 | CHAR1_X | ||||
HLPPARAM | Name of a search help parameter | SHLPFIELD | CHAR | 30 | FDNAME | ||||
EVNOINST | Triggering instance for event not available | SWO_EVINST | CHAR | 1 | FLAG | ||||
INTAPI | Flag: Internal API method | SWO_INTAPI | CHAR | 1 | SWC_BOOL | ||||
DDLENGTH | Length (No. of Characters) | DDLENG | NUMC | 6 | DDLENG | ||||
PATH | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure SWUATTRIB using ABAP code?
As SWUATTRIB 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 SWUATTRIB as there is no data to select.How to access SAP table SWUATTRIB
Within an ECC or HANA version of SAP you can also view further information about SWUATTRIB 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