C_ProductionVersion

DDL: C_PRODUCTIONVERSION Type: view_entity CONSUMPTION

Production Version List

C_ProductionVersion is a Consumption CDS View that provides data about "Production Version List" in SAP S/4HANA. It reads from 1 data source (R_ProductionVersionTP) and exposes 90 fields with key fields Material, Plant, ProductionVersion. It has 2 associations to related views. It is exposed through 1 OData service (UI_PRODUCTIONVERSION). It is used in 1 Fiori application: Process Production Versions.

Data Sources (1)

SourceAliasJoin Type
R_ProductionVersionTP R_ProductionVersionTP projection

Associations (2)

CardinalityTargetAliasCondition
[0..*] C_TaskListSequence _TaskListSequence $projection.BillOfOperationsType = _TaskListSequence.BillOfOperationsType and $projection.BillOfOperationsGroup = _TaskListSequence.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _TaskListSequence.BillOfOperationsVariant
[0..*] C_TaskListActivity _Operation $projection.BillOfOperationsType = _Operation.BillOfOperationsType and $projection.BillOfOperationsGroup = _Operation.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _Operation.BillOfOperationsVariant

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Production Version List view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
Metadata.allowExtensions true view

OData Services (1)

ServiceBindingVersionContractRelease
UI_PRODUCTIONVERSION UI_PRODUCTIONVERSION V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F6400 Process Production Versions Transactional With this app, you can view the following details: Existing production versions Proposals for creating a new production version if a new BOM / Task List is created or if a production version does not exist for a BOM/Task list combination Production versions if there are any inconsistencies related to missing information

Process Production Versions

Business Role: Others

With this app, you can achieve the following: View and edit existing production versions Create new production versions Mass lock and unlock of Production versions Mass consistency check of existing production versions View all proposals that are generated when a new production version if a new BOM / Task List is created or if a production version does not exist for a BOM/Task list combination. Accept or Reject Proposals in a individual manner or through mass action. Delete selected production versions

Fields (90)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY ProductionVersion ProductionVersion Version ID
ProductionVersionText ProductionVersionText Production Version Description
ChangeHistoryCount ChangeHistoryCount
ChangeNumber ChangeNumber Change Number
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
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
RoutingCheckStatusText RoutingCheckStatusText
ProductionVersionLastCheckDate ProductionVersionLastCheckDate
RateBasedPlanningStatus RateBasedPlanningStatus
PreliminaryPlanningStatus PreliminaryPlanningStatus
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
MRPResponsible _ProductPlant MRPResponsible MRP Controller
PlantName _Plant PlantName Plant Name
MRPController MRP Controller
MaterialName _MaterialText MaterialName Material Description
BillOfOperationsTypeName BillOfOperationsTypeName
ProductionVersionLockText _ProdnVersLockText ProductionVersionLockText
int1
BOMCheckStatus
OvrlProdnVersChkSts OvrlProdnVersChkSts
BillOfMaterial _MaterialBOM BillOfMaterial BOM
BillOfMaterialCategory _MaterialBOM BillOfMaterialCategory BOM category
NmbrOfProdnVersConstcyWarning
NumberOfProdnVersConstcyError
NmbrOfProdnVersConstcySuccess
_BillOfOperations _BillOfOperations
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsTypeText _BillOfOperationsTypeText
_ChangeMaster _ChangeMaster
_IssuingStorageLocation _IssuingStorageLocation
_MainProduct _MainProduct
_Material _Material
_MaterialBaseUnit _MaterialBaseUnit
_MatlCostApportionmentStruc _MatlCostApportionmentStruc
_MatlProcurementProfile _MatlProcurementProfile
_OriglBatchReferenceMaterial _OriglBatchReferenceMaterial
_Plant _Plant
_MaterialText _MaterialText
_Product _Product
_ProductionLine _ProductionLine
_ProductionSupplyArea _ProductionSupplyArea
_ProductionVersionGroup _ProductionVersionGroup
_ProductPlant _ProductPlant
_QuantityDistributionKey _QuantityDistributionKey
_ReceivingStorageLocation _ReceivingStorageLocation
_TargetProductionSupplyArea _TargetProductionSupplyArea
_ProdnVersLockText _ProdnVersLockText
_ProdnVersLockVH _ProdnVersLockVH
_TaskListSequence _TaskListSequence
_Operation _Operation

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_ProductionVersion.
-- 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 C_ProductionVersion AS
SELECT
  Material,
  Plant,
  ProductionVersion,
  ProductionVersionText,
  ChangeHistoryCount,
  ChangeNumber,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  BillOfOperationsType,
  BillOfOperationsGroup,
  BillOfOperationsVariant,
  BillOfMaterialVariantUsage,
  BillOfMaterialVariant,
  ProductionLine,
  ProductionSupplyArea,
  ProductionVersionGroup,
  MainProduct,
  MaterialCostApportionmentStruc,
  IssuingStorageLocation,
  ReceivingStorageLocation,
  OriginalBatchReferenceMaterial,
  QuantityDistributionKey,
  ProductionVersionStatus,
  RoutingCheckStatusText,
  ProductionVersionLastCheckDate,
  RateBasedPlanningStatus,
  PreliminaryPlanningStatus,
  ValidityStartDate,
  ValidityEndDate,
  ProductionVersionLock,
  ProdnVersIsAllowedForRptvMfg,
  HasVersionCtrldBOMAndRouting,
  PlanningAndExecutionBOMIsDiff,
  ExecBillOfMaterialVariantUsage,
  ExecBillOfMaterialVariant,
  ExecBillOfOperationsType,
  ExecBillOfOperationsGroup,
  ExecBillOfOperationsVariant,
  EWMWarehouse,
  DestinationStorageBin,
  ProcurementType,
  MaterialProcurementProfile,
  UsgeProbltyWthVersCtrlInPct,
  MaterialBaseUnit,
  MaterialMinLotSizeQuantity,
  MaterialMaxLotSizeQuantity,
  CostingLotSize,
  TargetProductionSupplyArea,
  _ProductPlant.MRPResponsible AS MRPResponsible,
  _Plant.PlantName AS PlantName,
  cast(MRPController as pph_dispo preserving type ) AS MRPController,
  _MaterialText.MaterialName AS MaterialName,
  BillOfOperationsTypeName,
  _ProdnVersLockText.ProductionVersionLockText AS ProductionVersionLockText,
  virtual CheckStatusCriticality : abap.int1 AS int1,
  cast(BOMCheckStatus as mpe_pv_bom_chksts preserving type ) AS BOMCheckStatus,
  OvrlProdnVersChkSts,
  _MaterialBOM.BillOfMaterial AS BillOfMaterial,
  _MaterialBOM.BillOfMaterialCategory AS BillOfMaterialCategory,
  _ConstcyLogCount[1:ProdnVersConstcyIssSvrtyLvl = 'W'].NumberOfProdnVersConstcyIssue AS NmbrOfProdnVersConstcyWarning,
  _ConstcyLogCount[1:ProdnVersConstcyIssSvrtyLvl = 'E'].NumberOfProdnVersConstcyIssue AS NumberOfProdnVersConstcyError,
  _ConstcyLogCount[1:ProdnVersConstcyIssSvrtyLvl = 'S'].NumberOfProdnVersConstcyIssue AS NmbrOfProdnVersConstcySuccess
FROM R_ProductionVersionTP
LEFT OUTER JOIN C_TaskListSequence AS _TaskListSequence ON BillOfOperationsType = _TaskListSequence.BillOfOperationsType AND BillOfOperationsGroup = _TaskListSequence.BillOfOperationsGroup AND BillOfOperationsVariant = _TaskListSequence.BillOfOperationsVariant  -- association [0..*]
LEFT OUTER JOIN C_TaskListActivity AS _Operation ON BillOfOperationsType = _Operation.BillOfOperationsType AND BillOfOperationsGroup = _Operation.BillOfOperationsGroup AND BillOfOperationsVariant = _Operation.BillOfOperationsVariant  -- association [0..*]
;