A_SpecAssignedMatlForKeyDate

DDL: A_SPECASSIGNEDMATLFORKEYDATE SQL: ASPECMATASSIGN Type: view COMPOSITE

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)

SourceAliasJoin Type
I_SpecAssignedMatlForKeyDate I_SpecAssignedMatlForKeyDate from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;