I_SpecValAssgmtWithHeader

DDL: I_SPECVALASSGMTWITHHEADER SQL: ISPECVAWHDR Type: view COMPOSITE Package: VDM_PLMB_SPC_VA

Specification Value Assignment Instance with Header

I_SpecValAssgmtWithHeader is a Composite CDS View that provides data about "Specification Value Assignment Instance with Header" in SAP S/4HANA. It reads from 2 data sources (P_SpecValAssgmtInstanceNormal, I_SpecValAssgmtUsage) and exposes 31 fields with key fields SpecValAssgmtHdr, SpecValAssgmt, SpecValAssgmtUsageInternalID. It has 3 associations to related views. Part of development package VDM_PLMB_SPC_VA.

Data Sources (2)

SourceAliasJoin Type
P_SpecValAssgmtInstanceNormal P_SpecValAssgmtInstanceNormal from
I_SpecValAssgmtUsage usg left_outer

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_SpecRating _Rating $projection.SpecificationRating = _Rating.SpecificationRating
[0..1] I_SpecValidityArea _ValidityArea $projection.SpecificationValidityArea = _ValidityArea.SpecificationValidityArea
[0..1] I_SpecificationForKeyDate _SpecificationForKeyDate $projection.SpecificationInternalID = _SpecificationForKeyDate.SpecificationInternalID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ISPECVAWHDR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view
EndUserText.label Specification Value Assignment Instance with Header view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY SpecValAssgmtHdr SpecValAssgmtHdr
KEY SpecValAssgmt SpecValAssgmt
KEY SpecValAssgmtUsageInternalID I_SpecValAssgmtUsage SpecValAssgmtUsageInternalID
SpecificationInternalID header SpecificationInternalID Specification
SpecValAssgmtType SpecValAssgmtType Val. Asst Type
SpecValAssgmtHdrIsDeleted SpecValAssgmtHdrIsDeleted
SpecValAssgmtChangeState SpecValAssgmtChangeState
SpecValAssgmtValidityStartDate SpecValAssgmtValidityStartDate
SpecValAssgmtValidityEndDate SpecValAssgmtValidityEndDate
SpecValAssgmtChangeNumber SpecValAssgmtChangeNumber
SpecValAssgmtCreationDate SpecValAssgmtCreationDate
SpecValAssgmtCreatedByUser SpecValAssgmtCreatedByUser
SpecValAssgmtLastChangeDate SpecValAssgmtLastChangeDate
SpecValAssgmtLastChangedByUser SpecValAssgmtLastChangedByUser
SpecValAssgmtSortSequence SpecValAssgmtSortSequence
SpecValAssgmtUnitRefDimension SpecValAssgmtUnitRefDimension
SpecValAssgmtIsInhtncSource SpecValAssgmtIsInhtncSource
InhtdSpecValAssgmtIsTmpChgd InhtdSpecValAssgmtIsTmpChgd
InhtdSpecValAssgmtIsPermChgd InhtdSpecValAssgmtIsPermChgd
SpecInheritanceTemplate SpecInheritanceTemplate
SpecValAssgmtInheritanceParent SpecValAssgmtInheritanceParent
SpecValAssgmtInheritanceRoot SpecValAssgmtInheritanceRoot
SpecValAssgmtRootSpecIntID SpecValAssgmtRootSpecIntID Specification
SpecValAssgmtIsDeleted SpecValAssgmtIsDeleted
SpecificationRating I_SpecValAssgmtUsage SpecificationRating Rating
SpecificationValidityArea I_SpecValAssgmtUsage SpecificationValidityArea Validity Area
SpecValAssgmtUsageIsExcluded I_SpecValAssgmtUsage SpecValAssgmtUsageIsExcluded
SpecValAssgmtUsageIsActive I_SpecValAssgmtUsage SpecValAssgmtUsageIsActive
SpecValAssgmtUsageIsRelevant I_SpecValAssgmtUsage SpecValAssgmtUsageIsRelevant
_ValueAssignmentType _ValueAssignmentType
_SpecificationForKeyDate _SpecificationForKeyDate

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_SpecValAssgmtWithHeader.
-- 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: ISPECVAWHDR
-- Parameters: P_KeyDate : sydate

CREATE VIEW I_SpecValAssgmtWithHeader AS
SELECT
  SpecValAssgmtHdr,
  SpecValAssgmt,
  usg.SpecValAssgmtUsageInternalID AS SpecValAssgmtUsageInternalID,
  header.SpecificationInternalID AS SpecificationInternalID,
  SpecValAssgmtType,
  SpecValAssgmtHdrIsDeleted,
  SpecValAssgmtChangeState,
  SpecValAssgmtValidityStartDate,
  SpecValAssgmtValidityEndDate,
  SpecValAssgmtChangeNumber,
  SpecValAssgmtCreationDate,
  SpecValAssgmtCreatedByUser,
  SpecValAssgmtLastChangeDate,
  SpecValAssgmtLastChangedByUser,
  SpecValAssgmtSortSequence,
  SpecValAssgmtUnitRefDimension,
  SpecValAssgmtIsInhtncSource,
  InhtdSpecValAssgmtIsTmpChgd,
  InhtdSpecValAssgmtIsPermChgd,
  SpecInheritanceTemplate,
  SpecValAssgmtInheritanceParent,
  SpecValAssgmtInheritanceRoot,
  SpecValAssgmtRootSpecIntID,
  SpecValAssgmtIsDeleted,
  usg.SpecificationRating AS SpecificationRating,
  usg.SpecificationValidityArea AS SpecificationValidityArea,
  usg.SpecValAssgmtUsageIsExcluded AS SpecValAssgmtUsageIsExcluded,
  usg.SpecValAssgmtUsageIsActive AS SpecValAssgmtUsageIsActive,
  usg.SpecValAssgmtUsageIsRelevant AS SpecValAssgmtUsageIsRelevant
FROM P_SpecValAssgmtInstanceNormal
LEFT OUTER JOIN I_SpecValAssgmtUsage AS usg ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SpecRating AS _Rating ON SpecificationRating = _Rating.SpecificationRating  -- association [0..1]
LEFT OUTER JOIN I_SpecValidityArea AS _ValidityArea ON SpecificationValidityArea = _ValidityArea.SpecificationValidityArea  -- association [0..1]
LEFT OUTER JOIN I_SpecificationForKeyDate AS _SpecificationForKeyDate ON SpecificationInternalID = _SpecificationForKeyDate.SpecificationInternalID  -- association [0..1]
;