BSEGT SAP (Transfer Table for the Tax Postings to be Generated) Structure details
Description: Transfer Table for the Tax Postings to be Generated
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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BUZEI | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
BSCHL | Posting Key | BSCHL | CHAR | 2 | Assigned to domain | BSCHL | |||
HKONT | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
DMBTR | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
WRBTR | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
HWBAS | Tax Base Amount in Local Currency | HWBAS_BSES | CURR | 15(2) | WERTV8 | ||||
FWBAS | Tax base amount in document currency | FWBAS_BSES | CURR | 15(2) | WERTV8 | ||||
TXGRP | Group Indicator for Tax Line Items | TXGRP | NUMC | 3 | NUM03 | ||||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
KTOSL | Transaction Key | KTOSL | CHAR | 3 | CHAR3 | ||||
MWART | Tax Type | MWART | CHAR | 1 | MWART | ||||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
DMBE2 | Amount in Second Local Currency | DMBE2 | CURR | 13(2) | WERT7 | ||||
DMBE3 | Amount in Third Local Currency | DMBE3 | CURR | 13(2) | WERT7 | ||||
XAUTO | Indicator: Line item automatically created | XAUTO | CHAR | 1 | XFELD | ||||
TAXPS | Tax document item number | TAX_POSNR | NUMC | 6 | NUM6 |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects