I_SpecAssignedMatlForKeyDate
Specification Material Assignment for Key Date
I_SpecAssignedMatlForKeyDate is a Composite CDS View that provides data about "Specification Material Assignment for Key Date" in SAP S/4HANA. It reads from 1 data source (I_SpecAssignedMaterial) and exposes 20 fields with key fields SpecMaterialAssgmtInternalID, SpecMaterialAssgmtChangeState. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SpecAssignedMaterial | I_SpecAssignedMaterial | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SpecificationForKeyDate | _SpecificationForKeyDate | $projection.SpecificationInternalID = _SpecificationForKeyDate.SpecificationInternalID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISPECMATASSGMTKD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | Specification Material Assignment for Key Date | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SpecMaterialAssgmtInternalID | SpecMaterialAssgmtInternalID | ||
| KEY | SpecMaterialAssgmtChangeState | SpecMaterialAssgmtChangeState | ||
| SpecificationInternalID | SpecificationInternalID | |||
| SpecMatlAssgmtValdtyStartDate | SpecMatlAssgmtValdtyStartDate | |||
| SpecMatlAssgmtValdtyEndDate | SpecMatlAssgmtValdtyEndDate | |||
| SpecMaterialAssgmtChangeNumber | SpecMaterialAssgmtChangeNumber | |||
| SpecMaterialAssgmtIsDeleted | SpecMaterialAssgmtIsDeleted | |||
| SpecMaterialAssgmtCreationDate | SpecMaterialAssgmtCreationDate | |||
| SpecMaterialAssgmtCreatedByUsr | SpecMaterialAssgmtCreatedByUsr | |||
| SpecMaterialAssgmtChangeDate | SpecMaterialAssgmtChangeDate | |||
| SpecMatlAssgmtLastChangedByUsr | SpecMatlAssgmtLastChangedByUsr | |||
| Plant | Plant | |||
| Material | Material | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _Product | _Product | |||
| _Material | _Material | |||
| _MaterialPlant | _MaterialPlant | |||
| _SpecificationForKeyDate | _SpecificationForKeyDate | |||
| _MaterialText | _MaterialText |
@AbapCatalog.sqlViewName: 'ISPECMATASSGMTKD'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #MASTER
@EndUserText.label: 'Specification Material Assignment for Key Date'
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@VDM.viewType: #COMPOSITE
define view I_SpecAssignedMatlForKeyDate
with parameters
@Environment.systemField: #SYSTEM_DATE
P_KeyDate : sydate
as select from I_SpecAssignedMaterial
association [1..1] to I_SpecificationForKeyDate as _SpecificationForKeyDate on $projection.SpecificationInternalID = _SpecificationForKeyDate.SpecificationInternalID
{
// I_SpecAssignedMaterial
key SpecMaterialAssgmtInternalID,
key SpecMaterialAssgmtChangeState,
SpecificationInternalID,
SpecMatlAssgmtValdtyStartDate,
SpecMatlAssgmtValdtyEndDate,
SpecMaterialAssgmtChangeNumber,
SpecMaterialAssgmtIsDeleted,
SpecMaterialAssgmtCreationDate,
SpecMaterialAssgmtCreatedByUsr,
SpecMaterialAssgmtChangeDate,
SpecMatlAssgmtLastChangedByUsr,
Plant,
Material,
/* Associations */
_CreatedByUser,
_LastChangedByUser,
_Product,
_Material,
_MaterialPlant,
_SpecificationForKeyDate,
_MaterialText
}
where
SpecMatlAssgmtValdtyStartDate <= $parameters.P_KeyDate
and SpecMatlAssgmtValdtyEndDate >= $parameters.P_KeyDate
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