DBSET SAP (Detail Information for Tax Items) Structure details

Dictionary Type: Structure
Description: Detail Information for Tax Items




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




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

DBSET 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 "Detail Information for Tax Items" 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_DBSET TYPE DBSET.

The DBSET table consists of various fields, each holding specific information or linking keys about Detail Information for Tax Items data available in SAP. These include MANDT (Client), BUKRS (Company Code), BELNR (Accounting Document Number), GJAHR (Fiscal Year).. 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 DBSET 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 MANDTCLNT3T000MANDT
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
MWSKZTax on sales/purchases code MWSKZCHAR2T007AMWSKZ
HKONTGeneral Ledger Account HKONTCHAR10SKB1ALPHASAKNR
TXGRPGroup Indicator for Tax Line Items TXGRPNUMC3NUM03
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
HWBASTax Base Amount in Local Currency HWBAS_BSESCURR15(2) WERTV8
FWBASTax base amount in document currency FWBAS_BSESCURR15(2) WERTV8
HWSTETax Amount in Local Currency HWSTECURR13(2) WERT7
FWSTETax Amount in Document Currency FWSTECURR13(2) WERT7
KTOSLTransaction Key KTOSLCHAR3CHAR3
KNUMHCondition record number KNUMHCHAR10KNUMB
STCEGVAT Registration Number STCEGCHAR20STCEG
EGBLDCountry of Destination for Delivery of Goods EGBLDCHAR3Assigned to domainLAND1
EGLLDSupplying Country for Delivery of Goods EGLLDCHAR3Assigned to domainLAND1
TXJCDTax Jurisdiction TXJCDCHAR15TTXJTXJCDTXJ
H2STETax Amount in Local Currency 2 H2STECURR13(2) WERT7
H3STETax Amount in Local Currency 3 H3STECURR13(2) WERT7
H2BASTax Base Amount in Local Currency 2 H2BAS_BSESCURR15(2) WERTV8
H3BASTax Base Amount in Local Currency 3 H3BAS_BSESCURR15(2) WERTV8
KSCHLCondition Type KSCHLCHAR4T685KSCHLVKS
STMDTDate on Which the Tax Return Was Made STMDT_BSETDATS8DATUM
STMTITime of Program Run for the Tax Return STMTI_BSETCHAR6TIME6
MLDDTReporting Date for Tax Report MLDDT_BSETDATS8DATUM
KBETRTax Rate KBETR_TAXCURR11(2) WERTV6
STBKZPosting indicator STBKZ_007BCHAR1STBKZ_007B
LSTMLCountry for Tax Return LAND1_STMLCHAR3Assigned to domainLAND1
LWSTETax Amount in Country Currency LWSTE_BSETCURR13(2) WERT7
LWBASTax Base in Country Currency LWBAS_BSETCURR15(2) WERTV8
TXDATDate for defining tax rates TXDATDATS8DATUM
BUPLABusiness Place BUPLACHAR4Assigned to domainJ_1BBRANCH
TXJDPTax Jurisdiction Code - Jurisdiction for Lowest Level Tax TXJCD_DEEPCHAR15Assigned to domainTXJCDTXJ
TXJLVTax jurisdiction code level TXJCD_LEVELCHAR1CHAR1
TAXPSTax document item number TAX_POSNRNUMC6NUM6
TXMODTax Result Has Been Modified Manually TAX_MODINT13TAX_MOD
BSCHLPosting Key BSCHLCHAR2Assigned to domainBSCHL
KPOSNCondition item number KPOSNNUMC6NUM6
STUNRStep number STUNRNUMC3Assigned to domainSTUNR
KNTYPCondition category (examples: tax, freight, price, cost) KNTYPCHAR1KNTYP
KRECHCalculation type for condition KRECHCHAR1KRECH
XAUTOIndicator: Line item automatically created XAUTOCHAR1XFELD
FWSTRTax Amount Calculated in FC (for Checking) FWSTR_BSETCURR13(2) WERT7
ANZHLNumber of Accompanying G/L Account Items ANZHL_BSETINT410INT4
FWBASZEROTax Base in Foreign Currency = 0, in Local Currency <> 0 FWBASZEROCHAR1CHAR1
POINTTax document item number TAX_POSNRNUMC6NUM6
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MENGEQuantity MENGE_DQUAN13(3) MENG13
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
PROJKWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
BLARTDocument Type BLARTCHAR2Assigned to domainBLARTBAR
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG

Key field Non-key field



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

As DBSET 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 DBSET as there is no data to select.

How to access SAP table DBSET

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