GHO_S_OTS_MAT SAP (Structure for Order Template Structure Materials) Structure details

Dictionary Type: Structure
Description: Structure for Order Template Structure Materials




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




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

GHO_S_OTS_MAT 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 "Structure for Order Template Structure Materials" 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_GHO_S_OTS_MAT TYPE GHO_S_OTS_MAT.

The GHO_S_OTS_MAT table consists of various fields, each holding specific information or linking keys about Structure for Order Template Structure Materials data available in SAP. These include CLIENT (Client), OTS_ID (GHO Order Template Structure Identification), OTS_ITEMID (GHO Order Template Structure Items), MATERIALID (Material Number).. 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: Can Be Enhanced (Deep)


SAP GHO_S_OTS_MAT 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
CLIENTClient MANDTCLNT3Assigned to domainMANDT
OTS_IDGHO Order Template Structure Identification GHO_PP_OTS_IDCHAR8GHO_PP_OTS_ID
OTS_ITEMIDGHO Order Template Structure Items GHO_PP_OTSITM_IDNUMC4NUM4
MATERIALIDMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
PLANTIDPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
BATCHIDBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
OUTPUTTYPEType of a material to be produced GHO_PP_OUTPUTMAT_TYPECHAR1GHO_PP_OUTPUTMAT_TYPE
QUANTITYQuantity MENGE_DQUAN13(3) MENG13
UOMBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
PRODVERSIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
OBJECTLINKNumber of the link between two technical objects KANTECHAR18Assigned to domainALPHAKANTEINE
MEDIUMProduct on which Allocation is Performed (Oil, Gas, Water) GHO_PRODUCTCHAR6Assigned to domainMEDIUH_T372M
STORAGE_LOCIssue location for production order CSLGOCHAR4Assigned to domainLGORTLAG
MATTYPEMaterial Type MTARTCHAR4Assigned to domainMTARTMTA
MATNAMEMaterial Description (Short Text) MAKTXCHAR40TEXT40

Key field Non-key field



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

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

How to access SAP table GHO_S_OTS_MAT

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