VIAKBSEG SAP (Document Line Item from SCS for Interface) Table details

Dictionary Type: Table
Description: Document Line Item from SCS for Interface




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




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

VIAKBSEG is a standard SAP Table which is used to store Document Line Item from SCS for Interface data and is available within R/3 SAP systems depending on the version and release level.

The VIAKBSEG table consists of various fields, each holding specific information or linking keys about Document Line Item from SCS for Interface data available in SAP. These include VVABBLN (Settlement Identification ->Accounting Ref. Doc.Number), BELEG (Accounting Document Number), POS (Number of Line Item Within Accounting Document), JPOSTED (Indicator for document posted).. 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: Can be enhanced (character-type or numeric)


SAP VIAKBSEG 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
MANDTTClient MANDTCLNT3Assigned to domainMANDT
VVABBLNSettlement Identification ->Accounting Ref. Doc.Number VVABBLN1CHAR16XBLNR1IAB
BELEGAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
POSNumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
JPOSTEDIndicator for document posted REJPOSTEDCHAR1XFELD
MANDTClient MANDTCLNT3Assigned to domainMANDT
MAPPEGroup name: Batch input session name APQ_GRPNCHAR12CHAR12
IBELNInternal doc.number VVIBELNNUMC9NUM9
IBELZInternal doc.number VVIBELNNUMC9NUM9
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
SGTXTText Field TEXT50CHAR50TEXT50
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
UMSKZSpecial G/L Indicator UMSKZCHAR1Assigned to domainUMSKZ
VALUTDate DATUMDATS8DATUM
ZUMSKSpecial G/L Indicator UMSKZCHAR1Assigned to domainUMSKZ
ZUONRAssignment Number DZUONRCHAR18ZUONR
ZFBDTDate DATUMDATS8DATUM
BSCHLPosting Key BSCHLCHAR2Assigned to domainBSCHL
WRBTRAmount in foreign currency for tax breakdown WRBTXCURR13(2) WRTV7
DMBTRAmount in Local Currency for Tax Distribution DMBTXCURR13(2) WRTV7
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
XCPDDCheckbox XFELDCHAR1XFELD
BVTYPPartner Bank Type BVTYPCHAR4BVTYP
BWKEYValuation Area BWKEYCHAR4Assigned to domainBWKEYBWK
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
BZDATDate DATUMDATS8DATUM
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
ANBWAAsset Transaction Type BWASLCHAR3Assigned to domainBWASLBWA
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
ABPERPosting period in the form YYYYMM BUPERACCP6BUPER
MABERDunning Area MABERCHAR2Assigned to domainMABER
MANSPDunning block MANSPCHAR1Assigned to domainMANSP
MSCHLDunning key MSCHLCHAR1Assigned to domainMSCHL
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
KURSRHedged Exchange Rate KURSRDEC9(5) KURSP
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
FILKDAccount Number of the Branch FILKDCHAR10ALPHAMAXKK
FDTAGDate DATUMDATS8DATUM
FDGRPPlanning Group FDGRPCHAR10Assigned to domainALPHAFDGRPFFG
FDLEVPlanning level FDLEVCHAR2Assigned to domainFDLEVFFE
HZUONAssignment Number DZUONRCHAR18ZUONR
KOARTAccount Type KOARTCHAR1KOART
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
HKONTG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
HBKIDShort Key for a House Bank HBKIDCHAR5Assigned to domainHBKID
DBKEYDatabase key memory DBKEYCHAR60DBKEY
KOMKZCompression indicator per account symbol KOMPZCHAR1VVVKZ
SAMKZMark item for collective purchase order SAMKZCHAR1VVVKZ
BLARTDocument Type BLARTCHAR2Assigned to domainBLARTBAR
REBZGNumber of the Invoice the Transaction Belongs to REBZGCHAR10ALPHABELNR
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
REGULIndicator: Individual Payee in Document REGULCHAR1XFELD
CPDCheckbox XFELDCHAR1XFELD
NAME1Employee's last name NAMECHAR35NAME
NAME2Employee's last name NAMECHAR35NAME
NAME3Employee's last name NAMECHAR35NAME
NAME4Employee's last name NAMECHAR35NAME
STCD1Tax Number 1 STCD1CHAR16STCD1
STCD2Tax Number 2 STCD2CHAR11STCD2
PSTLZPostal Code PSTLZCHAR10PSTLZ
PSTL2Postal Code PSTLZCHAR10PSTLZ
PSKTOAccount Number of Bank Account At Post Office PSKTOCHAR16PSKTO
PFACHPO Box PFACHCHAR10PFACH
ORT01Data Element Type CHAR Length 35 CHAR35CHAR35CHAR35
STRASData Element Type CHAR Length 35 CHAR35CHAR35CHAR35
STKZUCheckbox XFELDCHAR1XFELD
STKZAIndicator: Business Partner Subject to Equalization Tax? STKZACHAR1STKZA
REGIOSTATE (State, Province, County) REGIOCHAR3Assigned to domainREGIO
BKONTBank Control Key BKONTCHAR2BKONT
BANKSCountry Key LAND1CHAR3Assigned to domainLAND1LND
BANKNBank account number BANKNCHAR18BANKN
BANKLBank number BANKLCHAR15BANKLBLZ
LAND1Country Key LAND1CHAR3Assigned to domainLAND1LND
EMPFGPayee code EMPFGCHAR16EMPFG
DTAWSInstruction key for data medium exchange DTAWSCHAR2Assigned to domainDTAWS
DTAMSIndicator for Data Medium Exchange DTAMSCHAR1DTAMS
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
MENGEQuantity MENGE_DQUAN13(3) MENG13
IMMOCheckbox XFELDCHAR1XFELD
DABRZReference Date for Settlement DABRBEZDATS8DDAT
POPTSReal estate option rate POPTSATZDEC9(6) POPTSATZ
SWENRSite Number SWENRCHAR8Assigned to domainSWENRSWENRWEHMCWE
SGENRBuilding Number SGENRCHAR8Assigned to domainSGENRSGENRGEBMCGE
SGRNRProperty Number for BE SGRNRCHAR8Assigned to domainSGRNRSGRNRGRSMCGR
SMENRNumber of Rental Unit SMENRCHAR8Assigned to domainSMENRSMENRMEHMCME
SNKSLService Charge Key SNKSLCHAR4Assigned to domainALPHASNKSLNKLREFXCLSNKSL
SEMPSLSettlement Unit SEMPSLCHAR5Assigned to domainALPHASEMPSLEMPMCEM
BDATReference date BDATDATS8DDAT
NABFWInput tax amount cannot be deducted NABFWCURR13(2) WERTV7
ABZFWDeductible input tax amount ABZFWCURR13(2) WERTV7
SBERICorrection item number SBERICHAR10Assigned to domainALPHASBERIBEB
VERTTContract Type RANTYPCHAR1RANTYP
VERTNContract Number RANLCHAR13ALPHARANLRAN
VBEWAFlow Type SBEWARTCHAR4Assigned to domainSBEWART
DEPOTSecurities Account RLDEPOCHAR10Assigned to domainRLDEPODEPACC_CCD_CORE
MWSTSTax Amount in Local Currency MWSTSCURR13(2) WERT7
WMWSTTax amount in document currency WMWSTCURR13(2) WERT7
ZLSCHPayment Method DZLSCHCHAR1Assigned to domainZLSCH
ZLSPRPayment Block Key DZLSPRCHAR1Assigned to domainZAHLSSPE
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
SAMNRInvoice List Number SAMNRNUMC8SAMNR
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
RKLAMMERClassification Number for Finance Projects RKLAMMERCHAR13ALPHARANL
FWBASTax Base Amount in Document Currency FWBASCURR13(2) WERT7
AUGLINFOAssignment Number DZUONRCHAR18ZUONR
AUGLZLSPRPayment Block Key DZLSPRCHAR1Assigned to domainZAHLSSPE
REBZZLine Item in the Relevant Invoice REBZZNUMC3BUZEI
REBZJFiscal Year of the Relevant Invoice (for Credit Memo) REBZJNUMC4GJAHRGJAHR
SKFBTAmount Eligible for Cash Discount in Document Currency SKFBTCURR13(2) WERT7
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
RVZBLGAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
ZINKZExempted from interest calculation DZINKZCHAR2ZINKZ
SVWNRManagement Contract Number VVSVWNRCHAR13Assigned to domainALPHAVVSVWNRVWVMCVW
NEWBKCompany Code for the Next Line Item NEWBKCHAR4Assigned to domainBUKRS
AUGDTClearing Date AUGDTDATS8DATUM
AUGCPClearing Entry Date AUGCPDATS8DATUM
AUGBLDocument Number of the Clearing Document AUGBLCHAR10ALPHABELNR
REBZTFollow-On Document Type REBZTCHAR1REBZT
INTRENOInternal Real Estate Master Data Code VVINTRENOCHAR13VVINTRENO
MADATLast dunned on MADATDATS8DATUM
MANSTDunning level MAHNS_DNUMC1MAHNS
ZE_KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
ZE_PARTNERPartner number SPARTNRCHAR10Assigned to domainSPARTNRPNN
ZE_BVTYPBank type of alternative payer VVBVTYPABWCHAR4BVTYP
VBUNDCompany ID of trading partner RASSCCHAR6Assigned to domainALPHARCOMPPGS
XREF1Business partner reference key XREF1CHAR12CHAR12
LZBKZState Central Bank Indicator LZBKZCHAR3Assigned to domainLZBKZ
LANDLSupplying Country LANDLCHAR3Assigned to domainLAND1
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
DFAELLDue date DFAELLDATS8DATUM
TXJCDTax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
PRSDTDate for pricing and exchange rate PRSDTDATS8DATUM
US_MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
US_WMWSTTax amount in document currency WMWSTCURR13(2) WERT7
US_TXINTIndicator: tax item - RE internal entry VVTAXUSINTCHAR1CHAR1
US_TAXITIndicator: Tax Item TAXITCHAR1CHAR1
US_KTOSLTransaction Key KTOSLCHAR3CHAR3
US_FWBASTax Base Amount in Document Currency FWBASCURR13(2) WERT7
UNKA_STAXIndicator: Tax item - internal entry RE (SCS) VVUNKATAXCHAR1CHAR1
UNKA_KTOSLTransaction Key KTOSLCHAR3CHAR3
UNKA_FWBASTax Base Amount in Document Currency FWBASCURR13(2) WERT7
UNKA_KBETRRate (condition amount or percentage) where no scale exists KBETR_KONDCURR11(2) WERTV6
RE_AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
RE_AWREFReference Document Number AWREFCHAR10ALPHAAWREF
RE_AWORGReference Organizational Units AWORGCHAR10AWORG
RE_POSNRAccounting Document Line Item Number POSNR_ACCNUMC10POSNR_ACC
RE_KSCHLCondition Type KSCHLCHAR4Assigned to domainKSCHLVKS
FCVALIndicator: Line Item Contains Foreign Currency Valuation FCVALCHAR1CHAR1
XREF1_HDReference Key 1 Internal for Document Header XREF1_HDCHAR20CHAR20
XREF2_HDReference Key 2 Internal for Document Header XREF2_HDCHAR20CHAR20
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR

Key field Non-key field



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

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

SELECT SINGLE *
FROM VIAKBSEG
INTO CORRESPONDING FIELDS OF WA_VIAKBSEG
WHERE...

How to access SAP table VIAKBSEG

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