I_SupProtCharacteristicTP

DDL: I_SUPPROTCHARACTERISTICTP Type: view_entity TRANSACTIONAL

Supply Protection Characteristic

I_SupProtCharacteristicTP is a Transactional CDS View that provides data about "Supply Protection Characteristic" in SAP S/4HANA. It reads from 1 data source (I_SupProtCharacteristic) and exposes 16 fields with key field SupProtCharacteristicUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SupProtCharacteristic I_SupProtCharacteristic from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ProdAllocCharcCtlgPathPicker _PrioCharcCatalogText _PrioCharcCatalogText.ProdAllocCharcCtlgPathIntID = $projection.SupProtCharcCtlgPathIntID

Annotations (7)

NameValueLevelField
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Supply Protection Characteristic view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SupProtCharacteristicUUID SupProtCharacteristicUUID Waste Partner UUID
SupplyProtectionUUID SupplyProtectionUUID UUID
SupProtOrdinalNumberValue SupProtOrdinalNumberValue Sequence Number
SupProtCharcCtlgPathUUID SupProtCharcCtlgPathUUID Catalog Path UUID
SupProtCharcCtlgPathIntID SupProtCharcCtlgPathIntID Catalog Path Int. ID
SupProtCharcName
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
Characteristic
SupProtCharcText
SupProtCharcCatalogType _SupplyProtectionTP SupProtCharcCatalogType
Plant _SupplyProtectionTP Plant Valuation Area
CharcValAuthznGroup _SupplyProtectionTP CharcValAuthznGroup Authorization Group
_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_SupProtCharacteristicTP.
-- 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_SupProtCharacteristicTP AS
SELECT
  SupProtCharacteristicUUID,
  SupplyProtectionUUID,
  SupProtOrdinalNumberValue,
  SupProtCharcCtlgPathUUID,
  SupProtCharcCtlgPathIntID,
  cast( '' as charccatalogcharacteristicname ) AS SupProtCharcName,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  cast( _PrioCharcCatalogText(P_HasText:'X').ProdAllocCharcCtlgPathDesc as sup_charc_text preserving type ) AS Characteristic,
  cast( _PrioCharcCatalogText(P_HasText:'X').ProdAllocCharcCtlgPathDesc as sup_charc_text preserving type ) AS SupProtCharcText,
  _SupplyProtectionTP.SupProtCharcCatalogType AS SupProtCharcCatalogType,
  _SupplyProtectionTP.Plant AS Plant,
  _SupplyProtectionTP.CharcValAuthznGroup AS CharcValAuthznGroup
FROM I_SupProtCharacteristic
LEFT OUTER JOIN I_ProdAllocCharcCtlgPathPicker AS _PrioCharcCatalogText ON _PrioCharcCatalogText.ProdAllocCharcCtlgPathIntID = SupProtCharcCtlgPathIntID  -- association [0..1]
;