TXW_MATVAL SAP (Material valuation) Structure details
Description: Material valuation
Structure field list including key, data, relationships and ABAP select examples
TXW_MATVAL 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 "Material valuation" 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_TXW_MATVAL TYPE TXW_MATVAL.
The TXW_MATVAL table consists of various fields, each holding specific information or linking keys about Material valuation data available in SAP. These include MATNR (Material Number), BWKEY (Valuation Area), BWTAR (Valuation Type), GJAHR (Fiscal Year).. 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 (character-type)
SAP TXW_MATVAL 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
BWKEY | Valuation Area | BWKEY | CHAR | 4 | Assigned to domain | BWKEY | BWK | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
MONAT | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
BWTTY | Valuation Category | BWTTY_D | CHAR | 1 | Assigned to domain | BWTTY | |||
BKLAS | Valuation Class | BKLAS | CHAR | 4 | Assigned to domain | BKLAS | |||
LBKUM | Total valuated stock | TXW_LBKUM | CHAR | 16 | CHAR16 | ||||
LFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
LFMON | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
MYPOL | Pool number for LIFO valuation | MYPOOL | CHAR | 4 | Assigned to domain | LIFO_POOL | POL | ||
VVJLB | Total valuated stock in year before last | TXW_VVJLB | CHAR | 16 | CHAR16 | ||||
VVJSL | Total valuated stock in year before last | TXW_VVJSL | CHAR | 16 | CHAR16 | ||||
XLIFO | LIFO/FIFO-Relevant | XLIFO | CHAR | 1 | LIFO_FIFO | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
VPRSV | Price control indicator | VPRSV | CHAR | 1 | VPRSV |
Key field | Non-key field |
How do I retrieve data from SAP structure TXW_MATVAL using ABAP code?
As TXW_MATVAL 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 TXW_MATVAL as there is no data to select.How to access SAP table TXW_MATVAL
Within an ECC or HANA version of SAP you can also view further information about TXW_MATVAL 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