GHO_S_OTS_MAT SAP (Structure for Order Template Structure Materials) Structure details
Description: Structure for Order Template Structure Materials
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 |
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
OTS_ID | GHO Order Template Structure Identification | GHO_PP_OTS_ID | CHAR | 8 | GHO_PP_OTS_ID | ||||
OTS_ITEMID | GHO Order Template Structure Items | GHO_PP_OTSITM_ID | NUMC | 4 | NUM4 | ||||
MATERIALID | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
PLANTID | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
BATCHID | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
OUTPUTTYPE | Type of a material to be produced | GHO_PP_OUTPUTMAT_TYPE | CHAR | 1 | GHO_PP_OUTPUTMAT_TYPE | ||||
QUANTITY | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
UOM | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PRODVERSID | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER | ||
OBJECTLINK | Number of the link between two technical objects | KANTE | CHAR | 18 | Assigned to domain | ALPHA | KANTE | INE | |
MEDIUM | Product on which Allocation is Performed (Oil, Gas, Water) | GHO_PRODUCT | CHAR | 6 | Assigned to domain | MEDIU | H_T372M | ||
STORAGE_LOC | Issue location for production order | CSLGO | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
MATTYPE | Material Type | MTART | CHAR | 4 | Assigned to domain | MTART | MTA | ||
MATNAME | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 |
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 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