Analytics Catalog/SAP S/4HANA/Tables/BSET
Explore the catalogACDOCABKPFGeneral LedgerExtraction
SAP S/4HANA · Transaction Tax

BSET

Transparent table · taxTax line itemsStill live in S/4HANA

The tax line-item table, one summarized tax line per document, per tax code: the base, the tax amount, and whether it is output tax (on sales) or input tax (on purchases). BSET is what the VAT return reads, and it records even zero-rated lines that a G/L line-item report would miss.

Primary key: BUKRS · BELNR · GJAHR · BUZEI (company code · document · fiscal year · line). One BSET row summarizes every source line in the document that shares a tax code, it does not keep the individual source lines.

Key fields (BSET)

FieldKeyIn reportsDescription
BUKRSPKCompany code, the reporting entity for the tax return.
BELNRPKAccounting document number.
GJAHRPKFiscal year.
BUZEIPKTax line within the document.
MWSKZTax code, the rate and treatment (e.g. A1 output 19%, V1 input 19%, A0 zero-rated).
KTOSLTransaction key, MWS output tax, VST input tax, ESA/ESE EU acquisition.
HWBASTax base amount in local (company-code) currency.
HWSTETax amount in local currency.
FWBAS / FWSTETax base and tax amount in document currency.
KSCHLCondition type from the tax procedure (the rate that calculated the amount).
HKONTThe G/L tax account the amount posted to.
SHKZGDebit / credit indicator.

How BSET relates to the document

BSET holds the tax summary; the header and the source lines sit elsewhere. All three share the document key.

ObjectHoldsJoined on
BKPFDocument header, dates, type, the tax reporting dateBUKRS · BELNR · GJAHR
BSEGThe source line items that carried the tax codeBUKRS · BELNR · GJAHR
BSETOne summarized tax line per tax codeBUKRS · BELNR · GJAHR · BUZEI
BSET keeps no source-line detail. If five expense lines in one document all use tax code V1, BSET stores a single summarized row for V1, the base and tax totalled. To see which lines drove it, join back to BSEG.

Tax code & direction

The tax code (MWSKZ) and the transaction key (KTOSL) decide everything about a tax line, the rate, the treatment, and which side of the VAT return it lands on.

KTOSLDirectionMeaning
MWSOutput taxTax charged on sales, a liability, payable to the authority.
VSTInput taxTax paid on purchases, deductible, reclaimed from the authority.
ESA / ESEEU acquisitionReverse-charge tax on intra-EU purchases, output and input together.
No tax code, no BSET, no VAT return. The tax category on the G/L account (“>” output, “<” input) controls whether a posting populates BSET at all, which is why the tax accounts must be set up correctly before any of this reports.

S/4HANA status

BSET is not replaced, it is a live transparent table and still the source of the VAT return. In S/4HANA the return is still run by RFUMSV00 (transaction S_ALR_87012357, Advance Return for Tax on Sales/Purchases); statutory filing increasingly runs through Advanced Compliance Reporting, but the underlying tax data is still BSET.

The reason a tax report reads BSET and not a G/L line-item report: even 0% tax codes create BSET entries. A zero-rated export has a tax base but no tax amount, it must appear on the VAT return, and it would be invisible on a tax-account line-item report (which only shows lines where tax was posted).

Where this surfaces, how to read it

Reports that use it

How the data gets out: a SAP-compliant extract of BSET joined to BKPF via SLT or Table / Table-CDC, never ODP-RFC (SAP Note 3255746). See the extraction pattern →
Need a tax / VAT layer in your model?
We build BSET as a conformed tax-line fact joined to the journal, output vs input by code, reconciled to the G/L tax accounts, and you own the code.
Talk to us
Terms on this page
BSET
The tax data document segment, one summarized tax line per document per code.
Tax code (MWSKZ)
Sets the rate and treatment of a tax line, output, input, or zero-rated.
Output tax
Tax charged on sales, a liability payable to the authority.
Input tax
Tax paid on purchases, deductible, reclaimed from the authority.
Tax base (HWBAS)
The amount the tax is calculated on, before the tax itself.
VAT return (RFUMSV00)
The Advance Return for Tax on Sales/Purchases, reads BSET.
Tax reporting date
The date a line belongs to for the return, can differ from the posting date.
Condition type (KSCHL)
The tax-procedure rate that calculated the amount.
Zero-rated
A 0% tax code, has a base, no tax, but still appears on the return.
CDS view
Core Data Services, an SAP-supplied, upgrade-safe view onto the data.
ODP-RFC
An older extraction route SAP now bans for non-SAP tools (Note 3255746).