I_SupProtRelatedSupProtTP
Supply Protection Related Supply Prot
I_SupProtRelatedSupProtTP is a Transactional CDS View that provides data about "Supply Protection Related Supply Prot" in SAP S/4HANA. It reads from 1 data source (I_SupplyProtection) and exposes 36 fields with key field SupplyProtectionUUID. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplyProtection | I_SupplyProtection | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SupProtCharacteristicVH | _SupProtCoreCharc01VH | $projection.SupProtCoreCharc01CtlgPathUUID = _SupProtCoreCharc01VH.ProdAllocCharcCtlgPathUUID |
| [1..1] | I_SupProtCharacteristicVH | _SupProtCoreCharc02VH | $projection.SupProtCoreCharc02CtlgPathUUID = _SupProtCoreCharc02VH.ProdAllocCharcCtlgPathUUID |
| [0..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_UnitOfMeasure | _BaseUnit | $projection.UnitOfMeasure = _BaseUnit.UnitOfMeasure |
| [0..1] | I_SupProtLifecycleStatusText | _SupProtLifecycleStatusText | $projection.SupProtLifecycleStatus = _SupProtLifecycleStatusText.SupProtLifecycleStatus and _SupProtLifecycleStatusText.Language = $session.system_language |
| [0..1] | I_SupProtPlanningPeriodTypeT | _SupProtPlanningPeriodTypeText | $projection.SupProtPlanningPeriodType = _SupProtPlanningPeriodTypeText.SupProtPlanningPeriodType and _SupProtPlanningPeriodTypeText.Language = $session.system_language |
| [0..*] | I_SupProtCnsmpnDateTimeTypeT | _SupProtCnsmpnDateTimeTypeT | $projection.SupProtCnsmpnDateTimeType = _SupProtCnsmpnDateTimeTypeT.SupProtCnsmpnDateTimeType |
| [1..1] | I_SupplyProtectionTP | _SupplyProtectionTP | $projection.SupplyProtectionUUID = _SupplyProtectionTP.SupplyProtectionUUID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.compositionRoot | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Supply Protection Related Supply Prot | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplyProtectionUUID | SupplyProtectionUUID | UUID | |
| SupplyProtectionName | SupplyProtectionName | Zone name | ||
| Material | Material | Vehicle Model | ||
| Plant | Plant | Valuation Area | ||
| SupProtLifecycleStatus | SupProtLifecycleStatus | Workflow Status | ||
| SupProtLifecycleStatusText | _SupProtLifecycleStatusText | SupProtLifecycleStatusText | ||
| SupProtPlanningPeriodType | SupProtPlanningPeriodType | Planning Period Type | ||
| SupProtPlanningPeriodTypeText | _SupProtPlanningPeriodTypeText | SupProtPlanningPeriodTypeText | ||
| SupProtPlanningPeriodStartDate | SupProtPlanningPeriodStartDate | Planning Start Date | ||
| SupProtPlanningPeriodEndDate | SupProtPlanningPeriodEndDate | Planning End Date | ||
| SupProtCoreCharc01CtlgPathUUID | SupProtCoreCharc01CtlgPathUUID | Catalog Path UUID | ||
| SupProtCoreCharc01Text | ||||
| SupProtCoreCharc01ValueID | SupProtCoreCharc01ValueID | Characteristic Value | ||
| SupProtCoreCharc02CtlgPathUUID | SupProtCoreCharc02CtlgPathUUID | Catalog Path UUID | ||
| SupProtCoreCharc02Text | ||||
| SupProtCoreCharc02ValueID | SupProtCoreCharc02ValueID | Characteristic Value | ||
| SupProtIsPlanningContextSlsOrd | SupProtIsPlanningContextSlsOrd | Sales Document | ||
| SupProtIsPlanningContextSTO | SupProtIsPlanningContextSTO | Stock Transport Order | ||
| UnitOfMeasure | _Material | MaterialBaseUnit | Valuation Unit | |
| SupProtProtectedQuantity | SupProtProtectedQuantity | Protected Quantity | ||
| SupProtConsumedQuantity | SupProtConsumedQuantity | Consumed Quantity | ||
| SupProtRemainingProtectedQty | SupProtRemainingProtectedQty | Remaining Protection | ||
| SupplyProtectionIsBlocked | SupplyProtectionIsBlocked | Complaint Locked | ||
| SupProtCnsmpnDateTimeType | SupProtCnsmpnDateTimeType | |||
| CharcValAuthznGroup | CharcValAuthznGroup | Authorization Group | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| PoolSegment | PoolSegment | Pool Seg. | ||
| SupProtPlanningLevel | SupProtPlanningLevel | Planning Level | ||
| _SupProtLifecycleStatusText | _SupProtLifecycleStatusText | |||
| _SupProtCoreCharc01VH | _SupProtCoreCharc01VH | |||
| _SupProtCoreCharc02VH | _SupProtCoreCharc02VH | |||
| _Material | _Material | |||
| _BaseUnit | _BaseUnit | |||
| _SupProtPlanningPeriodTypeText | _SupProtPlanningPeriodTypeText | |||
| _SupProtCnsmpnDateTimeTypeT | _SupProtCnsmpnDateTimeTypeT | |||
| _SupplyProtectionTP | _SupplyProtectionTP |
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_SupProtRelatedSupProtTP.
-- 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_SupProtRelatedSupProtTP AS
SELECT
SupplyProtectionUUID,
SupplyProtectionName,
Material,
Plant,
SupProtLifecycleStatus,
_SupProtLifecycleStatusText.SupProtLifecycleStatusText AS SupProtLifecycleStatusText,
SupProtPlanningPeriodType,
_SupProtPlanningPeriodTypeText.SupProtPlanningPeriodTypeText AS SupProtPlanningPeriodTypeText,
SupProtPlanningPeriodStartDate,
SupProtPlanningPeriodEndDate,
SupProtCoreCharc01CtlgPathUUID,
cast( _SupProtCoreCharc01VH.Characteristic as sup_charc_text preserving type ) AS SupProtCoreCharc01Text,
SupProtCoreCharc01ValueID,
SupProtCoreCharc02CtlgPathUUID,
cast( _SupProtCoreCharc02VH.Characteristic as sup_charc_text preserving type ) AS SupProtCoreCharc02Text,
SupProtCoreCharc02ValueID,
SupProtIsPlanningContextSlsOrd,
SupProtIsPlanningContextSTO,
_Material.MaterialBaseUnit AS UnitOfMeasure,
SupProtProtectedQuantity,
SupProtConsumedQuantity,
SupProtRemainingProtectedQty,
SupplyProtectionIsBlocked,
SupProtCnsmpnDateTimeType,
CharcValAuthznGroup,
StorageLocation,
PoolSegment,
SupProtPlanningLevel
FROM I_SupplyProtection
LEFT OUTER JOIN I_SupProtCharacteristicVH AS _SupProtCoreCharc01VH ON SupProtCoreCharc01CtlgPathUUID = _SupProtCoreCharc01VH.ProdAllocCharcCtlgPathUUID -- association [1..1]
LEFT OUTER JOIN I_SupProtCharacteristicVH AS _SupProtCoreCharc02VH ON SupProtCoreCharc02CtlgPathUUID = _SupProtCoreCharc02VH.ProdAllocCharcCtlgPathUUID -- association [1..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON UnitOfMeasure = _BaseUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_SupProtLifecycleStatusText AS _SupProtLifecycleStatusText ON SupProtLifecycleStatus = _SupProtLifecycleStatusText.SupProtLifecycleStatus AND _SupProtLifecycleStatusText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_SupProtPlanningPeriodTypeT AS _SupProtPlanningPeriodTypeText ON SupProtPlanningPeriodType = _SupProtPlanningPeriodTypeText.SupProtPlanningPeriodType AND _SupProtPlanningPeriodTypeText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_SupProtCnsmpnDateTimeTypeT AS _SupProtCnsmpnDateTimeTypeT ON SupProtCnsmpnDateTimeType = _SupProtCnsmpnDateTimeTypeT.SupProtCnsmpnDateTimeType -- association [0..*]
LEFT OUTER JOIN I_SupplyProtectionTP AS _SupplyProtectionTP ON SupplyProtectionUUID = _SupplyProtectionTP.SupplyProtectionUUID -- association [1..1]
;
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