V_VBSEGS SAP (Generated Table for View) Table View details

Dictionary Type: Table View
Description: Generated Table for View




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




Table View field list including key, data, relationships and ABAP select examples

V_VBSEGS is a standard SAP Table View which is used to store Generated Table for View data and is available within R/3 SAP systems depending on the version and release level.

The V_VBSEGS table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include AUSBK (Source Company Code), BELNR (Accounting Document Number), GJAHR (Fiscal Year), BZKEY (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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP V_VBSEGS table view 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
AUSBKSource Company Code AUSBKCHAR4T001BUKRS
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHRFiscal Year GJAHRNUMC4VBKPFGJAHRGJAHRGJR
BZKEYNumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
BSCHLPosting Key BSCHLCHAR2BSCHL
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
GSBERBusiness Area GSBERCHAR4GSBERGSB
PARGBTrading partner's business area PARGBCHAR4GSBERGSB
MWSKZTax on sales/purchases code MWSKZCHAR2MWSKZ
DMBTRAmount in Local Currency DMBTRCURR13(2) WERT7
DMBE2Amount in Second Local Currency DMBE2CURR13(2) WERT7
DMBE3Amount in Third Local Currency DMBE3CURR13(2) WERT7
WRBTRAmount in document currency WRBTRCURR13(2) WERT7
HWMETMethod with Which the Local Currency Amount Was Determined HWMETCHAR1HWMET
HWBASTax Base Amount in Local Currency HWBASCURR13(2) WERT7
FWBASTax Base Amount in Document Currency FWBASCURR13(2) WERT7
MWARTTax Type MWARTCHAR1MWART
KURSRHedged Exchange Rate KURSRDEC9(5) KURSP
GBETRHedged Amount in Foreign Currency GBETRCURR13(2) WERT7
ZFBDTBaseline Date for Due Date Calculation DZFBDTDATS8DATUM
VALUTValue date VALUTDATS8DATUM
ZUONRAssignment Number DZUONRCHAR18ZUONR
SGTXTItem Text SGTXTCHAR50TEXT50
ZINKZExempted from interest calculation DZINKZCHAR2ZINKZ
RMVCTTransaction Type RMVCTCHAR3RMVCT
FDLEVPlanning level FDLEVCHAR2FDLEVFFE
FDGRPPlanning Group FDGRPCHAR10ALPHAFDGRPFFG
FDWBTPlanning amount in document currency FDWBTCURR13(2) WERTV7
FDTAGPlanning date FDTAGDATS8DATUMFDT
KOKRSControlling Area KOKRSCHAR4CACCDCAC
KOSTLCost Center KOSTLCHAR10ALPHAKOSTLKOS
AUFNROrder Number AUFNRCHAR12ALPHAAUFNRANR
KDAUFSales Order Number KDAUFCHAR10ALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
PPRCTRPartner Profit Center PPRCTRCHAR10ALPHAPRCTRPPC
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
XUMSWIndicator: Sales-related item ? XUMSWCHAR1XFELD
XSKRLIndicator: Line item not liable to cash discount? XSKRLCHAR1XFELD
SAKNRG/L Account Number SAKNRCHAR10ALPHASAKNRSAKC_SAKNR
HZUONAssignment Number for Special G/L Accounts HZUONCHAR18ZUONR
MATNRMaterial Number MATNRCHAR18MATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4WERKSWRKH_T001W_C
MENGEQuantity MENGE_DQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3CUNITMEINS
BPMNGQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
EBELNPurchasing Document Number EBELNCHAR10ALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5EBELPBSP
REWRTInvoice Value Entered (in Local Currency) REEWRCURR13(2) WRTV7
REWWRInvoice value in foreign currency REFWRCURR13(2) WRTV7
ZEKKNSequential Number of Account Assignment DZEKKNNUMC2NUM02
LFBNRNumber of goods receipt document WEBLNCHAR10ALPHABELNR
LFPOSItem in Material Document MBLPONUMC4MBLPOPOS
LFGJAMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
BWKEYValuation Area BWKEYCHAR4BWKEYBWK
BWTARValuation Type BWTAR_DCHAR10BWTARBWT
TBTKZIndicator: subsequent debit/credit TBTKZCHAR1TBTKZ
STCEGVAT Registration Number STCEGCHAR20STCEG
PRCTRProfit Center PRCTRCHAR10ALPHAPRCTRPRCPRCTR_EMPTY
VNAMEJoint Venture JV_NAMECHAR6ALPHAJV_NAMEJVV
RECIDRecovery Indicator JV_RECINDCHAR2ALPHAJV_RECIND
EGRUPEquity group JV_EGROUPCHAR3ALPHAJV_EGROUPGJE
VPTNRPartner account number JV_PARTCHAR10ALPHAKUNNR
VERTTContract Type RANTYPCHAR1RANTYP
VERTNContract Number RANLCHAR13ALPHARANLRAN
VBEWAFlow Type SBEWARTCHAR4SBEWART
TXJCDTax Jurisdiction TXJCDCHAR15TXJCDTXJ
DABRZReference Date for Settlement DABRBEZDATS8DDAT
KSTRGCost Object KSTRGCHAR12KSTRGKTR
NPLNRNetwork Number for Account Assignment NPLNRCHAR12ALPHAAUFNRNET
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8KONPRPS_POSNR
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PASUBNRProfitability segment changes (CO-PA) RKESUBNRNUMC4RKESUBNR
BTYPEPayroll Type JV_BILINDCHAR2ALPHAJV_BILIND
ETYPEEquity type JV_ETYPECHAR3ALPHAJV_ETYPE
XEGDRIndicator: Triangular deal within the EU ? XEGDRCHAR1XFELD
HRKFTOrigin Group as Subdivision of Cost Element HRKFTCHAR4HRKFT
FIPOSCommitment Item FIPOSCHAR14FIPOSFIP
KOARTAccount Type KOARTCHAR1KOART
VPRSVPrice control indicator VPRSVCHAR1VPRSV
PEINHPrice Unit PEINHDEC5PACK3
KDEINDelivery Schedule Line Number ETENRNUMC4ETENR
ANLN1Main Asset Number ANLN1CHAR12ALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4ALPHAANLN2AN2
SMWSKTax Category in Account Master Record SMWSKCHAR2SMWSK
SWAERCurrency Key WAERSCUKY5WAERSFWS
STUNRStep number STUNRNUMC3STUNR
ZAEHKCondition counter DZAEHKNUMC2ZAEHK
XFDISIndicator: Cash Management activated? XFDISCHAR1XFELD
XREF3Reference key for line item XREF3CHAR20CHAR20
RSTGRReason Code for Payments RSTGRCHAR3T053RRSTGR
FISTLFunds Center FISTLCHAR16FISTLFIS
BSTATDocument Status BSTAT_DCHAR1BSTAT
BLARTDocument Type BLARTCHAR2T003BLARTBAR
BLDATDocument Date in Document BLDATDATS8DATUM
BUDATPosting Date in the Document BUDATDATS8DATUM
MONATFiscal Period MONATNUMC2MONAT
WWERTTranslation Date WWERT_DDATS8DATUM
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
AEDATDate of the Last Document Change AEDT_VBKPFDATS8DATUM
UPDDTDate of the Last Document Update UPDDTDATS8DATUM
USNAMUser Name USNM_VBKPFCHAR12USNAMUSR
TCODETransaction Code TCODECHAR20TCODETCD
BVORGNumber of Cross-Company Code Posting Transaction BVORGCHAR16BVORG
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
BKTXTDocument Header Text BKTXTCHAR25TEXT25
FIKRSFinancial Management Area FIKRSCHAR4FIKRSFIK
KOARSAccount Types Allowed KOARS_003CHAR5CHAR5
XBSETTax information exists in the document XBSETCHAR1XFELD
XSNETG/L account amounts entered exclude tax XSNETCHAR1XFELD
XBWAEOnly transfer document in document currency when posting XBWAECHAR1XFELD
WAERSCurrency Key WAERSCUKY5WAERSFWS
HWAERLocal Currency HWAERCUKY5WAERS
HWAE2Currency Key of Second Local Currency HWAE2CUKY5WAERS
HWAE3Currency Key of Third Local Currency HWAE3CUKY5WAERS
KURSFExchange rate KURSFDEC9(5) EXCRTKURSF
KURS2Exchange Rate for the Second Local Currency KURS2DEC9(5) KURSF
KURS3Exchange Rate for the Third Local Currency KURS3DEC9(5) KURSF
BASW2Source Currency for Currency Translation CURSRCHAR1CURSR
BASW3Source Currency for Currency Translation CURSRCHAR1CURSR
UMRD2Translation Date Type for Second Local Currency UMRD2CHAR1CURDT
UMRD3Translation Date Type for Third Local Currency UMRD3CHAR1CURDT
CURT2Currency Type of Second Local Currency CURT2CHAR2CURTP
CURT3Currency Type of Third Local Currency CURT3CHAR2CURTP
KUTY2Exchange Rate Type KURSTCHAR4KURSTKUT
KUTY3Exchange Rate Type KURSTCHAR4KURSTKUT
XMWSTCalculate tax automatically XMWSTCHAR1XFELDXTX
PARGB_BKPFPartner Business Area Default Value PGBVWCHAR4TGSBGSBER
VBLNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
VGJHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
XFRGEReleased XFRGECHAR1XFELD
XPRFGDocument complete XPRFGCHAR1XFELD
FRATHUnplanned delivery costs FRATHCURR13(2) WERT7
XWFFRRelease necessary XWFFRCHAR1XFELD
VBUNDCompany ID of trading partner RASSCCHAR6ALPHARCOMPPGS

Key field Non-key field



How do I retrieve data from SAP table V_VBSEGS using ABAP code

The following ABAP code Example will allow you to do a basic selection on V_VBSEGS to SELECT all data from the table
DATA: WA_V_VBSEGS TYPE V_VBSEGS.

SELECT SINGLE *
FROM V_VBSEGS
INTO CORRESPONDING FIELDS OF WA_V_VBSEGS
WHERE...

How to access SAP table V_VBSEGS

Within an ECC or HANA version of SAP you can also view further information about V_VBSEGS 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!