BSEGT SAP (Transfer Table for the Tax Postings to be Generated) Structure details

Dictionary Type: Structure
Description: Transfer Table for the Tax Postings to be Generated




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




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

BSEGT is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Transfer Table for the Tax Postings to be Generated" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_BSEGT TYPE BSEGT.

The BSEGT table consists of various fields, each holding specific information or linking keys about Transfer Table for the Tax Postings to be Generated 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP BSEGT structure 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
BSCHLPosting Key BSCHLCHAR2Assigned to domainBSCHL
HKONTGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
DMBTRAmount in Local Currency DMBTRCURR13(2) WERT7
WRBTRAmount in document currency WRBTRCURR13(2) WERT7
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
HWBASTax Base Amount in Local Currency HWBAS_BSESCURR15(2) WERTV8
FWBASTax base amount in document currency FWBAS_BSESCURR15(2) WERTV8
TXGRPGroup Indicator for Tax Line Items TXGRPNUMC3NUM03
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
KTOSLTransaction Key KTOSLCHAR3CHAR3
MWARTTax Type MWARTCHAR1MWART
TXJCDTax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
DMBE2Amount in Second Local Currency DMBE2CURR13(2) WERT7
DMBE3Amount in Third Local Currency DMBE3CURR13(2) WERT7
XAUTOIndicator: Line item automatically created XAUTOCHAR1XFELD
TAXPSTax document item number TAX_POSNRNUMC6NUM6

Key field Non-key field



How do I retrieve data from SAP structure BSEGT using ABAP code?

As BSEGT is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on BSEGT as there is no data to select.

How to access SAP table BSEGT

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