I_SupplyProtection

DDL: I_SUPPLYPROTECTION Type: view_entity BASIC Package: ATP_SUP_VDM

Supply Protection

I_SupplyProtection (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Manufacturing

I_SupplyProtection is a Basic CDS View that provides data about "Supply Protection" in SAP S/4HANA. It reads from 1 data source (sup_object) and exposes 32 fields with key field SupplyProtectionUUID. Part of development package ATP_SUP_VDM.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentCA-ATP-SUP-2CL
CapabilitiesData Source for Defining CDS Entities,Data Source in SQL Select,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
sup_object sup_object from

Annotations (10)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.compositionRoot true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Supply Protection view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY SupplyProtectionUUID uuid Waste Partner UUID
Material material Material Number
Plant plant Valuation Area
SupplyProtectionName name Zone name
SupProtLifecycleStatus status Workflow Status
SupProtPlanningPeriodType planningperiodtype Planning Period Type
SupProtPlanningPeriodStartDate planningperiodstart Planning Period Start Date
SupProtPlanningPeriodEndDate planningperiodend Planning Period End Date
SupProtCoreCharc01CtlgPathUUID corecharc01catalogpathuuid Characteristic Catalog Path UUID
CoreCharc01CtlgPathIntID corecharc01catalogpathid Characteristic Catalog Path Internal ID
SupProtCoreCharc01ValueID corecharc01value Characteristic Value
SupProtCoreCharc02CtlgPathUUID corecharc02catalogpathuuid Characteristic Catalog Path UUID
CoreCharc02CtlgPathIntID corecharc02catalogpathid Characteristic Catalog Path Internal ID
SupProtCoreCharc02ValueID corecharc02value Characteristic Value
SupProtIsPlanningContextSlsOrd planningcontextso Planning Context: Sales Document
SupProtIsPlanningContextSTO planningcontextsto Planning Context: Stock Transport Order
SupProtCharcCatalogType catalogtype Characteristic Catalog Type
CreationDateTime creationdatetime Created On / At
CreatedByUser createdbyuser Created By User
LastChangeDateTime lastchangedatetime Changed On / At
LastChangedByUser lastchangedbyuser Last Changed By User
CharcValAuthznGroup charcvalauthzngroup Supply Protection Characteristic Value Authorization Group
DraftLastChangedDateTime last_changed_at UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
SupplyProtectionIsBlocked blocked Supply protection object is blocked
SupProtAutomActivationIsActive autoactivation Automatic Activation of Supply Protection Object
SupProtAutomActivationDate autoactivationdate Date of Automatic Activation
SupProtActivationDate activationdate Activation Date
UnitOfMeasure
SupProtProtectedQuantity
SupProtConsumedQuantity
SupProtRemainingProtectedQty
StorageLocation storagelocation Storage Location

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_SupplyProtection.
-- 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 I_SupplyProtection AS
SELECT
  uuid AS SupplyProtectionUUID,
  Material,
  Plant,
  name AS SupplyProtectionName,
  status AS SupProtLifecycleStatus,
  planningperiodtype AS SupProtPlanningPeriodType,
  planningperiodstart AS SupProtPlanningPeriodStartDate,
  planningperiodend AS SupProtPlanningPeriodEndDate,
  corecharc01catalogpathuuid AS SupProtCoreCharc01CtlgPathUUID,
  corecharc01catalogpathid AS CoreCharc01CtlgPathIntID,
  corecharc01value AS SupProtCoreCharc01ValueID,
  corecharc02catalogpathuuid AS SupProtCoreCharc02CtlgPathUUID,
  corecharc02catalogpathid AS CoreCharc02CtlgPathIntID,
  corecharc02value AS SupProtCoreCharc02ValueID,
  planningcontextso AS SupProtIsPlanningContextSlsOrd,
  planningcontextsto AS SupProtIsPlanningContextSTO,
  catalogtype AS SupProtCharcCatalogType,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  CharcValAuthznGroup,
  last_changed_at AS DraftLastChangedDateTime,
  blocked AS SupplyProtectionIsBlocked,
  autoactivation AS SupProtAutomActivationIsActive,
  autoactivationdate AS SupProtAutomActivationDate,
  activationdate AS SupProtActivationDate,
  cast('' as abap.unit(3) ) AS UnitOfMeasure,
  cast(0 as abap.quan(15,3) ) AS SupProtProtectedQuantity,
  cast(0 as abap.quan(15,3) ) AS SupProtConsumedQuantity,
  cast(0 as abap.quan(15,3) ) AS SupProtRemainingProtectedQty,
  StorageLocation
FROM sup_object
;