SAP CMS_STR_COR_RE_MAIN_OBJ_DOC Documents associated with main object Table data and field list

CMS_STR_COR_RE_MAIN_OBJ_DOC 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 "Documents associated with 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_CMS_STR_COR_RE_MAIN_OBJ_DOC TYPE CMS_STR_COR_RE_MAIN_OBJ_DOC.

The CMS_STR_COR_RE_MAIN_OBJ_DOC table consists of various fields, each holding specific information or linking keys about Documents associated with main object data available in SAP. These include OBJ_GUID (GUID for Real Estate Object), OBJECT_ID (Object ID), OBJECT_TYPE (Real Estate Object Type ID), DOC_REFERENCEID (Reference Document ID)... 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. .

CMS_STR_COR_RE_MAIN_OBJ_DOC structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)


SAP CMS_STR_COR_RE_MAIN_OBJ_DOC structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the CMS_STR_COR_RE_MAIN_OBJ_DOC table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
WA_RE_MAINDOC 0
OBJ_GUIDGUID for Real Estate Object CMS_RE_DTE_OBJ_GUIDRAW16SYSUUIDCMS_RE_OBJ_GUID
OBJECT_IDObject ID CMS_RE_DTE_OBJECT_IDCHAR20ALPHACMS_RE_OBJECT_IDCMS_RE_OBJECT_IDCMS_RE_SRCH_ALL
OBJECT_TYPEReal Estate Object Type ID CMS_RE_DTE_OBJ_TYPCHAR6CMS_RE_TYPCMS_RE_OBJECT_TYPE
DOC_REFERENCEIDReference Document ID CMS_DTE_REF_DOCIDCHAR64CMS_REFID
DOC_TYPEDocument Type CMS_DTE_DOC_TYPCHAR6CMS_DOC_TYPCMS_DOC_TYP
DOC_DATEDocument Date CMS_DTE_DOC_DATEDATS8CMS_DATE
PHYSICAL_LOCNPhysical Location of Document CMS_DTE_DOC_ATT_ID_TY_DOC001CHAR6CMS_ATT_ID_TYP
DOC_VALID_FROMDate on which the Document came into effect CMS_RE_DTE_DOC_VALID_FROMNUMC15TSTPSTZNTSTMPSL
DOC_VALID_TODate until which the Document stands valid CMS_RE_DTE_DOC_VALID_TONUMC15TSTPSTZNTSTMPSL

Key field Non-key field



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

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

How to access SAP table CMS_STR_COR_RE_MAIN_OBJ_DOC

Within an ECC or HANA version of SAP you can also view further information about CMS_STR_COR_RE_MAIN_OBJ_DOC and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).