I_SpecificationForKeyDate

DDL: I_SPECIFICATIONFORKEYDATE SQL: ISPECFORKDATE Type: view COMPOSITE Package: VDM_PLMB_SPC_BAS

Specification on a Key Date

I_SpecificationForKeyDate is a Composite CDS View that provides data about "Specification on a Key Date" in SAP S/4HANA. It reads from 1 data source (I_Specification) and exposes 32 fields with key field SpecificationInternalID. It has 4 associations to related views. Part of development package VDM_PLMB_SPC_BAS.

Data Sources (1)

SourceAliasJoin Type
I_Specification spec from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_SpecIdentifierForKeyDate _SpecIdentifierForKeyDate $projection.SpecificationInternalID = _SpecIdentifierForKeyDate.SpecificationInternalID
[0..*] I_SpecAssignedMatlForKeyDate _SpecAssignedMatlForKeyDate $projection.SpecificationInternalID = _SpecAssignedMatlForKeyDate.SpecificationInternalID
[0..*] I_SpecValAssgmtInstanceWthComp _SpecValAssgmtInstanceWthComp $projection.SpecificationInternalID = _SpecValAssgmtInstanceWthComp.SpecificationInternalID
[0..*] I_SpecAssignedStatus _SpecAssignedStatus $projection.SpecificationInternalID = _SpecAssignedStatus.SpecificationInternalID

Annotations (11)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ISPECFORKDATE 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
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view
EndUserText.label Specification on a Key Date view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY SpecificationInternalID SpecificationInternalID Specification
SpecificationChangeState SpecificationChangeState GUID number
Specification Specification Specification
SpecificationValidityStartDate SpecificationValidityStartDate Valid From
SpecificationValidityEndDate SpecificationValidityEndDate Valid To
SpecificationChangeNumber SpecificationChangeNumber
SpecificationIsDeleted SpecificationIsDeleted DID
SpecificationCreationDate SpecificationCreationDate
SpecificationCreatedByUser SpecificationCreatedByUser
SpecificationLastChangeDate SpecificationLastChangeDate
SpecificationLastChangedByUser SpecificationLastChangedByUser
SpecificationType SpecificationType
SpecificationSubstanceNatr SpecificationSubstanceNatr
SpecificationAuthznGroup SpecificationAuthznGroup
SpecificationNote SpecificationNote Note
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_SpecificationAuthGroup _SpecificationAuthGroup
_SpecificationType _SpecificationType
_SubstanceNature _SubstanceNature
_AssignedHeaderStatus _AssignedHeaderStatus
_SpecIdentifierForKeyDate _SpecIdentifierForKeyDate
_ChangeMaster _ChangeMaster
_SpecAssignedMatlForKeyDate _SpecAssignedMatlForKeyDate
_SpecValAssgmtInstanceWthComp _SpecValAssgmtInstanceWthComp
_SpecAssignedMaterial _SpecAssignedMaterial
_DocumentInfoRecordObjectLink _DocumentInfoRecordObjectLink
_RecipeFormulaItem _RecipeFormulaItem
_SpecAssignedStatus _SpecAssignedStatus
_LogAccMObjectTypeActive _LogAccMObjectTypeActive
_LogAccMObjectUserAuthzn _LogAccMObjectUserAuthzn
_LogAccMObjSecureIDAssgmt _LogAccMObjSecureIDAssgmt

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 I_SpecificationForKeyDate.
-- 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: ISPECFORKDATE
-- Parameters: P_KeyDate : sydate

CREATE VIEW I_SpecificationForKeyDate AS
SELECT
  SpecificationInternalID,
  SpecificationChangeState,
  Specification,
  SpecificationValidityStartDate,
  SpecificationValidityEndDate,
  SpecificationChangeNumber,
  SpecificationIsDeleted,
  SpecificationCreationDate,
  SpecificationCreatedByUser,
  SpecificationLastChangeDate,
  SpecificationLastChangedByUser,
  SpecificationType,
  SpecificationSubstanceNatr,
  SpecificationAuthznGroup,
  SpecificationNote
FROM I_Specification AS spec
LEFT OUTER JOIN I_SpecIdentifierForKeyDate AS _SpecIdentifierForKeyDate ON SpecificationInternalID = _SpecIdentifierForKeyDate.SpecificationInternalID  -- association [0..*]
LEFT OUTER JOIN I_SpecAssignedMatlForKeyDate AS _SpecAssignedMatlForKeyDate ON SpecificationInternalID = _SpecAssignedMatlForKeyDate.SpecificationInternalID  -- association [0..*]
LEFT OUTER JOIN I_SpecValAssgmtInstanceWthComp AS _SpecValAssgmtInstanceWthComp ON SpecificationInternalID = _SpecValAssgmtInstanceWthComp.SpecificationInternalID  -- association [0..*]
LEFT OUTER JOIN I_SpecAssignedStatus AS _SpecAssignedStatus ON SpecificationInternalID = _SpecAssignedStatus.SpecificationInternalID  -- association [0..*]
;