C_LinkedExistingProdnVers

DDL: C_LINKEDEXISTINGPRODNVERS Type: view_entity CONSUMPTION

Linked Existing Production Version

C_LinkedExistingProdnVers is a Consumption CDS View that provides data about "Linked Existing Production Version" in SAP S/4HANA. It reads from 1 data source (R_ProductionVersionTP) and exposes 85 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 from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_LinkedProdnVersBOO _RoutingStatusText $projection.Material = _RoutingStatusText.Material and $projection.Plant = _RoutingStatusText.Plant and $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
[1..1] C_LinkedProdnVersBOM _BillOfMaterial $projection.Material = _BillOfMaterial.Material and $projection.Plant = _BillOfMaterial.Plant and $projection.BillOfMaterialVariant = _BillOfMaterial.BillOfMaterialVariant and _BillOfMaterial.ValidityStartDate <= $session.system_date and _BillOfMaterial.ValidityEndDate >= $session.system_date

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Linked Existing Production Version view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED 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 (85)

KeyFieldSource TableSource FieldDescription
KEY Material Material
KEY Plant Plant
KEY ProductionVersion ProductionVersion
ProductionVersionText ProductionVersionText
ChangeHistoryCount ChangeHistoryCount
ChangeNumber ChangeNumber
CreationDate CreationDate
CreatedByUser CreatedByUser
LastChangeDate LastChangeDate
LastChangedByUser LastChangedByUser
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
MRPController MRPController
MaterialName MaterialName
PlantName PlantName
MRPResponsible MRPResponsible
RoutingCheckStatusText RoutingCheckStatusText Routing CheckStatus Text
ProductionVersionLockText ProductionVersionLockText
BillOfOperationsTypeName BillOfOperationsTypeName
OvrlProdnVersChkSts OvrlProdnVersChkSts
BillOfOperationsDesc _RoutingStatusText BillOfOperationsDesc
BOMHeaderText _BillOfMaterial BOMHeaderText
_BillOfOperations _BillOfOperations
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsTypeText _BillOfOperationsTypeText
_ChangeMaster _ChangeMaster
_IssuingStorageLocation _IssuingStorageLocation
_MainProduct _MainProduct
_Material _Material
_MaterialBaseUnit _MaterialBaseUnit
_MaterialText _MaterialText
_MatlCostApportionmentStruc _MatlCostApportionmentStruc
_MatlProcurementProfile _MatlProcurementProfile
_OriglBatchReferenceMaterial _OriglBatchReferenceMaterial
_Plant _Plant
_ProdnVersLockText _ProdnVersLockText
_ProdnVersLockVH _ProdnVersLockVH
_Product _Product
_ProductionLine _ProductionLine
_ProductionSupplyArea _ProductionSupplyArea
_ProductionVersionGroup _ProductionVersionGroup
_ProductPlant _ProductPlant
_QuantityDistributionKey _QuantityDistributionKey
_ReceivingStorageLocation _ReceivingStorageLocation
_RoutingStatusText _RoutingStatusText
_TargetProductionSupplyArea _TargetProductionSupplyArea
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Linked Existing Production Version'
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #CONSUMPTION
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #S,
  dataClass: #MIXED
} 
define view entity C_LinkedExistingProdnVers
  as select from R_ProductionVersionTP

  association [1..1] to C_LinkedProdnVersBOO as _RoutingStatusText on  $projection.Material                 = _RoutingStatusText.Material
                                                                   and $projection.Plant                    = _RoutingStatusText.Plant
                                                                   and $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

  association [1..1] to C_LinkedProdnVersBOM as _BillOfMaterial    on  $projection.Material              = _BillOfMaterial.Material
                                                                   and $projection.Plant                 = _BillOfMaterial.Plant
                                                                   and $projection.BillOfMaterialVariant = _BillOfMaterial.BillOfMaterialVariant
                                                                   and _BillOfMaterial.ValidityStartDate <= $session.system_date
                                                                   and _BillOfMaterial.ValidityEndDate   >= $session.system_date


{
  key Material,
  key Plant,
  key ProductionVersion,
      ProductionVersionText,
      ChangeHistoryCount,
      ChangeNumber,
      CreationDate,
      CreatedByUser,
      LastChangeDate,
      LastChangedByUser,
      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,
      @Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
      MaterialMinLotSizeQuantity,
      @Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
      MaterialMaxLotSizeQuantity,
      @Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
      CostingLotSize,
      TargetProductionSupplyArea,
      MRPController,
      MaterialName,
      PlantName,
      MRPResponsible,
      @EndUserText.label: 'Routing CheckStatus Text'
      RoutingCheckStatusText,
      ProductionVersionLockText,
      BillOfOperationsTypeName,
      OvrlProdnVersChkSts,
      _RoutingStatusText.BillOfOperationsDesc as BillOfOperationsDesc,
      _BillOfMaterial.BOMHeaderText           as BOMHeaderText,

      /* Associations */
      _BillOfOperations,
      _BillOfOperationsGroup,
      _BillOfOperationsType,
      _BillOfOperationsTypeText,
      _ChangeMaster,
      _IssuingStorageLocation,
      _MainProduct,
      _Material,
      _MaterialBaseUnit,
      _MaterialText,
      _MatlCostApportionmentStruc,
      _MatlProcurementProfile,
      _OriglBatchReferenceMaterial,
      _Plant,
      _ProdnVersLockText,
      _ProdnVersLockVH,
      _Product,
      _ProductionLine,
      _ProductionSupplyArea,
      _ProductionVersionGroup,
      _ProductPlant,
      _QuantityDistributionKey,
      _ReceivingStorageLocation,
      _RoutingStatusText,
      _TargetProductionSupplyArea
}