SAP table A304 (Material with release status)
SAP table A304 has 8 primary key fields being MANDT,KAPPL,KSCHL,VKORG,VTWEG,MATNR,KFRST,DATBI.
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
T000
MANDT
KAPPL
Application
CHAR
2
0
T681A
KAPPL
KSCHL
Condition Type
CHAR
4
0
T685
KSCHA
VKORG
Sales Organization
CHAR
4
0
TVKO
VKORG
VTWEG
Distribution Channel
CHAR
2
0
TVTW
VTWEG
MATNR
Material Number
CHAR
40
0
MARA
MATNR
KFRST
Release Status
CHAR
1
0
KFRST
Possible values
Released
A
Blocked
B
Released for pricing simulation
C
Released for planning and pricing simulation
D
In Review
E
Rejected
DATBI
Validity end date of the condition record
DATS
8
0
KODATBI
DATAB
Validity start date of the condition record
DATS
8
0
KODATAB
KBSTAT
Processing status for conditions
CHAR
2
0
T686E
KBSTAT
KNUMH
Number of the Condition Record
CHAR
10
0
KNUMH
A304 foreign key relationships
Table
Field
Check Table
Check Field
0 A304
KAPPL
T681A
Conditions: Applications
KAPPL
1 A304
KBSTAT
T686E
Conditions: Processing Status
KBSTAT
0 A304
KSCHL
T685
Conditions: Types
KAPPL
0 A304
KSCHL
T685
Conditions: Types
KSCHL
1 A304
MANDT
T000
Clients
MANDT
0 A304
MATNR
MARA
General Material Data
MANDT
0 A304
MATNR
MARA
General Material Data
MATNR
1 A304
VKORG
TVKO
Organizational Unit: Sales Organizations
MANDT
1 A304
VKORG
TVKO
Organizational Unit: Sales Organizations
VKORG
0 A304
VTWEG
TVTW
Organizational Unit: Distribution Channels
MANDT
0 A304
VTWEG
TVTW
Organizational Unit: Distribution Channels
VTWEG