A_SpecAssignedMatlForKeyDate
Specification Assigned Material For Key Date
A_SpecAssignedMatlForKeyDate is a Composite CDS View that provides data about "Specification Assigned Material For Key Date" in SAP S/4HANA. It reads from 1 data source (I_SpecAssignedMatlForKeyDate) and exposes 19 fields with key fields SpecMaterialAssgmtInternalID, SpecMaterialAssgmtChangeState. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SpecAssignedMatlForKeyDate | I_SpecAssignedMatlForKeyDate | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | A_Product | _Product | $projection.Material = _Product.Product and $projection.Plant = '' |
| [0..1] | A_ProductPlant | _ProductPlant | $projection.Material = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant |
| [0..*] | A_ProductDescription | _Description | $projection.Material = _Description.Product |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ASPECMATASSIGN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Consumption.filter.businessDate.at | true | view | |
| EndUserText.label | Specification Assigned Material For Key Date | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SpecMaterialAssgmtInternalID | SpecMaterialAssgmtInternalID | ||
| KEY | SpecMaterialAssgmtChangeState | SpecMaterialAssgmtChangeState | ||
| Material | Material | Vehicle Model | ||
| Plant | Plant | Valuation Area | ||
| PlantName | _Plant | PlantName | Plant Name | |
| SpecMaterialAssgmtChangeDate | SpecMaterialAssgmtChangeDate | |||
| SpecMaterialAssgmtChangeNumber | SpecMaterialAssgmtChangeNumber | |||
| SpecMaterialAssgmtCreatedByUsr | SpecMaterialAssgmtCreatedByUsr | |||
| SpecMaterialAssgmtCreationDate | SpecMaterialAssgmtCreationDate | |||
| SpecMaterialAssgmtIsDeleted | SpecMaterialAssgmtIsDeleted | |||
| SpecMatlAssgmtLastChangedByUsr | SpecMatlAssgmtLastChangedByUsr | |||
| SpecMatlAssgmtValdtyEndDate | SpecMatlAssgmtValdtyEndDate | |||
| SpecMatlAssgmtValdtyStartDate | SpecMatlAssgmtValdtyStartDate | |||
| SpecificationInternalID | SpecificationInternalID | Specification | ||
| SpecificationAuthznGroup | ||||
| SpecificationType | ||||
| _Product | _Product | |||
| _ProductPlant | _ProductPlant | |||
| _Description | _Description |
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 A_SpecAssignedMatlForKeyDate.
-- 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: ASPECMATASSIGN
-- Parameters: P_KeyDate : sydate
CREATE VIEW A_SpecAssignedMatlForKeyDate AS
SELECT
SpecMaterialAssgmtInternalID,
SpecMaterialAssgmtChangeState,
Material,
Plant,
_Plant.PlantName AS PlantName,
SpecMaterialAssgmtChangeDate,
SpecMaterialAssgmtChangeNumber,
SpecMaterialAssgmtCreatedByUsr,
SpecMaterialAssgmtCreationDate,
SpecMaterialAssgmtIsDeleted,
SpecMatlAssgmtLastChangedByUsr,
SpecMatlAssgmtValdtyEndDate,
SpecMatlAssgmtValdtyStartDate,
SpecificationInternalID,
_SpecificationForKeyDate( P_KeyDate : $session.system_date ).SpecificationAuthznGroup AS SpecificationAuthznGroup,
_SpecificationForKeyDate( P_KeyDate : $session.system_date ).SpecificationType AS SpecificationType
FROM I_SpecAssignedMatlForKeyDate
LEFT OUTER JOIN A_Product AS _Product ON Material = _Product.Product AND Plant = '' -- association [0..1]
LEFT OUTER JOIN A_ProductPlant AS _ProductPlant ON Material = _ProductPlant.Product AND Plant = _ProductPlant.Plant -- association [0..1]
LEFT OUTER JOIN A_ProductDescription AS _Description ON Material = _Description.Product -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..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