C_ProdnVersStaging

DDL: C_PRODNVERSSTAGING SQL: CPRODNVERSSTG Type: view CONSUMPTION

Production Version Staging

C_ProdnVersStaging is a Consumption CDS View that provides data about "Production Version Staging" in SAP S/4HANA. It reads from 2 data sources (I_Material, I_ProdnVersStaging) and exposes 26 fields with key field DraftUUID.

Data Sources (2)

SourceAliasJoin Type
I_Material Material inner
I_ProdnVersStaging ProdnVersStaging from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CPRODNVERSSTG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
VDM.private false view
EndUserText.label Production Version Staging view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.updateEnabled true view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY DraftUUID I_ProdnVersStaging DraftUUID UUID
Material I_ProdnVersStaging Material Vehicle Model
Plant I_ProdnVersStaging Plant Valuation Area
ProductionVersion I_ProdnVersStaging ProductionVersion Version ID
ProductionVersionText I_ProdnVersStaging ProductionVersionText Vertikalization Text
BillOfOperationsType I_ProdnVersStaging BillOfOperationsType Task List Type
BillOfOperationsGroup I_ProdnVersStaging BillOfOperationsGroup Group
BillOfOperationsVariant I_ProdnVersStaging BillOfOperationsVariant Group Counter
BillOfOperationsVersion I_ProdnVersStaging BillOfOperationsVersion Routing Version
BillOfMaterialCategory I_ProdnVersStaging BillOfMaterialCategory BOM category
BillOfMaterialVariantUsage I_ProdnVersStaging BillOfMaterialVariantUsage Usage
BillOfMaterial I_ProdnVersStaging BillOfMaterial BOM
BillOfMaterialVariant I_ProdnVersStaging BillOfMaterialVariant AlternativeBOM
MaterialMinLotSizeQuantity I_ProdnVersStaging MaterialMinLotSizeQuantity Min. Lot Size
MaterialMaxLotSizeQuantity I_ProdnVersStaging MaterialMaxLotSizeQuantity To Lot Size
ValidFrom I_ProdnVersStaging ValidFrom Vers.Valid From
ValidTo I_ProdnVersStaging ValidTo Vers.Valid To
ProductionVersionIsLocked I_ProdnVersStaging ProductionVersionIsLocked Prodn Version Lock
ValidityStartDate I_ProdnVersStaging ValidityStartDate Validity Start Date
ValidityEndDate I_ProdnVersStaging ValidityEndDate ValidTo
BillOfMaterialVersion I_ProdnVersStaging BillOfMaterialVersion BOM Version
ProdnRtgVersBOMInternalID I_ProdnVersStaging ProdnRtgVersBOMInternalID Allocation no.
BillOfOperationsUnit I_ProdnVersStaging BillOfOperationsUnit Unit
IsReadOnly I_ProdnVersStaging IsReadOnly Checkbox
EffectivityType UnitizedMaterialType EffectivityType
_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 C_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: CPRODNVERSSTG

CREATE VIEW C_ProdnVersStaging AS
SELECT
  ProdnVersStaging.DraftUUID AS DraftUUID,
  ProdnVersStaging.Material AS Material,
  ProdnVersStaging.Plant AS Plant,
  ProdnVersStaging.ProductionVersion AS ProductionVersion,
  ProdnVersStaging.ProductionVersionText AS ProductionVersionText,
  ProdnVersStaging.BillOfOperationsType AS BillOfOperationsType,
  ProdnVersStaging.BillOfOperationsGroup AS BillOfOperationsGroup,
  ProdnVersStaging.BillOfOperationsVariant AS BillOfOperationsVariant,
  ProdnVersStaging.BillOfOperationsVersion AS BillOfOperationsVersion,
  ProdnVersStaging.BillOfMaterialCategory AS BillOfMaterialCategory,
  ProdnVersStaging.BillOfMaterialVariantUsage AS BillOfMaterialVariantUsage,
  ProdnVersStaging.BillOfMaterial AS BillOfMaterial,
  ProdnVersStaging.BillOfMaterialVariant AS BillOfMaterialVariant,
  ProdnVersStaging.MaterialMinLotSizeQuantity AS MaterialMinLotSizeQuantity,
  ProdnVersStaging.MaterialMaxLotSizeQuantity AS MaterialMaxLotSizeQuantity,
  ProdnVersStaging.ValidFrom AS ValidFrom,
  ProdnVersStaging.ValidTo AS ValidTo,
  ProdnVersStaging.ProductionVersionIsLocked AS ProductionVersionIsLocked,
  ProdnVersStaging.ValidityStartDate AS ValidityStartDate,
  ProdnVersStaging.ValidityEndDate AS ValidityEndDate,
  ProdnVersStaging.BillOfMaterialVersion AS BillOfMaterialVersion,
  ProdnVersStaging.ProdnRtgVersBOMInternalID AS ProdnRtgVersBOMInternalID,
  ProdnVersStaging.BillOfOperationsUnit AS BillOfOperationsUnit,
  ProdnVersStaging.IsReadOnly AS IsReadOnly,
  UnitizedMaterialType.EffectivityType AS EffectivityType
FROM I_ProdnVersStaging AS ProdnVersStaging
INNER JOIN I_Material AS Material ON /* join condition not captured in parsed metadata */
;