MWSTB SAP (Internal Table for Taxes on Sales and Purchases) Structure details
Description: Internal Table for Taxes on Sales and Purchases
Structure field list including key, data, relationships and ABAP select examples
MWSTB 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 "Internal Table for Taxes on Sales and Purchases" 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_MWSTB TYPE MWSTB.
The MWSTB table consists of various fields, each holding specific information or linking keys about Internal Table for Taxes on Sales and Purchases data available in SAP. These include BUKRS (Company Code), HWBAS (Tax Base Amount in Local Currency), FWBAS (Tax base amount in document currency), HWBAD (Tax Base Amount in Local Currency (Tax Line Items)).. 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: Not classified
SAP MWSTB 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 |
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
HWBAS | Tax Base Amount in Local Currency | HWBAS_BSES | CURR | 15(2) | WERTV8 | ||||
FWBAS | Tax base amount in document currency | FWBAS_BSES | CURR | 15(2) | WERTV8 | ||||
HWBAD | Tax Base Amount in Local Currency (Tax Line Items) | HWBAD_MWST | CURR | 15(2) | WERT8 | ||||
FWBAD | Tax Base Amount in Document Currency (Tax Line Items) | FWBAD_MWST | CURR | 15(2) | WERT8 | ||||
HWSKB | Cash Discount Base Amount (Local Currency) | HWSKB | CURR | 15(2) | WERT8 | ||||
HWSTE | Tax Amount in Local Currency | HWSTE | CURR | 13(2) | WERT7 | ||||
FWSTE | Tax Amount in Document Currency | FWSTE | CURR | 13(2) | WERT7 | ||||
HWSTD | Tax Amount in Local Currency (Tax Line Items) | HWSTD_MWST | CURR | 13(2) | WERT7 | ||||
FWSTD | Tax Amount in Foreign Currency (Tax Line Items) | FWSTD_MWST | CURR | 13(2) | WERT7 | ||||
HWNAF | Non-Deductible Input Tax in Local Currency | HWNAF | CURR | 13(2) | WERT7 | ||||
FWNAF | Non-Deductible Input Tax in Document Currency | FWNAF | CURR | 13(2) | WERT7 | ||||
HWNAD | Non-Deductible Tax (Local Currency Tax Line Items) | HWNAD_MWST | CURR | 13(2) | WERT7 | ||||
FWNAD | Foreign Currency Non-Deductible Tax (Tax Line Items) | FWNAD_MWST | CURR | 13(2) | WERT7 | ||||
HWNAG | Non-Deductible Tax in Loc.Curr. Already Posted (in CDC Item) | HWNAG_BSEZ | CURR | 13(2) | WERT7 | ||||
FWNAG | Non-Deductible Tax in For.Curr.Already Posted (in DiCl.Line) | FWNAG_BSEZ | CURR | 13(2) | WERT7 | ||||
HWZUZ | Provision Amount in Local Currency | HWZUZ | CURR | 13(2) | WERT7 | ||||
FWZUZ | Additional Tax in Document Currency | FWZUZ | CURR | 13(2) | WERT7 | ||||
HWZBA | Additional Tax Base Amount in Local Currency | HWZBA_MWST | CURR | 15(2) | WERT8 | ||||
FWZBA | Additional Tax Base Amount in Foreign Currency | FWZBA_MWST | CURR | 15(2) | WERT8 | ||||
ANZPO | Number of Line Items for this Tax Code | ANZPO_MWST | DEC | 5 | DEC5 | ||||
MSATZ | Tax Rate | MSATZ_MWST | NUMC | 5 | NUM5 | ||||
PRUEF | Indicator: Error Message for Invalid Tax Amount ? | PRUEF_007 | CHAR | 1 | XFELD | ||||
REART | Calculation Method for Taxes on Sales/Purchases | REART_007 | CHAR | 1 | REART | ||||
RUNKZ | Taxes on Sales/Purchases Rounding Indicator | RUNKZ_007 | CHAR | 1 | RUNKZ | ||||
MWART | Tax Type | MWART | CHAR | 1 | MWART | ||||
NAFPZ | Non-Deductible Portion of Input Tax ( in % ) | NAFPZ_MWST | NUMC | 5 | NUM5 | ||||
NAFVT | Indicator: Distribute Non-Deductible Tax ? | NAFVT_007 | CHAR | 1 | XFELD | ||||
ZKOVT | Additional Tax Cost Distribution | DZKOVT_007 | CHAR | 1 | ZKOVT | ||||
ZSABF | Indicator: Postponed accounting system | DZSABF_007 | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure MWSTB using ABAP code?
As MWSTB 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 MWSTB as there is no data to select.How to access SAP table MWSTB
Within an ECC or HANA version of SAP you can also view further information about MWSTB 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