SAP A065 Customer Hierarchy/Material Table
Overview
A065 is a standard SAP S/4HANA table that stores Customer Hierarchy/Material data. There are total 11 fields in the A065 table. The following is a list of the fields that make up this table. Key fields are marked in blue.
The table A065 belongs to Conditions (SD-MD-CM) module and is located in the package Application development Conditions (VKON).
In addition, following links provide an overview of foreign key relationships, if any, that link A065 to other SAP tables and standard CDS views available based on A065 table in S/4HANA 2020.
Techincal Settings of A065
Below are technical details of the table A065
- Buffering switched on
- Full table is passed to buffer
- Storage type is Column Store
List of A065 Fields
The following table gives you an overview of the fields available in A065
| Field | Description | Data Element | Check Table | Data Type | Length |
|---|---|---|---|---|---|
| MANDT | Client | MANDT | T000 | CLNT | 3 |
| KAPPL | Application | KAPPL | T681A | CHAR | 2 |
| KSCHL | Condition type | KSCHA | T685A | CHAR | 4 |
| VKORG | Sales Organization | VKORG | TVKO | CHAR | 4 |
| VTWEG | Distribution Channel | VTWEG | TVTW | CHAR | 2 |
| SPART | Division | SPART | TSPA | CHAR | 2 |
| HIENR | Customer | KUNNR_KH | KNA1 | CHAR | 10 |
| MATNR | Material Number | MATNR | MARA | CHAR | 40 |
| DATBI | Validity end date of the condition record | KODATBI | DATS | 8 | |
| DATAB | Validity start date of the condition record | KODATAB | DATS | 8 | |
| KNUMH | Number of the Condition Record | KNUMH | CHAR | 10 |
Foreign Key Relationships
A foreign key field is a table field that is allocated to a check table and becomes part of the table's foreign key. The following table gives you an overview of the foreign keys for A065
| Table Name | Field | Cardinality | Check Table |
|---|---|---|---|
| A065 | HIENR | : | KNA1 |
| A065 | KAPPL | : | T681A |
| A065 | KSCHL | : | T685A |
| A065 | MANDT | : | T000 |
| A065 | MATNR | : | MARA |
| A065 | SPART | : | TSPA |
| A065 | VKORG | : | TVKO |
| A065 | VTWEG | : | TVTW |