C_RecommendedProductionVersion
Recommended Prodn Vers
C_RecommendedProductionVersion is a Consumption CDS View that provides data about "Recommended Prodn Vers" in SAP S/4HANA. It reads from 1 data source (R_RecmddProductionVersionTP) and exposes 81 fields with key fields Material, Plant, RecommendedProductionVersion. It is exposed through 1 OData service (UI_PRODUCTIONVERSION). It is used in 1 Fiori application: Process Production Versions. Part of development package ODATA_PP_PRODNVERS_API.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_RecmddProductionVersionTP | R_RecmddProductionVersionTP | projection |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Recommended Prodn Vers | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | 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 (81)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | ||
| KEY | Plant | Plant | ||
| KEY | RecommendedProductionVersion | RecommendedProductionVersion | ||
| ProductionVersion | ProductionVersion | |||
| ProductionVersionText | ProductionVersionText | |||
| BillOfOperationsType | BillOfOperationsType | |||
| BillOfOperationsGroup | BillOfOperationsGroup | |||
| BillOfOperationsVariant | BillOfOperationsVariant | |||
| BillOfMaterialVariantUsage | BillOfMaterialVariantUsage | |||
| BillOfMaterialVariant | BillOfMaterialVariant | |||
| ProductionLine | ProductionLine | |||
| ProductionSupplyArea | ProductionSupplyArea | |||
| ProductionVersionGroup | ProductionVersionGroup | |||
| MainProduct | MainProduct | |||
| MaterialCostApportionmentStruc | MaterialCostApportionmentStruc | |||
| IssuingStorageLocation | IssuingStorageLocation | |||
| ReceivingStorageLocation | ReceivingStorageLocation | |||
| OriginalBatchReferenceMaterial | OriginalBatchReferenceMaterial | |||
| QuantityDistributionKey | QuantityDistributionKey | |||
| ProductionVersionStatus | ProductionVersionStatus | |||
| ProductionVersionLastCheckDate | ProductionVersionLastCheckDate | |||
| RateBasedPlanningStatus | RateBasedPlanningStatus | |||
| PreliminaryPlanningStatus | PreliminaryPlanningStatus | |||
| BOMCheckStatus | BOMCheckStatus | |||
| ValidityStartDate | ValidityStartDate | |||
| ValidityEndDate | ValidityEndDate | |||
| ProductionVersionLock | ProductionVersionLock | |||
| ProdnVersIsAllowedForRptvMfg | ProdnVersIsAllowedForRptvMfg | |||
| HasVersionCtrldBOMAndRouting | HasVersionCtrldBOMAndRouting | |||
| PlanningAndExecutionBOMIsDiff | PlanningAndExecutionBOMIsDiff | |||
| ExecBillOfMaterialVariantUsage | ExecBillOfMaterialVariantUsage | |||
| ExecBillOfMaterialVariant | ExecBillOfMaterialVariant | |||
| ExecBillOfOperationsType | ExecBillOfOperationsType | |||
| ExecBillOfOperationsGroup | ExecBillOfOperationsGroup | |||
| ExecBillOfOperationsVariant | ExecBillOfOperationsVariant | |||
| EWMWarehouse | EWMWarehouse | |||
| DestinationStorageBin | DestinationStorageBin | |||
| ProcurementType | ProcurementType | |||
| MaterialProcurementProfile | MaterialProcurementProfile | |||
| UsgeProbltyWthVersCtrlInPct | UsgeProbltyWthVersCtrlInPct | |||
| MaterialBaseUnit | MaterialBaseUnit | |||
| MaterialMinLotSizeQuantity | MaterialMinLotSizeQuantity | |||
| MaterialMaxLotSizeQuantity | MaterialMaxLotSizeQuantity | |||
| CostingLotSize | CostingLotSize | |||
| TargetProductionSupplyArea | TargetProductionSupplyArea | |||
| CreationDate | CreationDate | |||
| CreatedByUser | CreatedByUser | |||
| LastChangeDate | LastChangeDate | |||
| LastChangedByUser | LastChangedByUser | |||
| ProdnVersLastChangeDateTime | ProdnVersLastChangeDateTime | |||
| RecmddProductionVersionStatus | RecmddProductionVersionStatus | |||
| ProducerEventType | ProducerEventType | |||
| ProducerBusinessObjectType | ProducerBusinessObjectType | |||
| PlantName | _Plant | PlantName | ||
| MaterialName | _MaterialText | MaterialName | ||
| ProductionVersionLockText | _ProdnVersLockText | ProductionVersionLockText | ||
| BillOfMaterial | _MaterialBOM | BillOfMaterial | Bill Of Material | |
| BillOfMaterialCategory | _MaterialBOM | BillOfMaterialCategory | BOM Category | |
| _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 | |||
| _ProdnVersLockText | _ProdnVersLockText | |||
| _ProdnVersLockVH | _ProdnVersLockVH | |||
| _MaterialBOM | _MaterialBOM |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Recommended Prodn Vers'
@AbapCatalog.viewEnhancementCategory: [#NONE]
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #CONSUMPTION
@VDM.usage.type:[#TRANSACTIONAL_PROCESSING_SERVICE]
@ObjectModel.usageType:{ serviceQuality: #C, sizeCategory: #S, dataClass: #MIXED }
@Search.searchable: true
@Metadata.allowExtensions: true
@Consumption.dbHints:['USE_HEX_PLAN']
define root view entity C_RecommendedProductionVersion
provider contract transactional_query
as projection on R_RecmddProductionVersionTP
{
@Search:{ defaultSearchElement: true, fuzzinessThreshold: 0.9, ranking: #HIGH }
// @UI.fieldGroup:[{qualifier:'MaterialFieldGroup', position:10 }]
@Consumption.semanticObject: 'Material'
@ObjectModel.text.element: ['MaterialName']
@UI.textArrangement: #TEXT_LAST
key Material,
key Plant,
key RecommendedProductionVersion,
ProductionVersion,
ProductionVersionText,
BillOfOperationsType,
BillOfOperationsGroup,
BillOfOperationsVariant,
BillOfMaterialVariantUsage,
BillOfMaterialVariant,
ProductionLine,
ProductionSupplyArea,
ProductionVersionGroup,
MainProduct,
MaterialCostApportionmentStruc,
IssuingStorageLocation,
ReceivingStorageLocation,
OriginalBatchReferenceMaterial,
QuantityDistributionKey,
ProductionVersionStatus,
ProductionVersionLastCheckDate,
RateBasedPlanningStatus,
PreliminaryPlanningStatus,
BOMCheckStatus,
ValidityStartDate,
ValidityEndDate,
@ObjectModel:{text.element: [ 'ProductionVersionLockText' ] }
@ObjectModel.foreignKey.association: '_ProdnVersLockVH'
ProductionVersionLock,
ProdnVersIsAllowedForRptvMfg,
HasVersionCtrldBOMAndRouting,
PlanningAndExecutionBOMIsDiff,
ExecBillOfMaterialVariantUsage,
ExecBillOfMaterialVariant,
ExecBillOfOperationsType,
ExecBillOfOperationsGroup,
ExecBillOfOperationsVariant,
EWMWarehouse,
DestinationStorageBin,
ProcurementType,
MaterialProcurementProfile,
UsgeProbltyWthVersCtrlInPct,
MaterialBaseUnit,
@Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
MaterialMinLotSizeQuantity,
@Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
MaterialMaxLotSizeQuantity,
@Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
CostingLotSize,
TargetProductionSupplyArea,
CreationDate,
CreatedByUser,
LastChangeDate,
LastChangedByUser,
ProdnVersLastChangeDateTime,
RecmddProductionVersionStatus,
ProducerEventType,
ProducerBusinessObjectType,
// ProdnVersProposalReason,
_Plant.PlantName,
@Search.defaultSearchElement: true
// @UI.lineItem: [{ label: 'Material', position: 10, type: #AS_FIELDGROUP, valueQualifier: 'MaterialFieldGroup'}]
// @UI.fieldGroup:[{qualifier:'MaterialFieldGroup', position:20, emphasized: true}]
_MaterialText.MaterialName as MaterialName,
_ProdnVersLockText.ProductionVersionLockText,
@EndUserText.label: 'Bill Of Material'
@EndUserText.quickInfo: 'Bill Of Material'
_MaterialBOM.BillOfMaterial,
@EndUserText.quickInfo: 'BOM Category'
@EndUserText.label: 'BOM Category'
_MaterialBOM.BillOfMaterialCategory,
/* Associations */
_BillOfOperations,
_BillOfOperationsGroup,
_BillOfOperationsType,
_IssuingStorageLocation,
_MainProduct,
_Material,
_MaterialBaseUnit,
_MaterialText,
_MatlCostApportionmentStruc,
_MatlProcurementProfile,
_OriglBatchReferenceMaterial,
_Plant,
_Product,
_ProductionLine,
_ProductionSupplyArea,
_ProductionVersionGroup,
_ProductPlant,
_QuantityDistributionKey,
_ReceivingStorageLocation,
_TargetProductionSupplyArea,
_ProdnVersLockText,
_ProdnVersLockVH,
_MaterialBOM
}
//So only 180 days data will show for rejected proposal list
where
(
ProdnVersProposalAgeInDays <= 180
and RecmddProductionVersionStatus = '2'
)
or RecmddProductionVersionStatus <> '2'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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