OSM_STRUCT SAP (Object Services Metadata: Structure) Structure details
Description: Object Services Metadata: Structure
Structure field list including key, data, relationships and ABAP select examples
OSM_STRUCT 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 "Object Services Metadata: Structure" 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_OSM_STRUCT TYPE OSM_STRUCT.
The OSM_STRUCT table consists of various fields, each holding specific information or linking keys about Object Services Metadata: Structure data available in SAP. These include CLSNAME (Object Type Name), CMPNAME (Component name), VERSION (Version indicator (active/inactive)), LANGU (Language Key).. 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 OSM_STRUCT 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 |
HEAD | 0 | ||||||||
CLSNAME | Object Type Name | SEOCLSNAME | CHAR | 30 | SEOCLSNAME | CLASS | |||
CMPNAME | Component name | SEOCMPNAME | CHAR | 30 | CHAR30 | ||||
VERSION | Version indicator (active/inactive) | SEOVERSION | NUMC | 1 | SEOVERSION | ||||
LANGU | Language Key | LANGU | LANG | 1 | ISOLA | SPRAS | |||
DESCRIPT | Short Description | SEODESCR | CHAR | 60 | AS4TEXT | ||||
ALIAS | Indicator alias component | SEOALIAS | CHAR | 1 | CHAR1_X | ||||
EXPOSURE | Visibility of a class or component | SEOEXPOSE | NUMC | 1 | SEOEXPOSE | ||||
STATE | Status of a class or component | SEOSTATE | NUMC | 1 | SEOSTATE | ||||
EDITORDER | Editing sequence | SEOORDER | INT4 | 10 | |||||
AUTHOR | Author | CNAM | CHAR | 12 | SYCHAR12 | ||||
CREATEDON | Created on | RDIR_CDATE | DATS | 8 | SYDATS | ||||
CHANGEDBY | Last changed by | UNAM | CHAR | 12 | SYCHAR12 | ||||
CHANGEDON | Changed On | RDIR_UDATE | DATS | 8 | SYDATS | ||||
TYPTYPE | Typing | SEOTYPTYPE | NUMC | 1 | SEOTYPTYPE | ||||
TYPE | Associated Type of an Interface Parameter | RS38L_TYP | CHAR | 132 | RS38L_TYP | ||||
TABLEOF | Table indicator | SEOTABLEOF | CHAR | 1 | CHAR1_X | ||||
SRCROW1 | Number of source line where token appears (>= 1) | TOKEN_ROW | INT4 | 10 | SABP_INT4 | ||||
SRCCOLUMN1 | Column position of token (>= 0) | TOKEN_COL | INT2 | 5 | SABP_INT2 | ||||
SRCROW2 | Number of source line where token appears (>= 1) | TOKEN_ROW | INT4 | 10 | SABP_INT4 | ||||
SRCCOLUMN2 | Column position of token (>= 0) | TOKEN_COL | INT2 | 5 | SABP_INT2 | ||||
R3RELEASE | SAP Release | SAPRELEASE | CHAR | 10 | CHAR10 | ||||
LOCKED | Indicator is locked and cannot be changed | SEOLOCKED | CHAR | 1 | CHAR1_X | ||||
REFCLSNAME | Object Type Name | SEOCLSNAME | CHAR | 30 | SEOCLSNAME | CLASS | |||
REFINTNAME | Object Type Name | SEOCLSNAME | CHAR | 30 | SEOCLSNAME | CLASS | |||
REFCMPNAME | Component name | SEOCMPNAME | CHAR | 30 | CHAR30 | ||||
TYPESRC_LENG | 0 | ||||||||
TYPESRC | 0 | ||||||||
ELEMENTS | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure OSM_STRUCT using ABAP code?
As OSM_STRUCT 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 OSM_STRUCT as there is no data to select.How to access SAP table OSM_STRUCT
Within an ECC or HANA version of SAP you can also view further information about OSM_STRUCT 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