C_ChmlCmplncMatlAssgmtTP
Chemical Compliance Material Assignment
C_ChmlCmplncMatlAssgmtTP is a Consumption CDS View that provides data about "Chemical Compliance Material Assignment" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncMatlAssgmtTP) and exposes 11 fields with key field ChmlCmplncMatlAssgmtUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCmplncMatlAssgmtTP | I_ChmlCmplncMatlAssgmtTP | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ChmlCmplncInfoTP | _ChmlCmplncInfo | _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Chemical Compliance Material Assignment | view | |
| AbapCatalog.sqlViewName | CCCMATLASSGMTTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncMatlAssgmtUUID | ChmlCmplncMatlAssgmtUUID | ||
| ChmlCmplncInfoUUID | ChmlCmplncInfoUUID | |||
| Material | Material | |||
| MaterialName | ||||
| MaterialGroup | ||||
| MaterialGroupName | ||||
| CrossPlantStatusName | ||||
| MatlAssgmtIsPrimary | MatlAssgmtIsPrimary | |||
| ExternalProductGroup | ||||
| Division | _Product | Division | ||
| _ChmlCmplncInfo | _ChmlCmplncInfo |
@EndUserText.label: 'Chemical Compliance Material Assignment'
@AbapCatalog:
{
sqlViewName: 'CCCMATLASSGMTTP',
compiler.compareFilter: true
}
@AccessControl:
{
authorizationCheck: #MANDATORY,
// blocking of personal data not required (no personal data fields exposed for material (MARA))
personalData.blocking: #NOT_REQUIRED
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@ObjectModel:
{
transactionalProcessingDelegated: true,
createEnabled: true,
updateEnabled: true,
deleteEnabled: true,
semanticKey: [ 'MaterialName' ],
usageType:
{
/*Service Quality - reflects the quality of service with respect to the expected performance of the CDS view:
#A: may be consumed within business logic for high volume transactions or background processing
#B: may be consumed within business logic for transactions or background processing
*/
dataClass: #MIXED,
sizeCategory: #L,
serviceQuality: #C
}
}
@Metadata.allowExtensions: true
@Search.searchable: true
define view C_ChmlCmplncMatlAssgmtTP
as select from I_ChmlCmplncMatlAssgmtTP
association [1..1] to C_ChmlCmplncInfoTP as _ChmlCmplncInfo on _ChmlCmplncInfo.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID
{
key ChmlCmplncMatlAssgmtUUID,
ChmlCmplncInfoUUID,
@ObjectModel:
{
mandatory: true
}
Material,
@ObjectModel.readOnly: true
cast(_Product._Text[ 1: Language = $session.system_language ].ProductName as ehfnd_cci_material_name ) as MaterialName,
@ObjectModel:
{
readOnly: true,
text.element: [ 'MaterialGroupName' ]
}
cast(_Product.ProductGroup as ehfnd_cci_material_group preserving type) as MaterialGroup,
@ObjectModel.readOnly: true
_Product._ProductGroup._Text[1: Language = $session.system_language ].MaterialGroupName,
@ObjectModel:
{
readOnly: true
}
cast(_Product._ProductStatusText[1: Language = $session.system_language ].MaterialUsabilityProfileName as ehfnd_cci_crossplantstatus_txt preserving type) as CrossPlantStatusName,
MatlAssgmtIsPrimary,
@ObjectModel.readOnly: true
cast(_Product.ExternalProductGroup as ehfnd_ext_material_group preserving type) as ExternalProductGroup,
@ObjectModel.readOnly: true
_Product.Division as Division,
/* Associations */
@ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
_ChmlCmplncInfo
}
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