C_SupProtRstrcdProdSimlnDetTP

DDL: C_SUPPROTRSTRCDPRODSIMLNDETTP Type: view_entity CONSUMPTION

SUP Restricted Product Smltn Details

C_SupProtRstrcdProdSimlnDetTP is a Consumption CDS View that provides data about "SUP Restricted Product Smltn Details" in SAP S/4HANA. It reads from 1 data source (R_SupProtRstrcdProdSimlnDetTP) and exposes 52 fields with key fields SupProtRstrcdProdUUID, SupplyProtectionUUID, SupplyProtectionGroupUUID.

Data Sources (1)

SourceAliasJoin Type
R_SupProtRstrcdProdSimlnDetTP R_SupProtRstrcdProdSimlnDetTP projection

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label SUP Restricted Product Smltn Details view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations false view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (52)

KeyFieldSource TableSource FieldDescription
KEY SupProtRstrcdProdUUID SupProtRstrcdProdUUID
KEY SupplyProtectionUUID SupplyProtectionUUID UUID
KEY SupplyProtectionGroupUUID SupplyProtectionGroupUUID CVC UUID
SupProtProtectedQuantity SupProtProtectedQuantity Protected Quantity
SupProtConsumedQuantity SupProtConsumedQuantity Consumed Quantity
SupProtRemainingProtectedQty SupProtRemainingProtectedQty Remaining Protection
SupProtRestrictedQuantity SupProtRestrictedQuantity Restricted Quantity
AvailableQuantityInBaseUnit AvailableQuantityInBaseUnit Confirmed Qty
UnitOfMeasure UnitOfMeasure Unit Protected Qty
Criticality Criticality Status Rating
Plant Plant Valuation Area
SupProtRstrcdProdReducnPct SupProtRstrcdProdReducnPct
SupProtSmltdProtectedQty SupProtSmltdProtectedQty
SupProtSmltdRmngProtectedQty SupProtSmltdRmngProtectedQty
SupProtSmltdAvailableQty SupProtSmltdAvailableQty
SupProtSmltdRestrictedQty SupProtSmltdRestrictedQty
SupProtSmltdPrtctdQtyCritlty SupProtSmltdPrtctdQtyCritlty
SupProtSmltdRmngProtQtyCritlty SupProtSmltdRmngProtQtyCritlty
SupProtSmltdRstrcdQtyCritlty SupProtSmltdRstrcdQtyCritlty
SupProtSmltdAvailQtyCritlty SupProtSmltdAvailQtyCritlty
LastChangeDateTime LastChangeDateTime Timestamp
SupplyProtectionName _SupplyProtection SupplyProtectionName
SupProtPlanningPeriodType _SupplyProtection SupProtPlanningPeriodType
SupProtPlanningPeriodTypeTextlocalized
SupProtPlanningPeriodStartDate _SupplyProtection SupProtPlanningPeriodStartDate
SupProtPlanningPeriodEndDate _SupplyProtection SupProtPlanningPeriodEndDate
SupProtPlanningPeriodTimeZone _SupplyProtection SupProtPlanningPeriodTimeZone
SupProtIsPlanningContextSlsOrd _SupplyProtection SupProtIsPlanningContextSlsOrd
SupProtIsPlanningContextSTO _SupplyProtection SupProtIsPlanningContextSTO
SupProtSelfRestrictionType _SupplyProtection SupProtSelfRestrictionType
SupProtSelfRestrictionTypeTextlocalized
SupProtGroupPriorityValue _SupplyProtectionGroup SupProtGroupPriorityValue
SupProtCharc01CtlgPathUUID _SupplyProtectionGroup SupProtCharc01CtlgPathUUID
SupProtCharc01ValueID
SupProtCharc02CtlgPathUUID _SupplyProtectionGroup SupProtCharc02CtlgPathUUID
SupProtCharc02ValueID
SupProtCharc03CtlgPathUUID _SupplyProtectionGroup SupProtCharc03CtlgPathUUID
SupProtCharc03ValueID
SupProtCharc04CtlgPathUUID _SupplyProtectionGroup SupProtCharc04CtlgPathUUID
SupProtCharc04ValueID
SupProtCharc05CtlgPathUUID _SupplyProtectionGroup SupProtCharc05CtlgPathUUID
SupProtCharc05ValueID
SupProtCharc06CtlgPathUUID _SupplyProtectionGroup SupProtCharc06CtlgPathUUID
SupProtCharc06ValueID
SupProtCharc07CtlgPathUUID _SupplyProtectionGroup SupProtCharc07CtlgPathUUID
SupProtCharc07ValueID
SupProtCharc08CtlgPathUUID _SupplyProtectionGroup SupProtCharc08CtlgPathUUID
SupProtCharc08ValueID
SupProtCharc09CtlgPathUUID _SupplyProtectionGroup SupProtCharc09CtlgPathUUID
SupProtCharc09ValueID
SupProtCharc10CtlgPathUUID _SupplyProtectionGroup SupProtCharc10CtlgPathUUID
SupProtCharc10ValueID

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_SupProtRstrcdProdSimlnDetTP.
-- 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.

