SAP table BSAS has 9 primary key fields being MANDT,BUKRS,HKONT,AUGDT,AUGBL,ZUONR,GJAHR,BELNR,BUZEI.
If you're only analyzing data from a single SAP instance you may omit field MANT in your relationships as it will we the same across the entire dataset. On the other hand, if you're combining data from multiple SAP instances you need to take MANDT into account.
Field
Description
Data Type
Length
Decimals
Checktable
Data Element
MANDT
Client
CLNT
3
0
MANDT
BUKRS
Company Code
CHAR
4
0
BUKRS
HKONT
General Ledger Account
CHAR
10
0
HKONT
AUGDT
Clearing Date
DATS
8
0
AUGDT
AUGBL
Document Number of the Clearing Document
CHAR
10
0
AUGBL
ZUONR
Assignment number
CHAR
18
0
DZUONR
GJAHR
Fiscal Year
NUMC
4
0
GJAHR
BELNR
Document Number of an Accounting Document
CHAR
10
0
BELNR_D
BUZEI
Number of Line Item Within Accounting Document
NUMC
3
0
BUZEI
BUDAT
Posting Date in the Document
DATS
8
0
BUDAT
BLDAT
Document Date in Document
DATS
8
0
BLDAT
WAERS
Currency Key
CUKY
5
0
WAERS
XBLNR
Reference Document Number
CHAR
16
0
XBLNR1
BLART
Document Type
CHAR
2
0
BLART
MONAT
Fiscal period
NUMC
2
0
MONAT
BSCHL
Posting Key
CHAR
2
0
BSCHL
SHKZG
Debit/Credit Indicator
CHAR
1
0
SHKZG
H
Credit
S
Debit
GSBER
Business Area
CHAR
4
0
GSBER
TAX_COUNTRY
Tax Reporting Country/Region
CHAR
3
0
FOT_TAX_COUNTRY
MWSKZ
Tax on sales/purchases code
CHAR
2
0
MWSKZ
TXDAT_FROM
Valid-From Date of the Tax Rate
DATS
8
0
FOT_TXDAT_FROM
FKONT
Financial Budget Item
NUMC
3
0
FIPLS
DMBTR
Amount in local currency
CURR
23
2
DMBTR
WRBTR
Amount in document currency
CURR
23
2
WRBTR
FCSL
Amount in Functional Currency
CURR
23
2
FINS_VFCCUR12
RFCCUR
Functional Currency
CUKY
5
0
FINS_CURRFC
MWSTS
Tax Amount in Local Currency
CURR
23
2
MWSTS
WMWST
Tax Amount in Document Currency
CURR
23
2
WMWST
SGTXT
Item Text
CHAR
50
0
SGTXT
PROJN
Old: Project number : No longer used --> PS_POSNR
CHAR
16
0
PROJN
AUFNR
Order Number
CHAR
12
0
AUFNR_NEU
WERKS
Plant
CHAR
4
0
WERKS_D
KOSTL
Cost Center
CHAR
10
0
KOSTL
ZFBDT
Baseline Date for Due Date Calculation
DATS
8
0
DZFBDT
XOPVW
Indicator: Open Item Management?
CHAR
1
0
XOPVW
VALUT
Value date
DATS
8
0
VALUT
BSTAT
Document Status
CHAR
1
0
BSTAT_D
BDIFF
Valuation Difference
CURR
23
2
BDIFF
BDIF2
Valuation Difference for the Second Local Currency
CURR
23
2
BDIF2
VBUND
Company ID of Trading Partner
CHAR
6
0
RASSC
PSWSL
Update Currency for General Ledger Transaction Figures
CUKY
5
0
PSWSL
WVERW
Bill of Exchange Usage Type
CHAR
1
0
WVERW
D
Discounting
F
Forfeiting
I
Collection
DMBE2
Amount in Second Local Currency or Global Currency
CURR
23
2
DMBE2
DMBE3
Amount in Third Local Currency or First Freely-Def. Currency
CURR
23
2
DMBE3
MWST2
Tax Amount in Second Local Currency
CURR
23
2
MWST2
MWST3
Tax Amount in Third Local Currency
CURR
23
2
MWST3
BDIF3
Valuation Difference for the Third Local Currency
CURR
23
2
BDIF3
RDIF3
Exchange Rate Difference Realized for Third Local Currency