SADT_MAIN_OBJECT SAP (Main object) Structure details
Description: Main object
Related tables to SADT_MAIN_OBJECT
Access table SADT_MAIN_OBJECT
Structure field list including key, data, relationships and ABAP select examples
SADT_MAIN_OBJECT 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 "Main object" 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_SADT_MAIN_OBJECT TYPE SADT_MAIN_OBJECT.
The SADT_MAIN_OBJECT table consists of various fields, each holding specific information or linking keys about Main object data available in SAP. These include NAME (Object Name in Object ListName of the referenced entity - optional), TYPE (Type (workbench type) of the referenced entity - optional), VERSION (WB object version), CHANGED_AT (XSD Time (UTC): yyyy-mm-ddThh:mm:ssZ [ext.]).. 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 SADT_MAIN_OBJECT 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 |
NAME | Object Name in Object List Name of the referenced entity - optional | TROBJ_NAME | CHAR | 120 | TROBJ_NAME | ||||
TYPE | Type (workbench type) of the referenced entity - optional | 0 | |||||||
VERSION | WB object version | SADT_OBJ_VERSION | CHAR | 20 | SADT_OBJ_VERSION | ||||
CHANGED_AT | XSD Time (UTC): yyyy-mm-ddThh:mm:ssZ [ext.] | XSDDATETIME_Z | DEC | 15 | XSDDATETIME_Z | ||||
CHANGED_BY | User Name | SYUNAME | CHAR | 12 | SYCHAR12 | ||||
CREATED_AT | XSD Time (UTC): yyyy-mm-ddThh:mm:ssZ [ext.] | XSDDATETIME_Z | DEC | 15 | XSDDATETIME_Z | ||||
CREATED_BY | User Name | SYUNAME | CHAR | 12 | SYCHAR12 | ||||
DESCRIPTION | Description of the referenced entity - optional | 0 | |||||||
LANGUAGE | XSD Language Key (Double-Digit): SS [ext.] | XSDLANGUAGE | LANG | 1 | ISOLA | XSDLANGUAGE | SPR | H_T002 | |
CONTAINER_REF | 0 | ||||||||
URI | URI - mandatory client response, optional for client request | 0 | |||||||
TYPE | Type (workbench type) of the referenced entity - optional | 0 | |||||||
NAME | Name of the referenced entity - optional | 0 | |||||||
PARENT_URI | URI of parent reference - optional | 0 | |||||||
PACKAGE_NAME | Package name of the referenced entity- optional | 0 | |||||||
DESCRIPTION | Description of the referenced entity - optional | 0 | |||||||
RESPONSIBLE | Person Responsible for a Repository Object | RESPONSIBL | CHAR | 12 | AS4USER | USER_ADDR | |||
MASTER_LANGUAGE | XSD Language Key (Double-Digit): SS [ext.] | XSDLANGUAGE | LANG | 1 | ISOLA | XSDLANGUAGE | SPR | H_T002 | |
MASTER_SYSTEM | Original System of Object | SRCSYSTEM | CHAR | 10 | SYSNAME | ||||
PACKAGE_REF | 0 | ||||||||
URI | URI - mandatory client response, optional for client request | 0 | |||||||
TYPE | Type (workbench type) of the referenced entity - optional | 0 | |||||||
NAME | Name of the referenced entity - optional | 0 | |||||||
PARENT_URI | URI of parent reference - optional | 0 | |||||||
PACKAGE_NAME | Package name of the referenced entity- optional | 0 | |||||||
DESCRIPTION | Description of the referenced entity - optional | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure SADT_MAIN_OBJECT using ABAP code?
As SADT_MAIN_OBJECT 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 SADT_MAIN_OBJECT as there is no data to select.How to access SAP table SADT_MAIN_OBJECT
Within an ECC or HANA version of SAP you can also view further information about SADT_MAIN_OBJECT 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