TXW_S_BSEG SAP (Retrieve BSEG from archive) Table details

Dictionary Type: Table
Description: Retrieve BSEG from archive




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




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

TXW_S_BSEG is a standard SAP Table which is used to store Retrieve BSEG from archive data and is available within R/3 SAP systems depending on the version and release level.

The TXW_S_BSEG table consists of various fields, each holding specific information or linking keys about Retrieve BSEG from archive data available in SAP. These include TXW_BUKRS (Company Code), TXW_BELNR (Accounting Document Number), TXW_GJAHR (Fiscal Year), TXW_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: L - Table for storing temporary data, is delivered empty
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP TXW_S_BSEG 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
TXW_MANDTClient MANDTCLNT3Assigned to domainMANDT
TXW_BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
TXW_BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
TXW_GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
TXW_BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
TXW_XNEGPIndicator: Negative posting XNEGPCHAR1XFELD
MANDTClient MANDTCLNT3Assigned to domainMANDT
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
MONATFiscal Period MONATNUMC2MONAT
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
BSCHLPosting Key BSCHLCHAR2Assigned to domainBSCHL
KOARTAccount Type KOARTCHAR1KOART
UMSKZSpecial G/L Indicator UMSKZCHAR1Assigned to domainUMSKZ
HKONTGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
VBUNDTrading Partner TXW_VBUNDCHAR6Assigned to domainALPHARCOMP
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
WRBTRAmount in document currency (TC) TXW_WRBTRCHAR16CHAR16
DMBTRAmount in Local Currency TXW_DMBTRCHAR16CHAR16
DMBE2Amount in second local currency (LC2) TXW_DMBE2CHAR16CHAR16
DMBE3Amount in third local currency (LC3) TXW_DMBE3CHAR16CHAR16
WSKTOCash discount amount in document currency TXW_WSKTOCHAR16CHAR16
SKNTOCash discount amount in local currency TXW_SKNTOCHAR16CHAR16
SKNT2Cash discount amount in second local currency (LC2) TXW_SKNT2CHAR16CHAR16
SKNT3Cash discount amount in third local currency (LC3) TXW_SKNT3CHAR16CHAR16
ZUONRAssignment Number DZUONRCHAR18ZUONR
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
TXJCDTax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
MENGETotal quantity TXW_QUANTCHAR16CHAR16
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
PROJKWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
WBS_POSIDWork Breakdown Structure Element (WBS Element) PS_POSIDCHAR24PROJNPS_POSIDPRO
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
VBELNBilling Document VBELN_VFCHAR10Assigned to domainALPHAVBELNVF
VBEL2Sales Document VBELN_VACHAR10Assigned to domainALPHAVBELNAUN
POSN2Sales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
ABPERSettlement period ABPER_RFACCP6BUPER
ANBWAAsset Transaction Type ANBWACHAR3Assigned to domainBWASL
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
AUGBLDocument Number of the Clearing Document AUGBLCHAR10ALPHABELNR
AUGDTClearing Date AUGDTDATS8DATUM
BEWARConsolidation Transaction Type BEWARCHAR3Assigned to domainRMVCT
FILKDAccount Number of the Branch FILKDCHAR10ALPHAMAXKK
FKBERFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
FWBASTax base amount in document currency (TC) TXW_FWBASCHAR16CHAR16
HWBASTax base amount in local currency TXW_HWBASCHAR16CHAR16
WMWSTTax amount in document currency (TC) TXW_WMWSTCHAR16CHAR16
GBETRHedged amount in foreign currency TXW_GBETRCHAR16CHAR16
LANDLSupplying Country LANDLCHAR3Assigned to domainLAND1
REBZTFollow-On Document Type REBZTCHAR1REBZT
REBZJFiscal Year of the Relevant Invoice (for Credit Memo) REBZJNUMC4GJAHRGJAHR
REBZGNumber of the Invoice the Transaction Belongs to REBZGCHAR10ALPHABELNR
REBZZLine Item in the Relevant Invoice REBZZNUMC3BUZEI
NEBTRNet payment amount TXW_NEBTRCHAR16CHAR16
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
PSWSLUpdate Currency for General Ledger Transaction Figures PSWSLCUKY5Assigned to domainWAERS
PSWBTAmount for updating in general ledger (position currency PC) TXW_PSWBTCHAR16CHAR16
PARGBTrading partner's business area PARGBCHAR4Assigned to domainGSBERGSB
PROJNOld: Project number : No longer used --> PS_POSNR PROJNCHAR16PROJN
QSSKZWithholding Tax Code QSSKZCHAR2Assigned to domainQSSKZ
QSFBTWithholding tax-exempt amount (in document currency) TXW_QSFBTCHAR16CHAR16
QSSHBWithholding tax base amount TXW_QSSHBCHAR16CHAR16
QBSHBWithholding tax amount (in document currency) TXW_QBSHBCHAR16CHAR16
SAKNRG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
SGTXTItem Text SGTXTCHAR50TEXT50
VALUTValue date VALUTDATS8DATUM
TXGRPGroup Indicator for Tax Line Items TXGRPNUMC3NUM03
HBKIDShort Key for a House Bank HBKIDCHAR5Assigned to domainHBKID
MWSTSTax amount in local currency TXW_MWSTSCHAR16CHAR16
MWST2Tax amount in second local currency TXW_MWST2CHAR16CHAR16
MWST3Tax amount in third local currency TXW_MWST3CHAR16CHAR16
RSTGRReason Code for Payments RSTGRCHAR3Assigned to domainRSTGR
UZAWEPayment Method Supplement UZAWECHAR2Assigned to domainUZAWE
ZBD3TNet payment terms period TXW_DZBD3TCHAR3CHAR3
ZFBDTBaseline Date for Due Date Calculation DZFBDTDATS8DATUM
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
TXBFWOriginal tax base amount in document currency TXW_TXBFWCHAR16CHAR16
TXBHWOriginal tax base amount in local currency TXW_TXBHWCHAR16CHAR16
TXBH2Tax base/original tax base in second local currency TXW_TXBH2CHAR16CHAR16
TXBH3Tax base/original tax base in third local currency TXW_TXBH3CHAR16CHAR16
KKBERCredit control area KKBERCHAR4Assigned to domainKKBERKKB
STCEGVAT Registration Number STCEGCHAR20STCEG
EGBLDCountry of Destination for Delivery of Goods EGBLDCHAR3Assigned to domainLAND1
EGLLDSupplying Country for Delivery of Goods EGLLDCHAR3Assigned to domainLAND1
XEGDRIndicator: Triangular deal within the EU ? XEGDRCHAR1XFELD
FKBER_LONGFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
VERTTContract Type RANTYPCHAR1RANTYP
VERTNContract Number RANLCHAR13ALPHARANLRAN
VBEWAFlow Type SBEWARTCHAR4Assigned to domainSBEWART
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
INTRENOInternal Real Estate Master Data Code VVINTRENOCHAR13VVINTRENO
DABRZReference Date for Settlement DABRBEZDATS8DDAT
BSTATDocument Status BSTAT_DCHAR1BSTAT
LEDGERLedger in General Ledger Accounting FAGL_RLDNRCHAR2Assigned to domainALPHARLDNRGLN_FLEXFAGL_RLDNR
MWARTTax Type MWARTCHAR1MWART
XBILKIndicator: Account is a balance sheet account? XBILKCHAR1XFELD
GVTYPP&L statement account type GVTYPCHAR2CHAR2
NAVHWNon-Deductible Input Tax (in Local Currency) TXW_NAVHWCHAR16CHAR16
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
ALTKTGroup account number BILKT_SKA1CHAR10Assigned to domainALPHASAKNR
LOKKTAlternative account number in company code ALTKT_SKB1CHAR10Assigned to domainALPHASAKNR
ZLSCHPayment Method DZLSCHCHAR1Assigned to domainZLSCH
BUZIDIdentification of the Line Item BUZIDCHAR1CHAR1
AUGCPClearing Entry Date AUGCPDATS8DATUM

Key field Non-key field



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

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

SELECT SINGLE *
FROM TXW_S_BSEG
INTO CORRESPONDING FIELDS OF WA_TXW_S_BSEG
WHERE...

How to access SAP table TXW_S_BSEG

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