C_SupplyProtectionTP
Supply Protection
C_SupplyProtectionTP is a Consumption CDS View that provides data about "Supply Protection" in SAP S/4HANA. It reads from 1 data source (I_SupplyProtectionTP) and exposes 54 fields with key field SupplyProtectionUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplyProtectionTP | I_SupplyProtectionTP | projection |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | ASU | view | |
| AbapCatalog.extensibility.allowNewDatasources | false | view | |
| AbapCatalog.extensibility.quota.maximumFields | 204 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 2040 | view | |
| Search.searchable | true | view | |
| EndUserText.label | Supply Protection | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplyProtectionUUID | SupplyProtectionUUID | UUID | |
| SupplyProtectionName | SupplyProtectionName | |||
| Material | Material | Vehicle Model | ||
| MaterialNamelocalized | ||||
| UnitOfMeasure | UnitOfMeasure | Unit Protected Qty | ||
| Plant | Plant | Valuation Area | ||
| PlantForEdit | PlantForEdit | Plant ID | ||
| PlantName | _Plant | PlantName | Plant Name | |
| SupProtIsPlanningContextSlsOrd | SupProtIsPlanningContextSlsOrd | |||
| SupProtIsPlanningContextSTO | SupProtIsPlanningContextSTO | |||
| SupProtCharcCatalogType | SupProtCharcCatalogType | |||
| SupProtPlanningPeriodType | SupProtPlanningPeriodType | |||
| SupProtPlanningPeriodTypeTextlocalized | ||||
| SupProtPlanningPeriodStartDate | SupProtPlanningPeriodStartDate | |||
| SupProtPlanningPeriodEndDate | SupProtPlanningPeriodEndDate | |||
| SupProtAutomActivationIsActive | SupProtAutomActivationIsActive | |||
| SupProtAutomActivationDate | SupProtAutomActivationDate | |||
| CoreCharc01CtlgPathIntID | CoreCharc01CtlgPathIntID | |||
| SupProtCoreCharc01CtlgPathUUID | SupProtCoreCharc01CtlgPathUUID | |||
| SupProtCoreCharc01Text | SupProtCoreCharc01Text | |||
| SupProtCoreCharc01ValueID | SupProtCoreCharc01ValueID | |||
| CoreCharc02CtlgPathIntID | CoreCharc02CtlgPathIntID | |||
| SupProtCoreCharc02CtlgPathUUID | SupProtCoreCharc02CtlgPathUUID | |||
| SupProtCoreCharc02Text | SupProtCoreCharc02Text | |||
| SupProtCoreCharc02ValueID | SupProtCoreCharc02ValueID | |||
| SupProtLifecycleStatus | SupProtLifecycleStatus | |||
| SupProtLifecycleStatusTextlocalized | ||||
| Criticality | Criticality | Status Rating | ||
| SupProtProtectedQuantity | Protected Quantity | |||
| SupProtConsumedQuantity | Consumed Quantity | |||
| SupProtRemainingProtectedQty | Remaining Protection | |||
| CreatedByUser | CreatedByUser | User Name | ||
| CreatedByUserDescription | _CreatedByUser | UserDescription | Full Name | |
| CreationDate | CreationDate | Time Stamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangedByUserDescription | _LastChangedByUser | UserDescription | Full Name | |
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| CharcValAuthznGroup | CharcValAuthznGroup | Authorization Group | ||
| SupProtActivationDate | SupProtActivationDate | |||
| SupProtCnsmpnDateTimeType | SupProtCnsmpnDateTimeType | |||
| SupProtCnsmpnDateTimeTypeTextlocalized | ||||
| SupProtSelfRestrictionType | SupProtSelfRestrictionType | |||
| SupProtSelfRestrictionTypeTextlocalized | ||||
| SupProtPlngContextIsConsistent | SupProtPlngContextIsConsistent | |||
| SupProtPlngContextCriticality | SupProtPlngContextCriticality | |||
| StorageLocation | StorageLocation | StorageLocation | ||
| StorageLocationName | _StorageLocation | StorageLocationName | Storage Loc. Name | |
| PoolSegment | PoolSegment | Pool Seg. | ||
| Batch | Batch | Lot No. | ||
| SupProtPlanningLevel | SupProtPlanningLevel | Planning Level | ||
| SupProtPlanningLevelTextlocalized | ||||
| SupProtPlanningPeriodTimeZone | SupProtPlanningPeriodTimeZone | |||
| SupProtPlngPeriodTmznIANACode | SupProtPlngPeriodTmznIANACode |
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_SupplyProtectionTP.
-- 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_SupplyProtectionTP AS
SELECT
SupplyProtectionUUID,
SupplyProtectionName,
Material,
_MaterialText.MaterialName : localized AS MaterialNamelocalized,
UnitOfMeasure,
Plant,
PlantForEdit,
_Plant.PlantName AS PlantName,
SupProtIsPlanningContextSlsOrd,
SupProtIsPlanningContextSTO,
SupProtCharcCatalogType,
SupProtPlanningPeriodType,
_SupProtPlanningPeriodTypeT.SupProtPlanningPeriodTypeText : localized AS SupProtPlanningPeriodTypeTextlocalized,
SupProtPlanningPeriodStartDate,
SupProtPlanningPeriodEndDate,
SupProtAutomActivationIsActive,
SupProtAutomActivationDate,
CoreCharc01CtlgPathIntID,
SupProtCoreCharc01CtlgPathUUID,
SupProtCoreCharc01Text,
SupProtCoreCharc01ValueID,
CoreCharc02CtlgPathIntID,
SupProtCoreCharc02CtlgPathUUID,
SupProtCoreCharc02Text,
SupProtCoreCharc02ValueID,
SupProtLifecycleStatus,
_SupProtLifecycleStatusText.SupProtLifecycleStatusText : localized AS SupProtLifecycleStatusTextlocalized,
Criticality,
cast(SupProtProtectedQuantity as sup_protected_quantity preserving type) AS SupProtProtectedQuantity,
cast(SupProtConsumedQuantity as sup_consumed_quantity preserving type) AS SupProtConsumedQuantity,
cast(SupProtRemainingProtectedQty as sup_remaining_quantity preserving type ) AS SupProtRemainingProtectedQty,
CreatedByUser,
_CreatedByUser.UserDescription AS CreatedByUserDescription,
CreationDate,
LastChangedByUser,
_LastChangedByUser.UserDescription AS LastChangedByUserDescription,
LastChangeDate,
LastChangeDateTime,
CharcValAuthznGroup,
SupProtActivationDate,
SupProtCnsmpnDateTimeType,
_SupProtCnsmpnDateTimeTypeT.SupProtCnsmpnDateTimeTypeText : localized AS SupProtCnsmpnDateTimeTypeTextlocalized,
SupProtSelfRestrictionType,
_SupProtSelfRestrictionTypeT.SupProtSelfRestrictionTypeText : localized AS SupProtSelfRestrictionTypeTextlocalized,
SupProtPlngContextIsConsistent,
SupProtPlngContextCriticality,
StorageLocation,
_StorageLocation.StorageLocationName AS StorageLocationName,
PoolSegment,
Batch,
SupProtPlanningLevel,
_SupProtPlanningLevelText.SupProtPlanningLevelText : localized AS SupProtPlanningLevelTextlocalized,
SupProtPlanningPeriodTimeZone,
SupProtPlngPeriodTmznIANACode
FROM I_SupplyProtectionTP
;
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