C_ProdnVersRtgBOMVersObjPgTP

DDL: C_PRODNVERSRTGBOMVERSOBJPGTP SQL: CPVRTGBOMVEROPTP Type: view CONSUMPTION

C_ProdnVersRtgBOMVersObjPgTP is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_ProdnVersRtgBOMVersTP) and exposes 25 fields with key fields Material, Plant, ProductionVersion, ProdnVersRtgBOMVersInternalId. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProdnVersRtgBOMVersTP I_ProdnVersRtgBOMVersTP from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_ProdnVersObjPgTP _ProdnVers $projection.Material = _ProdnVers.Material and $projection.Plant = _ProdnVers.Plant and $projection.ProductionVersion = _ProdnVers.ProductionVersion
[0..1] I_BillOfMaterialUsage _BOMVarUsgeVH $projection.BillOfMaterialVariantUsage = _BOMVarUsgeVH.BillOfMaterialVariantUsage and _BOMVarUsgeVH.Language = $session.system_language
[0..1] I_BillOfOperationsVersion _BOOVersAssgmtVH $projection.BillOfOperationsType = _BOOVersAssgmtVH.BillOfOperationsType and $projection.BillOfOperationsGroup = _BOOVersAssgmtVH.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BOOVersAssgmtVH.BillOfOperationsVariant and $projection.BillOfOperationsVersion = _BOOVersAssgmtVH.BillOfOperationsVersion
[0..1] C_ProdnVersMatlBOMVersVH _BOMVersAssgmtVH $projection.MaterialForEdit = _BOMVersAssgmtVH.Material and $projection.PlantForEdit = _BOMVersAssgmtVH.Plant and $projection.BillOfMaterialVariant = _BOMVersAssgmtVH.BillOfMaterialVariant and $projection.BillOfMaterialVariantUsage = _BOMVersAssgmtVH.BillOfMaterialVariantUsage and $projection.BillOfMaterialVersion = _BOMVersAssgmtVH.BillOfMaterialVersion and $projection.BillOfMaterial = _BOMVersAssgmtVH.BillOfMaterial
[0..1] C_ProdnVersMatlBOMVH _MatlBOMVarVH $projection.MaterialForEdit = _MatlBOMVarVH.Material and $projection.PlantForEdit = _MatlBOMVarVH.Plant and $projection.BillOfMaterialVariantUsage = _MatlBOMVarVH.BillOfMaterialVariantUsage and $projection.BillOfMaterialVariant = _MatlBOMVarVH.BillOfMaterialVariant

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPVRTGBOMVEROPTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.transactionalProcessingDelegated true view
Metadata.allowExtensions true view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY ProductionVersion ProductionVersion Version ID
KEY ProdnVersRtgBOMVersInternalId ProdnVersRtgBOMVersInternalId
BillOfOperationsGroup BillOfOperationsGroup Group
BillOfOperationsVariant BillOfOperationsVariant Group Counter
BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
BillOfMaterialVariantUsage BillOfMaterialVariantUsage Usage
BillOfOperationsVersion BillOfOperationsVersion Routing Version
BillOfMaterialVersion BillOfMaterialVersion BOM Version
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
BillOfOperationsType BillOfOperationsType Task List Type
BillOfMaterialCategory BillOfMaterialCategory BOM category
BillOfMaterial BillOfMaterial BOM
ProdnRtgVersBOMInternalID ProdnRtgVersBOMInternalID Allocation no.
MaterialForEdit MaterialForEdit Product
PlantForEdit PlantForEdit Plant ID
IsProdnVersBOMAndRoutingChgd IsProdnVersBOMAndRoutingChgd
IsMaterialUnitized IsMaterialUnitized
_ProdnVers _ProdnVers
_BOMVarUsgeVH _BOMVarUsgeVH
_BOOVersAssgmtVH _BOOVersAssgmtVH
_BOMVersAssgmtVH _BOMVersAssgmtVH
_MatlBOMVarVH _MatlBOMVarVH

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 C_ProdnVersRtgBOMVersObjPgTP.
-- 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: CPVRTGBOMVEROPTP

CREATE VIEW C_ProdnVersRtgBOMVersObjPgTP AS
SELECT
  Material,
  Plant,
  ProductionVersion,
  ProdnVersRtgBOMVersInternalId,
  BillOfOperationsGroup,
  BillOfOperationsVariant,
  BillOfMaterialVariant,
  BillOfMaterialVariantUsage,
  BillOfOperationsVersion,
  BillOfMaterialVersion,
  ValidityStartDate,
  ValidityEndDate,
  BillOfOperationsType,
  BillOfMaterialCategory,
  BillOfMaterial,
  ProdnRtgVersBOMInternalID,
  MaterialForEdit,
  PlantForEdit,
  IsProdnVersBOMAndRoutingChgd,
  IsMaterialUnitized
FROM I_ProdnVersRtgBOMVersTP
LEFT OUTER JOIN C_ProdnVersObjPgTP AS _ProdnVers ON Material = _ProdnVers.Material AND Plant = _ProdnVers.Plant AND ProductionVersion = _ProdnVers.ProductionVersion  -- association [1..1]
LEFT OUTER JOIN I_BillOfMaterialUsage AS _BOMVarUsgeVH ON BillOfMaterialVariantUsage = _BOMVarUsgeVH.BillOfMaterialVariantUsage AND _BOMVarUsgeVH.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsVersion AS _BOOVersAssgmtVH ON BillOfOperationsType = _BOOVersAssgmtVH.BillOfOperationsType AND BillOfOperationsGroup = _BOOVersAssgmtVH.BillOfOperationsGroup AND BillOfOperationsVariant = _BOOVersAssgmtVH.BillOfOperationsVariant AND BillOfOperationsVersion = _BOOVersAssgmtVH.BillOfOperationsVersion  -- association [0..1]
LEFT OUTER JOIN C_ProdnVersMatlBOMVersVH AS _BOMVersAssgmtVH ON MaterialForEdit = _BOMVersAssgmtVH.Material AND PlantForEdit = _BOMVersAssgmtVH.Plant AND BillOfMaterialVariant = _BOMVersAssgmtVH.BillOfMaterialVariant AND BillOfMaterialVariantUsage = _BOMVersAssgmtVH.BillOfMaterialVariantUsage AND BillOfMaterialVersion = _BOMVersAssgmtVH.BillOfMaterialVersion AND BillOfMaterial = _BOMVersAssgmtVH.BillOfMaterial  -- association [0..1]
LEFT OUTER JOIN C_ProdnVersMatlBOMVH AS _MatlBOMVarVH ON MaterialForEdit = _MatlBOMVarVH.Material AND PlantForEdit = _MatlBOMVarVH.Plant AND BillOfMaterialVariantUsage = _MatlBOMVarVH.BillOfMaterialVariantUsage AND BillOfMaterialVariant = _MatlBOMVarVH.BillOfMaterialVariant  -- association [0..1]
;