C_LinkedProductionVersionAll
All Linked Production Version
C_LinkedProductionVersionAll is a Consumption CDS View that provides data about "All Linked Production Version" in SAP S/4HANA. It reads from 2 data sources (I_ProductionVersion, R_RecmddProductionVersionTP) and exposes 33 fields with key fields Material, Plant, RecommendedProductionVersion, ProductionVersion, Plant. 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. Part of development package ODATA_PP_PRODNVERS_API.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductionVersion | I_ProductionVersion | from |
| R_RecmddProductionVersionTP | R_RecmddProductionVersionTP | union_all |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MaterialBOM | _BillOfMaterial | $projection.Material = _BillOfMaterial.Material and $projection.Plant = _BillOfMaterial.Plant and $projection.BillOfMaterialVariant = _BillOfMaterial.BillOfMaterialVariant and $projection.BillOfMaterialVariantUsage = _BillOfMaterial.BillOfMaterialVariantUsage and _BillOfMaterial.HeaderValidityStartDate <= $session.system_date and _BillOfMaterial.HeaderValidityEndDate >= $session.system_date |
| [1..1] | I_MfgBillOfOperationsChgSt | _RoutingStatusText | $projection.BillOfOperationsType = _RoutingStatusText.BillOfOperationsType and $projection.BillOfOperationsGroup = _RoutingStatusText.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _RoutingStatusText.BillOfOperationsVariant and _RoutingStatusText.ValidityStartDate <= $session.system_date and _RoutingStatusText.ValidityEndDate >= $session.system_date |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | All Linked Production Version | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | 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 (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | ||
| KEY | Plant | Plant | ||
| KEY | RecommendedProductionVersion | |||
| KEY | ProductionVersion | ProductionVersion | ||
| LinkedProductionVersionAll | ||||
| BillOfMaterialVariant | BillOfMaterialVariant | |||
| BillOfOperationsGroup | BillOfOperationsGroup | |||
| BillOfOperationsVariant | BillOfOperationsVariant | |||
| BillOfOperationsType | BillOfOperationsType | |||
| BillOfMaterialVariantUsage | BillOfMaterialVariantUsage | |||
| MaterialName | _MaterialText | MaterialName | ||
| PlantName | _Plant | PlantName | ||
| ProductionVersionText | ProductionVersionText | |||
| ProducerEventType | ||||
| ProducerBusinessObjectType | ||||
| BOMHeaderText | _BillOfMaterial | BOMHeaderText | ||
| system_datekeyMaterialasMaterial | ||||
| KEY | Plant | Plant | ||
| KEY | RecommendedProductionVersion | RecommendedProductionVersion | ||
| KEY | ProductionVersion | |||
| LinkedProductionVersionAll | RecommendedProductionVersion | |||
| BillOfMaterialVariant | BillOfMaterialVariant | |||
| BillOfOperationsGroup | BillOfOperationsGroup | |||
| BillOfOperationsVariant | BillOfOperationsVariant | |||
| BillOfOperationsType | BillOfOperationsType | |||
| BillOfMaterialVariantUsage | BillOfMaterialVariantUsage | |||
| MaterialName | _MaterialText | MaterialName | ||
| PlantName | _Plant | PlantName | ||
| ProductionVersionText | ProductionVersionText | |||
| ProducerEventType | ProducerEventType | |||
| ProducerBusinessObjectType | ProducerBusinessObjectType | |||
| BOMHeaderText | _MaterialBOM | BOMHeaderText | ||
| BillOfOperationsDesc | _RoutingStatusText | BillOfOperationsDesc |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'All Linked Production Version'
@AbapCatalog.viewEnhancementCategory: [#NONE]
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #CONSUMPTION
@ObjectModel.usageType:{ serviceQuality: #D, sizeCategory: #XL, dataClass: #MIXED }
@Metadata.allowExtensions: true
@Consumption.dbHints:['USE_HEX_PLAN']
define view entity C_LinkedProductionVersionAll
as select from I_ProductionVersion
association [1..1] to I_MaterialBOM as _BillOfMaterial on $projection.Material = _BillOfMaterial.Material
and $projection.Plant = _BillOfMaterial.Plant
and $projection.BillOfMaterialVariant = _BillOfMaterial.BillOfMaterialVariant
and $projection.BillOfMaterialVariantUsage = _BillOfMaterial.BillOfMaterialVariantUsage
and _BillOfMaterial.HeaderValidityStartDate <= $session.system_date
and _BillOfMaterial.HeaderValidityEndDate >= $session.system_date
association [1..1] to I_MfgBillOfOperationsChgSt as _RoutingStatusText on $projection.BillOfOperationsType = _RoutingStatusText.BillOfOperationsType
and $projection.BillOfOperationsGroup = _RoutingStatusText.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _RoutingStatusText.BillOfOperationsVariant
and _RoutingStatusText.ValidityStartDate <= $session.system_date
and _RoutingStatusText.ValidityEndDate >= $session.system_date
{
key Material as Material,
key Plant as Plant,
key cast ( ' ' as abap.char(20) ) as RecommendedProductionVersion,
key ProductionVersion as ProductionVersion,
cast ( ProductionVersion as abap.char(8) ) as LinkedProductionVersionAll,
BillOfMaterialVariant as BillOfMaterialVariant, //Alt Bom
BillOfOperationsGroup as BillOfOperationsGroup,
BillOfOperationsVariant as BillOfOperationsVariant, //Task List Type
BillOfOperationsType as BillOfOperationsType,
BillOfMaterialVariantUsage as BillOfMaterialVariantUsage,
_MaterialText.MaterialName as MaterialName,
_Plant.PlantName as PlantName,
ProductionVersionText as ProductionVersionText,
cast ( ' ' as abap.char(1) ) as ProducerEventType,
cast ( ' ' as abap.char(1) ) as ProducerBusinessObjectType,
_BillOfMaterial.BOMHeaderText as BOMHeaderText,
_RoutingStatusText.BillOfOperationsDesc as BillOfOperationsDesc
}
union all select from R_RecmddProductionVersionTP
//association [1..1] to I_MaterialBOM as _BillOfMaterial on $projection.Material = _BillOfMaterial.Material
// and $projection.Plant = _BillOfMaterial.Plant
// and $projection.BillOfMaterialVariant = _BillOfMaterial.BillOfMaterialVariant
// and _BillOfMaterial.HeaderValidityStartDate <= $session.system_date
// and _BillOfMaterial.HeaderValidityEndDate >= $session.system_date
association [1..1] to I_MfgBillOfOperationsChgSt as _RoutingStatusText on $projection.BillOfOperationsType = _RoutingStatusText.BillOfOperationsType
and $projection.BillOfOperationsGroup = _RoutingStatusText.BillOfOperationsGroup
and $projection.BillOfOperationsVariant = _RoutingStatusText.BillOfOperationsVariant
and _RoutingStatusText.ValidityStartDate <= $session.system_date
and _RoutingStatusText.ValidityEndDate >= $session.system_date
{
key Material as Material,
key Plant as Plant,
key RecommendedProductionVersion as RecommendedProductionVersion,
key cast ( ' ' as abap.char(4) ) as ProductionVersion,
RecommendedProductionVersion as LinkedProductionVersionAll,
BillOfMaterialVariant as BillOfMaterialVariant,
BillOfOperationsGroup as BillOfOperationsGroup,
BillOfOperationsVariant as BillOfOperationsVariant,
BillOfOperationsType as BillOfOperationsType,
BillOfMaterialVariantUsage as BillOfMaterialVariantUsage,
_MaterialText.MaterialName as MaterialName,
_Plant.PlantName as PlantName,
ProductionVersionText as ProductionVersionText,
ProducerEventType as ProducerEventType,
ProducerBusinessObjectType as ProducerBusinessObjectType,
_MaterialBOM.BOMHeaderText as BOMHeaderText,
_RoutingStatusText.BillOfOperationsDesc as BillOfOperationsDesc
}
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