I_ProdnVersTP
Manage Production Version
I_ProdnVersTP is a Transactional CDS View that provides data about "Manage Production Version" in SAP S/4HANA. It reads from 1 data source (I_ProductionVersion) and exposes 55 fields with key fields Material, Plant, ProductionVersion. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductionVersion | I_ProductionVersion | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ProdnVersRtgBOMVersTP | _ProdnVersRtgBOMVers | $projection.Material = _ProdnVersRtgBOMVers.Material and $projection.Plant = _ProdnVersRtgBOMVers.Plant and $projection.ProductionVersion = _ProdnVersRtgBOMVers.ProductionVersion |
| [0..1] | I_ProductPlantBasic | _ProductPlantBasic | $projection.Plant = _ProductPlantBasic.Plant and $projection.Material = _ProductPlantBasic.Product |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRODNVERSTP | view | |
| EndUserText.label | Manage Production Version | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.writeDraftPersistence | MPEPRODNVERSD | view | |
| ObjectModel.entityChangeStateId | LastChangeDate | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | I_ProductionVersion | Material | |
| KEY | Plant | I_ProductionVersion | Plant | |
| KEY | ProductionVersion | I_ProductionVersion | ProductionVersion | |
| BillOfOperationsGroup | I_ProductionVersion | BillOfOperationsGroup | ||
| BillOfOperationsVariant | I_ProductionVersion | BillOfOperationsVariant | ||
| BillOfMaterialVariantUsage | I_ProductionVersion | BillOfMaterialVariantUsage | ||
| BillOfMaterialVariant | I_ProductionVersion | BillOfMaterialVariant | ||
| MaterialForEdit | I_ProductionVersion | Material | ||
| PlantForEdit | I_ProductionVersion | Plant | ||
| ProductionVersionForEdit | I_ProductionVersion | ProductionVersion | ||
| MRPController | _ProductPlantBasic | MRPResponsible | ||
| ValidityEndDate | I_ProductionVersion | ValidityEndDate | ||
| ValidityStartDate | I_ProductionVersion | ValidityStartDate | ||
| BillOfOperationsType | I_ProductionVersion | BillOfOperationsType | ||
| ProductionLine | I_ProductionVersion | ProductionLine | ||
| ProductionVersionGroup | I_ProductionVersion | ProductionVersionGroup | ||
| ProductionVersionText | I_ProductionVersion | ProductionVersionText | ||
| QuantityDistributionKey | I_ProductionVersion | QuantityDistributionKey | ||
| DistributionKey | I_ProductionVersion | DistributionKey | ||
| ProdnVersIsAllowedForRptvMfg | I_ProductionVersion | ProdnVersIsAllowedForRptvMfg | ||
| MaterialMinLotSizeQuantity | I_ProductionVersion | MaterialMinLotSizeQuantity | ||
| MaterialMaxLotSizeQuantity | I_ProductionVersion | MaterialMaxLotSizeQuantity | ||
| ReceivingStorageLocation | I_ProductionVersion | ReceivingStorageLocation | ||
| MaterialCostApportionmentStruc | I_ProductionVersion | MaterialCostApportionmentStruc | ||
| MainProduct | I_ProductionVersion | MainProduct | ||
| IssuingStorageLocation | I_ProductionVersion | IssuingStorageLocation | ||
| ProductionSupplyArea | I_ProductionVersion | ProductionSupplyArea | ||
| ProductionVersionStatus | I_ProductionVersion | ProductionVersionStatus | ||
| ProductionVersionLastCheckDate | I_ProductionVersion | ProductionVersionLastCheckDate | ||
| ProductionVersionIsLocked | I_ProductionVersion | ProductionVersionIsLocked | ||
| RateBasedPlanningStatus | I_ProductionVersion | RateBasedPlanningStatus | ||
| PreliminaryPlanningStatus | I_ProductionVersion | PreliminaryPlanningStatus | ||
| BOMCheckStatus | I_ProductionVersion | BOMCheckStatus | ||
| OriginalBatchReferenceMaterial | I_ProductionVersion | OriginalBatchReferenceMaterial | ||
| ChangeHistoryCount | I_ProductionVersion | ChangeHistoryCount | ||
| ChangeNumber | I_ProductionVersion | ChangeNumber | ||
| CreationDate | I_ProductionVersion | CreationDate | ||
| CreatedByUser | I_ProductionVersion | CreatedByUser | ||
| LastChangeDate | I_ProductionVersion | LastChangeDate | ||
| LastChangedByUser | I_ProductionVersion | LastChangedByUser | ||
| CheckStatus | ||||
| HasVersionCtrldBOMAndRouting | I_ProductionVersion | HasVersionCtrldBOMAndRouting | ||
| PlanningAndExecutionBOMIsDiff | I_ProductionVersion | PlanningAndExecutionBOMIsDiff | ||
| ExecBillOfMaterialVariant | I_ProductionVersion | ExecBillOfMaterialVariant | ||
| ExecBillOfMaterialVariantUsage | I_ProductionVersion | ExecBillOfMaterialVariantUsage | ||
| ExecBillOfOperationsType | I_ProductionVersion | ExecBillOfOperationsType | ||
| ExecBillOfOperationsGroup | I_ProductionVersion | ExecBillOfOperationsGroup | ||
| ExecBillOfOperationsVariant | I_ProductionVersion | ExecBillOfOperationsVariant | ||
| EWMWarehouse | I_ProductionVersion | Warehouse | ||
| DestinationStorageBin | I_ProductionVersion | DestinationStorageBin | ||
| MaterialBaseUnit | I_ProductionVersion | MaterialBaseUnit | ||
| ConfigblProdProductionVersion | I_ProductionVersion | ConfigblProdProductionVersion | ||
| ConfigurableProduct | _ProductPlantBasic | ConfigurableProduct | ||
| _BillOfOperationsType | _BillOfOperationsType | |||
| _ProdnVersRtgBOMVers | _ProdnVersRtgBOMVers |
@AbapCatalog.sqlViewName: 'IPRODNVERSTP'
@EndUserText.label: 'Manage Production Version'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #TRANSACTIONAL
@Search.searchable:true
@ObjectModel.usageType: {serviceQuality: #C,
dataClass: #MIXED,
sizeCategory: #XL}
@ObjectModel: { semanticKey: ['MaterialForEdit', 'PlantForEdit', 'ProductionVersionForEdit' ],
transactionalProcessingEnabled: true,
compositionRoot: true,
createEnabled,
deleteEnabled,
updateEnabled,
draftEnabled: true, -- Draft enablement
writeDraftPersistence: 'MPEPRODNVERSD', -- Draft persistence
entityChangeStateId: 'LastChangeDate'
}
define view I_ProdnVersTP
as select from I_ProductionVersion
association [0..*] to I_ProdnVersRtgBOMVersTP as _ProdnVersRtgBOMVers on $projection.Material = _ProdnVersRtgBOMVers.Material
and $projection.Plant = _ProdnVersRtgBOMVers.Plant
and $projection.ProductionVersion = _ProdnVersRtgBOMVers.ProductionVersion
association to I_UnitizedMaterial as _UnitizedMaterial on $projection.Material = _UnitizedMaterial.Material
association [0..1] to I_ProductPlantBasic as _ProductPlantBasic on $projection.Plant = _ProductPlantBasic.Plant
and $projection.Material = _ProductPlantBasic.Product
{
key I_ProductionVersion.Material,
key I_ProductionVersion.Plant,
@ObjectModel.readOnly: true
key I_ProductionVersion.ProductionVersion,
I_ProductionVersion.BillOfOperationsGroup,
I_ProductionVersion.BillOfOperationsVariant,
I_ProductionVersion.BillOfMaterialVariantUsage,
I_ProductionVersion.BillOfMaterialVariant,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
I_ProductionVersion.Material as MaterialForEdit,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
I_ProductionVersion.Plant as PlantForEdit,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
I_ProductionVersion.ProductionVersion as ProductionVersionForEdit,
_ProductPlantBasic.MRPResponsible as MRPController,
I_ProductionVersion.ValidityEndDate,
I_ProductionVersion.ValidityStartDate,
I_ProductionVersion.BillOfOperationsType,
I_ProductionVersion.ProductionLine,
I_ProductionVersion.ProductionVersionGroup,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
I_ProductionVersion.ProductionVersionText,
I_ProductionVersion.QuantityDistributionKey,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'I_ProductionVersion.QuantityDistributionKey'
I_ProductionVersion.DistributionKey,
I_ProductionVersion.ProdnVersIsAllowedForRptvMfg,
I_ProductionVersion.MaterialMinLotSizeQuantity,
I_ProductionVersion.MaterialMaxLotSizeQuantity,
I_ProductionVersion.ReceivingStorageLocation,
I_ProductionVersion.MaterialCostApportionmentStruc,
I_ProductionVersion.MainProduct,
I_ProductionVersion.IssuingStorageLocation,
I_ProductionVersion.ProductionSupplyArea,
I_ProductionVersion.ProductionVersionStatus,
I_ProductionVersion.ProductionVersionLastCheckDate,
I_ProductionVersion.ProductionVersionIsLocked,
I_ProductionVersion.RateBasedPlanningStatus,
I_ProductionVersion.PreliminaryPlanningStatus,
I_ProductionVersion.BOMCheckStatus,
I_ProductionVersion.OriginalBatchReferenceMaterial,
I_ProductionVersion.ChangeHistoryCount,
I_ProductionVersion.ChangeNumber,
I_ProductionVersion.CreationDate,
I_ProductionVersion.CreatedByUser,
I_ProductionVersion.LastChangeDate,
I_ProductionVersion.LastChangedByUser,
cast( ' ' as boole_d) as CheckStatus,
I_ProductionVersion.HasVersionCtrldBOMAndRouting,
I_ProductionVersion.PlanningAndExecutionBOMIsDiff,
I_ProductionVersion.ExecBillOfMaterialVariant,
I_ProductionVersion.ExecBillOfMaterialVariantUsage,
I_ProductionVersion.ExecBillOfOperationsType,
I_ProductionVersion.ExecBillOfOperationsGroup,
I_ProductionVersion.ExecBillOfOperationsVariant,
I_ProductionVersion.Warehouse as EWMWarehouse,
I_ProductionVersion.DestinationStorageBin,
@ObjectModel.readOnly: true
I_ProductionVersion.MaterialBaseUnit,
I_ProductionVersion.ConfigblProdProductionVersion,
_ProductPlantBasic.ConfigurableProduct,
@ObjectModel.readOnly: true
case
when _UnitizedMaterial.EffectivityType is not null
then cast('X' as mpe_cima_untz_matl_ind_type preserving type )
else cast('' as mpe_cima_untz_matl_ind_type preserving type )
end as IsMaterialUnitized,
_BillOfOperationsType,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_ProdnVersRtgBOMVers
}
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