I_ProdnVersStaging

DDL: I_PRODNVERSSTAGING SQL: IPRODNVERSSTG Type: view BASIC

Production Version Staging Basic View

I_ProdnVersStaging is a Basic CDS View that provides data about "Production Version Staging Basic View" in SAP S/4HANA. It reads from 1 data source (mpe_rtg_pvstage) and exposes 25 fields with key field DraftUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
mpe_rtg_pvstage mpe_rtg_pvstage from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ProductText _MaterialText $projection.Material = _MaterialText.Product

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPRODNVERSSTG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Production Version Staging Basic View view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY DraftUUID guid UUID 22 char.
Material matnr Vehicle Model
Plant werks Receiving Plant
ProductionVersion verid Version ID
ProductionVersionText text1 Vertikalization Text
BillOfOperationsType plnty Task List Type
BillOfOperationsGroup plnnr Task List Group
BillOfOperationsVariant plnal Referenced BOO Variant
BillOfOperationsVersion versn Version
BillOfMaterialCategory stlty Single-Character Flag
BillOfMaterialVariantUsage stlan Usage
BillOfMaterial stlnr BOM
BillOfMaterialVariant stlal AlternativeBOM
MaterialMinLotSizeQuantity bstmi Min. Lot Size
MaterialMaxLotSizeQuantity bstma To Lot Size
ValidFrom adatu Valid From
ValidTo bdatu Valid To
ProductionVersionIsLocked mksp Prodn Version Lock
ValidityStartDate validitystartdate Validity Start Date
ValidityEndDate validityenddate ValidTo
BillOfMaterialVersion bom_versn BOM Version
ProdnRtgVersBOMInternalID zuonr Finance Project
BillOfOperationsUnit plnme Unit
IsReadOnly isnew Single-Character Flag
_MaterialText _MaterialText

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 I_ProdnVersStaging.
-- 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.
-- SQL view name: IPRODNVERSSTG

CREATE VIEW I_ProdnVersStaging AS
SELECT
  guid AS DraftUUID,
  matnr AS Material,
  werks AS Plant,
  verid AS ProductionVersion,
  text1 AS ProductionVersionText,
  plnty AS BillOfOperationsType,
  plnnr AS BillOfOperationsGroup,
  plnal AS BillOfOperationsVariant,
  versn AS BillOfOperationsVersion,
  stlty AS BillOfMaterialCategory,
  stlan AS BillOfMaterialVariantUsage,
  stlnr AS BillOfMaterial,
  stlal AS BillOfMaterialVariant,
  bstmi AS MaterialMinLotSizeQuantity,
  bstma AS MaterialMaxLotSizeQuantity,
  adatu AS ValidFrom,
  bdatu AS ValidTo,
  mksp AS ProductionVersionIsLocked,
  ValidityStartDate,
  ValidityEndDate,
  bom_versn AS BillOfMaterialVersion,
  zuonr AS ProdnRtgVersBOMInternalID,
  plnme AS BillOfOperationsUnit,
  isnew AS IsReadOnly
FROM mpe_rtg_pvstage
LEFT OUTER JOIN I_ProductText AS _MaterialText ON Material = _MaterialText.Product  -- association [0..*]
;