I_AdditionalCustomerMaterial
Additional Customer Materials
I_AdditionalCustomerMaterial is a Basic CDS View that provides data about "Additional Customer Materials" in SAP S/4HANA. It reads from 1 data source (knmta) and exposes 8 fields with key fields SalesOrganization, DistributionChannel, Customer, Material, Product. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| knmta | knmta | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CustomerMaterial | _CustomerMaterial | $projection.SalesOrganization = _CustomerMaterial.SalesOrganization and $projection.DistributionChannel = _CustomerMaterial.DistributionChannel and $projection.Customer = _CustomerMaterial.Customer and $projection.Material = _CustomerMaterial.Material and $projection.Product = _CustomerMaterial.Product |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| EndUserText.label | Additional Customer Materials | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | ISDADDCUSTMAT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrganization | knmt | vkorg | SD Sales Org. |
| KEY | DistributionChannel | knmt | vtweg | RefDistCh-Cust/Mat. |
| KEY | Customer | knmt | kunnr | Stock customer |
| KEY | Material | knmt | matnr | Vehicle Model |
| KEY | Product | |||
| KEY | MaterialByCustomer | knmta | kdmat | Customer Mat. |
| MaterialDescriptionByCustomer | addpostx | CustMatDescr. | ||
| _CustomerMaterial | _CustomerMaterial |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_AdditionalCustomerMaterial.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ISDADDCUSTMAT
CREATE VIEW I_AdditionalCustomerMaterial AS
SELECT
knmt.vkorg AS SalesOrganization,
knmt.vtweg AS DistributionChannel,
knmt.kunnr AS Customer,
knmt.matnr AS Material,
cast (knmt.matnr as productnumber preserving type) AS Product,
knmta.kdmat AS MaterialByCustomer,
addpostx AS MaterialDescriptionByCustomer
FROM knmta
LEFT OUTER JOIN I_CustomerMaterial AS _CustomerMaterial ON SalesOrganization = _CustomerMaterial.SalesOrganization AND DistributionChannel = _CustomerMaterial.DistributionChannel AND Customer = _CustomerMaterial.Customer AND Material = _CustomerMaterial.Material AND Product = _CustomerMaterial.Product -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA