Sunday, May 19, 2024

SAP Table A018 – Material Info Record

A018 is a standard SAP table in SAP ECC (or) S/4HANA which stores Material Info Record data. There are total 10 fields in A018 table.This blog post provides key technical details of SAP table A018, including its availability across SAP S/4HANA versions and the list of CDS views for A018 table in SAP.

SAP HANA Table Type Column Store
Buffering Permission Buffering switched on
Buffering Type Full table is passed to buffer
Package Application development Conditions (VKON)
Technical Component Conditions (SD-MD-CM)

SAP A018 Table Fields

The following is the list of fields that are available in SAP A018 table. The key fields of the table are highlighted in color.

Field Description Data Element Domain Check Table Data Type
MANDT Client MANDT MANDT T000 CLNT (3)
KAPPL Application KAPPL KAPPL T681A CHAR (2)
KSCHL Condition type KSCHA KSCHL T685 CHAR (4)
LIFNR Vendor’s account number ELIFN LIFNR LFA1 CHAR (10)
MATNR Material Number MATNR MATNR MARA CHAR (40)
EKORG Purchasing organization EKORG EKORG T024E CHAR (4)
ESOKZ Purchasing info record category ESOKZ ESOKZ CHAR (1)
DATBI Validity end date of the condition record KODATBI DATUM DATS (8)
DATAB Validity start date of the condition record KODATAB DATUM DATS (8)
KNUMH Number of the Condition Record KNUMH KNUMH CHAR (10)

Availability

The SAP table A018 is available within SAP S/4HANA On-premise and SAP S/4HANA Cloud systems depending on the version and release level.

SAP S/4HANA Version Available?
1909 Yes
2020 Yes
2021 Yes
2022 Yes
2023 Yes

CDS Views for A018 table

The following is the list of A018 CDS views, which can also be used instead of A018 table based on your business requirements.

CDS View CDS View Type Description
I_PURINFCNDHELPR BASIC Helper View For CDS
I_PURINFCNDPERIOD BASIC CONDITONS VALIDITY
I_PURINFORECDMATERIALPRCGCNDN BASIC Purch Info Record Material Cond
A_PURINFORECDPRCGCNDNVALIDITY COMPOSITE Pricing Condition Validity
I_PURINFORECDPRCGCNDNVALIDITY COMPOSITE Purch Info Record Cond Validity
I_SOURCESOFSUPPLY COMPOSITE Sources of Supply
C_EXTPURREQNPROPOSEDSOS CONSUMPTION Available Sources of Supply
C_PURGINFORECDAVGPRHIST CONSUMPTION Calculating Average Price History for PIR
C_PURGINFORECDVARCCALC CONSUMPTION Consumption view for PIR variance
C_PURINFCONDPERIOD CONSUMPTION Condition Period Consumption
C_PURINFORECDPRHIST CONSUMPTION Monitor Purchasing Info Record Price History
C_SOURCESOFSUPPLY CONSUMPTION Sources of Supply
P_PURGINFORECDHISTVARCCALC CONSUMPTION Info Record Price Change History Detail
P_PURGINFORECDPRCCALC CONSUMPTION Info Record Price Conversion
P_PURGINFORECDVARCCALC CONSUMPTION Private View for PIR Variance
P_PURINFORECDPRHIST CONSUMPTION Private View for Purchasing Info Record Price History