I_SupplyProtection
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
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Manufacturing |
| Application Component | CA-ATP-SUP-2CL |
| Capabilities | Data 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 |
| Package | Manufacturing for SAP S/4HANA Cloud Public Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| sup_object | sup_object | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA