C_ProductionVersion
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)
| Source | Alias | Join Type |
|---|---|---|
| R_ProductionVersionTP | R_ProductionVersionTP | projection |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_PRODUCTIONVERSION | UI_PRODUCTIONVERSION | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA