I_ARunSupProtCnsmpn
Supply Protection Consumption Details
I_ARunSupProtCnsmpn is a Basic CDS View that provides data about "Supply Protection Consumption Details" in SAP S/4HANA. It reads from 2 data sources (I_SupDmndMaterialPlant, sup_object) and exposes 18 fields with key field SupProtPermConsumptionUUID. Part of development package VDM_ARUN_ANALYTICS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SupDmndMaterialPlant | MaterialPlant | inner |
| sup_object | SupProt | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | IARUNSUPPROTCNS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Supply Protection Consumption Details | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupProtPermConsumptionUUID | SupProtCnsmpn | SupProtPermConsumptionUUID | |
| SupProtTimeBucketUUID | SupProtTimeBucket | SupProtTimeBucketUUID | ||
| SupplyProtectionName | sup_object | name | Zone name | |
| Material | sup_object | material | Vehicle Model | |
| Plant | sup_object | plant | Valuation Area | |
| RequirementType | ||||
| clientNULLasvdm_v_start_dateasStartDate | ||||
| clientNULLasvdm_v_end_dateasEndDate | ||||
| BaseUnit | SupProtCnsmpn | SupProtConsumedQuantityUnit | ||
| SupProtConsumedQuantity | SupProtCnsmpn | SupProtConsumedQuantity | Consumed Quantity | |
| SupProtAssignedDocument | SupProtAssignedDocument | Requirement Document Number | ||
| SupProtAssignedDocumentItem | SupProtAssignedDocumentItem | Requirement Document Item | ||
| SupplyProtectionDocumentType | SupplyProtectionDocumentType | Requirement Type | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| MaterialType | MaterialType | Material Type | ||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | Cross-plant CP | ||
| SupplyProtectionUUID | sup_object | uuid | Waste Partner UUID | |
| SupplyProtectionGroupUUID | SupProtGroup | uuid | Waste Partner UUID |
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_ARunSupProtCnsmpn.
-- 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_ARunSupProtCnsmpn AS
SELECT
SupProtCnsmpn.SupProtPermConsumptionUUID AS SupProtPermConsumptionUUID,
SupProtTimeBucket.SupProtTimeBucketUUID AS SupProtTimeBucketUUID,
SupProt.name AS SupplyProtectionName,
SupProt.material AS Material,
SupProt.plant AS Plant,
'SP' AS RequirementType,
cast(tstmp_to_dats( SupProtTimeBucket.SupProtPeriodStartUTCDateTime, 'UTC', $session.client, 'NULL' ) as vdm_v_start_date) as StartDate AS clientNULLasvdm_v_start_dateasStartDate,
cast(tstmp_to_dats( SupProtTimeBucket.SupProtPeriodEndUTCDateTime,'UTC', $session.client, 'NULL' ) as vdm_v_end_date) as EndDate AS clientNULLasvdm_v_end_dateasEndDate,
SupProtCnsmpn.SupProtConsumedQuantityUnit AS BaseUnit,
SupProtCnsmpn.SupProtConsumedQuantity AS SupProtConsumedQuantity,
SupProtAssignedDocument,
SupProtAssignedDocumentItem,
SupplyProtectionDocumentType,
MaterialGroup,
MaterialType,
CrossPlantConfigurableProduct,
SupProt.uuid AS SupplyProtectionUUID,
SupProtGroup.uuid AS SupplyProtectionGroupUUID
FROM sup_object AS SupProt
INNER JOIN I_SupDmndMaterialPlant AS MaterialPlant ON /* join condition not captured in parsed metadata */
;
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