P_RecommendedProductionVersion

DDL: P_RECOMMENDEDPRODUCTIONVERSION Type: view_entity COMPOSITE Package: VDM_PP_MD_PRV

Recommended Production Version

P_RecommendedProductionVersion is a Composite CDS View that provides data about "Recommended Production Version" in SAP S/4HANA. It reads from 1 data source (R_RecmddProductionVersionTP) and exposes 75 fields with key fields Material, Plant, RecommendedProductionVersion. Part of development package VDM_PP_MD_PRV.

Data Sources (1)

SourceAliasJoin Type
R_RecmddProductionVersionTP R_RecmddProductionVersionTP from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Recommended Production Version view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (75)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY RecommendedProductionVersion RecommendedProductionVersion
ProductionVersion ProductionVersion Version ID
ProductionVersionText ProductionVersionText
BillOfOperationsType BillOfOperationsType Task List Type
BillOfOperationsGroup BillOfOperationsGroup Group
BillOfOperationsVariant BillOfOperationsVariant Group Counter
BillOfMaterialVariantUsage BillOfMaterialVariantUsage Usage
BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
ProductionLine ProductionLine Production Line
ProductionSupplyArea ProductionSupplyArea Supply Area
ProductionVersionGroup ProductionVersionGroup
MainProduct MainProduct
MaterialCostApportionmentStruc MaterialCostApportionmentStruc
IssuingStorageLocation IssuingStorageLocation Iss. Stor. Loc.
ReceivingStorageLocation ReceivingStorageLocation RecStorLoc
OriginalBatchReferenceMaterial OriginalBatchReferenceMaterial
QuantityDistributionKey QuantityDistributionKey Distribution
ProductionVersionStatus ProductionVersionStatus
ProductionVersionLastCheckDate ProductionVersionLastCheckDate
RateBasedPlanningStatus RateBasedPlanningStatus
PreliminaryPlanningStatus PreliminaryPlanningStatus
BOMCheckStatus BOMCheckStatus
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
ProductionVersionLock ProductionVersionLock
ProdnVersIsAllowedForRptvMfg ProdnVersIsAllowedForRptvMfg
HasVersionCtrldBOMAndRouting HasVersionCtrldBOMAndRouting
PlanningAndExecutionBOMIsDiff PlanningAndExecutionBOMIsDiff
ExecBillOfMaterialVariantUsage ExecBillOfMaterialVariantUsage
ExecBillOfMaterialVariant ExecBillOfMaterialVariant
ExecBillOfOperationsType ExecBillOfOperationsType
ExecBillOfOperationsGroup ExecBillOfOperationsGroup
ExecBillOfOperationsVariant ExecBillOfOperationsVariant
EWMWarehouse EWMWarehouse Warehouse No.
DestinationStorageBin DestinationStorageBin
ProcurementType ProcurementType Procurement
MaterialProcurementProfile MaterialProcurementProfile Special Procur.
UsgeProbltyWthVersCtrlInPct UsgeProbltyWthVersCtrlInPct
MaterialBaseUnit MaterialBaseUnit Valuation Unit
MaterialMinLotSizeQuantity MaterialMinLotSizeQuantity
MaterialMaxLotSizeQuantity MaterialMaxLotSizeQuantity
CostingLotSize CostingLotSize
TargetProductionSupplyArea TargetProductionSupplyArea
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
ProdnVersLastChangeDateTime ProdnVersLastChangeDateTime
RecmddProductionVersionStatus RecmddProductionVersionStatus
ProducerEventType ProducerEventType
ProducerBusinessObjectType ProducerBusinessObjectType
MaterialName _MaterialText MaterialName Material Description
PlantName _Plant PlantName Plant Name
_BillOfOperations _BillOfOperations
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsType _BillOfOperationsType
_IssuingStorageLocation _IssuingStorageLocation
_MainProduct _MainProduct
_Material _Material
_MaterialBaseUnit _MaterialBaseUnit
_MaterialText _MaterialText
_MatlCostApportionmentStruc _MatlCostApportionmentStruc
_MatlProcurementProfile _MatlProcurementProfile
_OriglBatchReferenceMaterial _OriglBatchReferenceMaterial
_Plant _Plant
_Product _Product
_ProductionLine _ProductionLine
_ProductionSupplyArea _ProductionSupplyArea
_ProductionVersionGroup _ProductionVersionGroup
_ProductPlant _ProductPlant
_QuantityDistributionKey _QuantityDistributionKey
_ReceivingStorageLocation _ReceivingStorageLocation
_TargetProductionSupplyArea _TargetProductionSupplyArea

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 P_RecommendedProductionVersion.
-- 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 P_RecommendedProductionVersion AS
SELECT
  Material,
  Plant,
  RecommendedProductionVersion,
  ProductionVersion,
  ProductionVersionText,
  BillOfOperationsType,
  BillOfOperationsGroup,
  BillOfOperationsVariant,
  BillOfMaterialVariantUsage,
  BillOfMaterialVariant,
  ProductionLine,
  ProductionSupplyArea,
  ProductionVersionGroup,
  MainProduct,
  MaterialCostApportionmentStruc,
  IssuingStorageLocation,
  ReceivingStorageLocation,
  OriginalBatchReferenceMaterial,
  QuantityDistributionKey,
  ProductionVersionStatus,
  ProductionVersionLastCheckDate,
  RateBasedPlanningStatus,
  PreliminaryPlanningStatus,
  BOMCheckStatus,
  ValidityStartDate,
  ValidityEndDate,
  ProductionVersionLock,
  ProdnVersIsAllowedForRptvMfg,
  HasVersionCtrldBOMAndRouting,
  PlanningAndExecutionBOMIsDiff,
  ExecBillOfMaterialVariantUsage,
  ExecBillOfMaterialVariant,
  ExecBillOfOperationsType,
  ExecBillOfOperationsGroup,
  ExecBillOfOperationsVariant,
  EWMWarehouse,
  DestinationStorageBin,
  ProcurementType,
  MaterialProcurementProfile,
  UsgeProbltyWthVersCtrlInPct,
  MaterialBaseUnit,
  MaterialMinLotSizeQuantity,
  MaterialMaxLotSizeQuantity,
  CostingLotSize,
  TargetProductionSupplyArea,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  ProdnVersLastChangeDateTime,
  RecmddProductionVersionStatus,
  ProducerEventType,
  ProducerBusinessObjectType,
  _MaterialText.MaterialName AS MaterialName,
  _Plant.PlantName AS PlantName
FROM R_RecmddProductionVersionTP
;