P_CharcCtlgVCCharcMatlAssgmt
Variant Configuration: Assignment of Charact. to Materials
P_CharcCtlgVCCharcMatlAssgmt is a Composite CDS View that provides data about "Variant Configuration: Assignment of Charact. to Materials" in SAP S/4HANA. It reads from 1 data source (I_ClfnObjectCharc) and exposes 4 fields with key fields ClfnCharacteristicUseType, Material, ClassInternalID, CharcInternalID. Part of development package PROD_ALLOC_CHARC_CATALOG.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ClfnObjectCharc | CharcMatAssgnmt | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ClfnCharacteristicUseType | |||
| KEY | Material | |||
| KEY | ClassInternalID | I_ClfnObjectCharc | ClassInternalID | |
| KEY | CharcInternalID | I_ClfnObjectCharc | CharcInternalID |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #P
@ObjectModel.usageType.dataClass:#MASTER
define view entity P_CharcCtlgVCCharcMatlAssgmt
with parameters
@Consumption.hidden: true
@Environment.systemField: #SYSTEM_DATE
P_KeyDate : sydate
as select from I_ClfnObjectCharc as CharcMatAssgnmt
join P_CharcCtlgVarConfClass( P_KeyDate: $parameters.P_KeyDate ) as Class on CharcMatAssgnmt.ClassInternalID = Class.ClassInternalID
{
key cast('VC' as clfncharacteristicusetype) as ClfnCharacteristicUseType,
key cast(CharcMatAssgnmt.ClfnObjectID as matnr) as Material,
key CharcMatAssgnmt.ClassInternalID,
key CharcMatAssgnmt.CharcInternalID
}
where
CharcMatAssgnmt.ClfnObjectTable = 'MARA'
and CharcMatAssgnmt.ClfnObjectType = 'O'
and CharcMatAssgnmt.ValidityEndDate >= $session.system_date
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