VIVSTB SAP (Document reference for input tax treatment) Table details
Dictionary Type: Table
Description: Document reference for input tax treatment
Description: Document reference for input tax treatment
Table field list including key, data, relationships and ABAP select examples
VIVSTB is a standard SAP Table which is used to store Document reference for input tax treatment data and is available within R/3 SAP systems depending on the version and release level.
The VIVSTB table consists of various fields, each holding specific information or linking keys about Document reference for input tax treatment data available in SAP. These include BUKRS (Company Code), BELNR (Accounting Document Number), GJAHR (Fiscal Year), BUZEI (Number of Line Item Within Accounting Document).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP VIVSTB 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 | Assigned to domain | MANDT | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BUZEI | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
VBELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
BGJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
VBUZEI | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
WMWST | Tax amount in document currency | WMWST | CURR | 13(2) | WERT7 | ||||
AKONTO | Tax account | VVVSTKTO | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
STFLG | Reverse document indicator | IV_STFLG | CHAR | 1 | FLAG | ||||
STOKZ | Indicator: Document has been reversed | IV_STOKZ | CHAR | 1 | FLAG | ||||
POPTS | Real estate option rate | POPTSATZ | DEC | 9(6) | POPTSATZ | ||||
SOLLID | No. of debit position in fiscal year | VVSSOLLID | NUMC | 8 | VVSSOLLID | ||||
SVORG | Automatic Posting Run Activity | VVSVORG | CHAR | 4 | VVSVORG | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
RERF | Entered by | RERF | CHAR | 12 | SYCHAR12 | ||||
DERF | First Entered on | DERF | DATS | 8 | DATUM | ||||
TERF | Time of Initial Entry | TERF | TIMS | 6 | TIMES | ||||
REHER | Source of initial entry | REHER | CHAR | 10 | CHAR10 | ||||
RBEAR | Employee ID | RBEAR | CHAR | 12 | SYCHAR12 | ||||
DBEAR | Last Edited on | DBEAR | DATS | 8 | DATUM | ||||
TBEAR | Last Edited at | TBEAR | TIMS | 6 | TIMES | ||||
RBHER | Editing Source | RBHER | CHAR | 10 | CHAR10 | ||||
STBLG | Reverse Document Number | STBLG | CHAR | 10 | ALPHA | BELNR | |||
STJAH | Reverse document fiscal year | STJAH | NUMC | 4 | GJAHR | GJAHR | |||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | T007A | MWSKZ | |||
MWSTS | Tax Amount in Local Currency | MWSTS | CURR | 13(2) | WERT7 | ||||
MONAT | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
IMKEY | Internal Key for Real Estate Object | IMKEY | CHAR | 8 | IMKEY | ||||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
MWART | Tax Type | MWART | CHAR | 1 | MWART | ||||
VNAVHW | Non-Deductible Input Tax (in Local Currency) | NAVHW | CURR | 13(2) | WERT7 | ||||
VNAVFW | Non-Deductible Input Tax (in Document Currency) | NAVFW | CURR | 13(2) | WERT7 | ||||
HKONT | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
NASAKNR | Acct for non-deductible input tax | NASAKNR | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
RARTOPT | Option rate calculation type | RARTOPT | NUMC | 1 | RARTOPT |
Key field | Non-key field |
How do I retrieve data from SAP table VIVSTB using ABAP code
The following ABAP code Example will allow you to do a basic selection on VIVSTB to SELECT all data from the tableDATA: WA_VIVSTB TYPE VIVSTB.
SELECT SINGLE *
FROM VIVSTB
INTO CORRESPONDING FIELDS OF WA_VIVSTB
WHERE...
How to access SAP table VIVSTB
Within an ECC or HANA version of SAP you can also view further information about VIVSTB 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