TMGW4 SAP (Default Settings and Flags for Prepack Allocation Planning) Table details

Dictionary Type: Table
Description: Default Settings and Flags for Prepack Allocation Planning




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




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 cust
Display/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
MANDTClient MANDTCLNT3T000MANDT
LISTCREATECreate Listing Conditions for Prepack WSTN_LISTCREATECHAR1XFELD
CALCPRICECalculate Purchasing Price WSTN_CALCPRICECHAR1XFELD
ALLTBLTYPEDefault Allocation Table Type for Prepack Planning Tool WSTN_ALLTBLTYPECHAR4T620AUFAR
EXTENDPODefault for 'extend purchase order' flag WSTN_EXTENDPOCHAR1XFELD
HIDEPOHide 'Generate PO' button, don't allow generation of PO WSTN_HIDEPOCHAR1XFELD

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 table
DATA: 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 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!