I_ChmlCmplncSuplrForRawMatl
Raw Material Data via Supplier Material Assignment
I_ChmlCmplncSuplrForRawMatl is a Composite CDS View that provides data about "Raw Material Data via Supplier Material Assignment" in SAP S/4HANA. It has 1 association to related views. Part of development package EHFND_BO_CCI.
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ChmlCmplncInfo | _ChmlCmplncInfo | ActiveDraftCCI.ActiveChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Raw Material Data via Supplier Material Assignment | view | |
| AbapCatalog.sqlViewName | ICCSMRMATL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ChmlSuplrMatlUUID | ||||
| ChmlCmplncInfoUUID | ||||
| ActiveChmlCmplncInfoUUID | ||||
| ChmlCmplncInfoIsActiveEntity | ||||
| ChmlSuplrMatlSuplrSts | ||||
| _SupplierStatus | _SupplierStatus | |||
| _ChmlCmplncInfo | _ChmlCmplncInfo | |||
| _SupplierMaterial | SupplierMaterialAssignment | _SupplierMaterial |
--Label of view
-- e.g. display as filter name in the consumption
@EndUserText.label: 'Raw Material Data via Supplier Material Assignment'
@AbapCatalog:
{
-- SQL view name (16 characters)
sqlViewName: 'ICCSMRMATL',
--If it's true, the filter conditions are compared and, if they match, the associated join expression is evaluated only once
compiler.compareFilter: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
authorizationCheck: #CHECK,
// blocking required for supplier
personalData.blocking: #REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #COMPOSITE
@ObjectModel:
{
usageType:
{
dataClass: #MIXED,
sizeCategory: #L,
serviceQuality: #C
}
}
define view I_ChmlCmplncSuplrForRawMatl
--Select data from basic view of supplier material assignment
as select distinct from I_ChmlCmplncSuplrMatlAssgmt as SupplierMaterialAssignment
--join data for active or draft chemical compliance information
left outer to one join I_ChmlCmplncInfoActiveDraft as ActiveDraftCCI on SupplierMaterialAssignment.ChmlCmplncInfoUUID = ActiveDraftCCI.ActiveChmlCmplncInfoUUID
--Link Chemical Compliance Information => needed for DCL
association [1..1] to I_ChmlCmplncInfo as _ChmlCmplncInfo on ActiveDraftCCI.ActiveChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID
{
--UUID of Supplier Material
key SupplierMaterialAssignment.ChmlSuplrMatlUUID,
--Active or Draft UUID of Chemical Compliance Information
key ActiveDraftCCI.ChmlCmplncInfoUUID,
--Active UUID of Chemical Compliance Information
ActiveDraftCCI.ActiveChmlCmplncInfoUUID,
--Indicator: Is Active Entity
ActiveDraftCCI.ChmlCmplncInfoIsActiveEntity,
--Supplier Status
SupplierMaterialAssignment.ChmlSuplrMatlSuplrSts,
/*Associations*/
_SupplierStatus,
_ChmlCmplncInfo,
// needed for DCL
SupplierMaterialAssignment._SupplierMaterial
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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