VIVSTB SAP (Document reference for input tax treatment) Table details

Dictionary Type: Table
Description: Document reference for input tax treatment




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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
VBELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BGJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
VBUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
WMWSTTax amount in document currency WMWSTCURR13(2) WERT7
AKONTOTax account VVVSTKTOCHAR10Assigned to domainALPHASAKNR
STFLGReverse document indicator IV_STFLGCHAR1FLAG
STOKZIndicator: Document has been reversed IV_STOKZCHAR1FLAG
POPTSReal estate option rate POPTSATZDEC9(6) POPTSATZ
SOLLIDNo. of debit position in fiscal year VVSSOLLIDNUMC8VVSSOLLID
SVORGAutomatic Posting Run Activity VVSVORGCHAR4VVSVORG
BUDATPosting Date in the Document BUDATDATS8DATUM
RERFEntered by RERFCHAR12SYCHAR12
DERFFirst Entered on DERFDATS8DATUM
TERFTime of Initial Entry TERFTIMS6TIMES
REHERSource of initial entry REHERCHAR10CHAR10
RBEAREmployee ID RBEARCHAR12SYCHAR12
DBEARLast Edited on DBEARDATS8DATUM
TBEARLast Edited at TBEARTIMS6TIMES
RBHEREditing Source RBHERCHAR10CHAR10
STBLGReverse Document Number STBLGCHAR10ALPHABELNR
STJAHReverse document fiscal year STJAHNUMC4GJAHRGJAHR
MWSKZTax on sales/purchases code MWSKZCHAR2T007AMWSKZ
MWSTSTax Amount in Local Currency MWSTSCURR13(2) WERT7
MONATFiscal Period MONATNUMC2MONAT
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
MWARTTax Type MWARTCHAR1MWART
VNAVHWNon-Deductible Input Tax (in Local Currency) NAVHWCURR13(2) WERT7
VNAVFWNon-Deductible Input Tax (in Document Currency) NAVFWCURR13(2) WERT7
HKONTGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
NASAKNRAcct for non-deductible input tax NASAKNRCHAR10Assigned to domainALPHASAKNR
RARTOPTOption rate calculation type RARTOPTNUMC1RARTOPT

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