TMGW4 SAP (Default Settings and Flags for Prepack Allocation Planning) Table details
Description: Default Settings and Flags for Prepack Allocation Planning
Table field list including key, data, relationships and ABAP select examples
TMGW4 is a standard SAP Table which is used to store Default Settings and Flags for Prepack Allocation Planning data and is available within R/3 SAP systems depending on the version and release level.
The TMGW4 table consists of various fields, each holding specific information or linking keys about Default Settings and Flags for Prepack Allocation Planning data available in SAP. These include LISTCREATE (Create Listing Conditions for Prepack), CALCPRICE (Calculate Purchasing Price), ALLTBLTYPE (Default Allocation Table Type for Prepack Planning Tool), EXTENDPO (Default for 'extend purchase order' flag).. 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: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP TMGW4 table 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
LISTCREATE | Create Listing Conditions for Prepack | WSTN_LISTCREATE | CHAR | 1 | XFELD | ||||
CALCPRICE | Calculate Purchasing Price | WSTN_CALCPRICE | CHAR | 1 | XFELD | ||||
ALLTBLTYPE | Default Allocation Table Type for Prepack Planning Tool | WSTN_ALLTBLTYPE | CHAR | 4 | T620 | AUFAR | |||
EXTENDPO | Default for 'extend purchase order' flag | WSTN_EXTENDPO | CHAR | 1 | XFELD | ||||
HIDEPO | Hide 'Generate PO' button, don't allow generation of PO | WSTN_HIDEPO | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table TMGW4 using ABAP code
The following ABAP code Example will allow you to do a basic selection on TMGW4 to SELECT all data from the tableDATA: WA_TMGW4 TYPE TMGW4.
SELECT SINGLE *
FROM TMGW4
INTO CORRESPONDING FIELDS OF WA_TMGW4
WHERE...
How to access SAP table TMGW4
Within an ECC or HANA version of SAP you can also view further information about TMGW4 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