I_InspPlnMatlAssgmtVersion

DDL: I_INSPPLNMATLASSGMTVERSION Type: view_entity BASIC Package: VDM_QM_PLANNING

Version of Plan-Material assignment

I_InspPlnMatlAssgmtVersion is a Basic CDS View that provides data about "Version of Plan-Material assignment" in SAP S/4HANA. It reads from 1 data source (I_BOOMaterialAssgmtChangeState) and exposes 32 fields with key fields Material, Plant, InspectionPlanGroup, InspectionPlan, InspPlanMatlAssignment. It has 6 associations to related views. Part of development package VDM_QM_PLANNING.

Data Sources (1)

SourceAliasJoin Type
I_BOOMaterialAssgmtChangeState I_BOOMaterialAssgmtChangeState from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_InspectionPlan _InspectionPlan $projection.InspectionPlanGroup = _InspectionPlan.InspectionPlanGroup and $projection.InspectionPlan = _InspectionPlan.InspectionPlan
[1..1] I_InspectionPlanVersion _InspectionPlanVersion $projection.InspectionPlanGroup = _InspectionPlanVersion.InspectionPlanGroup and $projection.InspectionPlan = _InspectionPlanVersion.InspectionPlan and $projection.ValidityStartDate >= _InspectionPlanVersion.ValidityStartDate and $projection.ValidityStartDate <= _InspectionPlanVersion.ValidityEndDate
[1..1] I_BillOfOperationsGroup _BillOfOperationsGroup $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup
[1..1] I_InspPlnMatlAssignment _InspPlnMatlAssignment $projection.Material = _InspPlnMatlAssignment.Material and $projection.Plant = _InspPlnMatlAssignment.Plant and $projection.InspectionPlanGroup = _InspPlnMatlAssignment.InspectionPlanGroup and $projection.InspectionPlan = _InspPlnMatlAssignment.InspectionPlan and $projection.InspPlanMatlAssignment = _InspPlnMatlAssignment.InspPlanMatlAssignment
[1..1] I_MltplSpecObject _MltplSpecObject $projection.MultipleSpecificationObject = _MltplSpecObject.MultipleSpecificationObject
[1..1] I_MltplSpecObjectType _MltplSpecObjectType $projection.MultipleSpecificationObjType = _MltplSpecObjectType.MultipleSpecificationObjType

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Version of Plan-Material assignment view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey InspPlanMatlAssgmtIntVersion view
Analytics.technicalName IINSPPLMASSGV view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY InspectionPlanGroup BillOfOperationsGroup Group
KEY InspectionPlan BillOfOperationsVariant Group Counter
KEY InspPlanMatlAssignment BOOToMaterialInternalID Add. Crit. Cntr
KEY InspPlanMatlAssgmtIntVersion BOOMatlInternalVersionCounter Sort pos.
BillOfOperationsType BillOfOperationsType Task List Type
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
ChangeNumber ChangeNumber Change Number
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
IsDeleted IsDeleted TRUE
IsImplicitlyDeleted IsImplicitlyDeleted Deletion Ind.
Supplier Supplier Supplier
Customer Customer Sold-to Party
BOOSearchText BOOSearchText Search Field
MultipleSpecificationObject MultipleSpecificationObject Obj.(MultSpecs)
MultipleSpecificationObjType MultipleSpecificationObjType Object Type
_InspPlnMatlAssignment _InspPlnMatlAssignment
_InspectionPlan _InspectionPlan
_InspectionPlanVersion _InspectionPlanVersion
_Material _Material
_Plant _Plant
_Supplier _Supplier
_Customer _Customer
_MltplSpecObject _MltplSpecObject
_MltplSpecObjectType _MltplSpecObjectType
_ChangeMaster _ChangeMaster
_BillOfOperationsGroup _BillOfOperationsGroup

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_InspPlnMatlAssgmtVersion.
-- 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.

CREATE VIEW I_InspPlnMatlAssgmtVersion AS
SELECT
  Material,
  Plant,
  BillOfOperationsGroup AS InspectionPlanGroup,
  BillOfOperationsVariant AS InspectionPlan,
  BOOToMaterialInternalID AS InspPlanMatlAssignment,
  BOOMatlInternalVersionCounter AS InspPlanMatlAssgmtIntVersion,
  BillOfOperationsType,
  ValidityStartDate,
  ValidityEndDate,
  ChangeNumber,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  IsDeleted,
  IsImplicitlyDeleted,
  Supplier,
  Customer,
  BOOSearchText,
  MultipleSpecificationObject,
  MultipleSpecificationObjType
FROM I_BOOMaterialAssgmtChangeState
LEFT OUTER JOIN I_InspectionPlan AS _InspectionPlan ON InspectionPlanGroup = _InspectionPlan.InspectionPlanGroup AND InspectionPlan = _InspectionPlan.InspectionPlan  -- association [1..1]
LEFT OUTER JOIN I_InspectionPlanVersion AS _InspectionPlanVersion ON InspectionPlanGroup = _InspectionPlanVersion.InspectionPlanGroup AND InspectionPlan = _InspectionPlanVersion.InspectionPlan AND ValidityStartDate >= _InspectionPlanVersion.ValidityStartDate AND ValidityStartDate <= _InspectionPlanVersion.ValidityEndDate  -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _BillOfOperationsGroup ON BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType AND InspectionPlanGroup = _BillOfOperationsGroup.BillOfOperationsGroup  -- association [1..1]
LEFT OUTER JOIN I_InspPlnMatlAssignment AS _InspPlnMatlAssignment ON Material = _InspPlnMatlAssignment.Material AND Plant = _InspPlnMatlAssignment.Plant AND InspectionPlanGroup = _InspPlnMatlAssignment.InspectionPlanGroup AND InspectionPlan = _InspPlnMatlAssignment.InspectionPlan AND InspPlanMatlAssignment = _InspPlnMatlAssignment.InspPlanMatlAssignment  -- association [1..1]
LEFT OUTER JOIN I_MltplSpecObject AS _MltplSpecObject ON MultipleSpecificationObject = _MltplSpecObject.MultipleSpecificationObject  -- association [1..1]
LEFT OUTER JOIN I_MltplSpecObjectType AS _MltplSpecObjectType ON MultipleSpecificationObjType = _MltplSpecObjectType.MultipleSpecificationObjType  -- association [1..1]
;