CREATE VIEW C_SupProtRstrcdProdSimlnDetTP AS
SELECT
  SupProtRstrcdProdUUID,
  SupplyProtectionUUID,
  SupplyProtectionGroupUUID,
  SupProtProtectedQuantity,
  SupProtConsumedQuantity,
  SupProtRemainingProtectedQty,
  SupProtRestrictedQuantity,
  AvailableQuantityInBaseUnit,
  UnitOfMeasure,
  Criticality,
  Plant,
  SupProtRstrcdProdReducnPct,
  SupProtSmltdProtectedQty,
  SupProtSmltdRmngProtectedQty,
  SupProtSmltdAvailableQty,
  SupProtSmltdRestrictedQty,
  SupProtSmltdPrtctdQtyCritlty,
  SupProtSmltdRmngProtQtyCritlty,
  SupProtSmltdRstrcdQtyCritlty,
  SupProtSmltdAvailQtyCritlty,
  LastChangeDateTime,
  _SupplyProtection.SupplyProtectionName AS SupplyProtectionName,
  _SupplyProtection.SupProtPlanningPeriodType AS SupProtPlanningPeriodType,
  _SupProtPlanningPeriodTypeT.SupProtPlanningPeriodTypeText : localized AS SupProtPlanningPeriodTypeTextlocalized,
  _SupplyProtection.SupProtPlanningPeriodStartDate AS SupProtPlanningPeriodStartDate,
  _SupplyProtection.SupProtPlanningPeriodEndDate AS SupProtPlanningPeriodEndDate,
  _SupplyProtection.SupProtPlanningPeriodTimeZone AS SupProtPlanningPeriodTimeZone,
  _SupplyProtection.SupProtIsPlanningContextSlsOrd AS SupProtIsPlanningContextSlsOrd,
  _SupplyProtection.SupProtIsPlanningContextSTO AS SupProtIsPlanningContextSTO,
  _SupplyProtection.SupProtSelfRestrictionType AS SupProtSelfRestrictionType,
  _SupProtSelfRestrictionTypeT.SupProtSelfRestrictionTypeText : localized AS SupProtSelfRestrictionTypeTextlocalized,
  _SupplyProtectionGroup.SupProtGroupPriorityValue AS SupProtGroupPriorityValue,
  _SupplyProtectionGroup.SupProtCharc01CtlgPathUUID AS SupProtCharc01CtlgPathUUID,
  cast(SupProtCharc01ValueID as sup_rop_charc_value_01 preserving type) AS SupProtCharc01ValueID,
  _SupplyProtectionGroup.SupProtCharc02CtlgPathUUID AS SupProtCharc02CtlgPathUUID,
  cast(SupProtCharc02ValueID as sup_rop_charc_value_02 preserving type) AS SupProtCharc02ValueID,
  _SupplyProtectionGroup.SupProtCharc03CtlgPathUUID AS SupProtCharc03CtlgPathUUID,
  cast(SupProtCharc03ValueID as sup_rop_charc_value_03 preserving type) AS SupProtCharc03ValueID,
  _SupplyProtectionGroup.SupProtCharc04CtlgPathUUID AS SupProtCharc04CtlgPathUUID,
  cast(SupProtCharc04ValueID as sup_rop_charc_value_04 preserving type) AS SupProtCharc04ValueID,
  _SupplyProtectionGroup.SupProtCharc05CtlgPathUUID AS SupProtCharc05CtlgPathUUID,
  cast(SupProtCharc05ValueID as sup_rop_charc_value_05 preserving type) AS SupProtCharc05ValueID,
  _SupplyProtectionGroup.SupProtCharc06CtlgPathUUID AS SupProtCharc06CtlgPathUUID,
  cast(SupProtCharc06ValueID as sup_rop_charc_value_06 preserving type) AS SupProtCharc06ValueID,
  _SupplyProtectionGroup.SupProtCharc07CtlgPathUUID AS SupProtCharc07CtlgPathUUID,
  cast(SupProtCharc07ValueID as sup_rop_charc_value_07 preserving type) AS SupProtCharc07ValueID,
  _SupplyProtectionGroup.SupProtCharc08CtlgPathUUID AS SupProtCharc08CtlgPathUUID,
  cast(SupProtCharc08ValueID as sup_rop_charc_value_08 preserving type) AS SupProtCharc08ValueID,
  _SupplyProtectionGroup.SupProtCharc09CtlgPathUUID AS SupProtCharc09CtlgPathUUID,
  cast(SupProtCharc09ValueID as sup_rop_charc_value_09 preserving type) AS SupProtCharc09ValueID,
  _SupplyProtectionGroup.SupProtCharc10CtlgPathUUID AS SupProtCharc10CtlgPathUUID,
  cast(SupProtCharc10ValueID as sup_rop_charc_value_10 preserving type) AS SupProtCharc10ValueID
FROM R_SupProtRstrcdProdSimlnDetTP
;