C_SupplyProtectionTP

DDL: C_SUPPLYPROTECTIONTP Type: view_entity CONSUMPTION

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)

SourceAliasJoin Type
I_SupplyProtectionTP I_SupplyProtectionTP projection

Annotations (13)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;