I_SupProtPermConsumption

DDL: I_SUPPROTPERMCONSUMPTION Type: view_entity BASIC

Supply Protection Perm Consumed Prot

I_SupProtPermConsumption is a Basic CDS View that provides data about "Supply Protection Perm Consumed Prot" in SAP S/4HANA. It reads from 1 data source (sup_pcp) and exposes 12 fields with key field SupProtPermConsumptionUUID.

Data Sources (1)

SourceAliasJoin Type
sup_pcp sup_pcp from

Annotations (7)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Supply Protection Perm Consumed Prot view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY SupProtPermConsumptionUUID uuid Waste Partner UUID
SupProtTimeBucketUUID timebucketuuid Time Bucket UUID
SupplyProtectionDocumentType documenttype Order Type
SupProtAssignedDocument documentid Routing slip doc. ID
SupProtAssignedDocumentItem documentitemid DocumentItem ID
ATPRelevantDocScheduleLine delet Scheduling
SupProtConsumedQuantity consumedquantity Consumed Quantity
SupProtConsumedQuantityUnit consumedquantityunit Unit for Cons. Prot.
CreationDateTime creationdatetime Timestamp
CreatedByUser createdbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
LastChangedByUser lastchangedbyuser User Name

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_SupProtPermConsumption.
-- 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_SupProtPermConsumption AS
SELECT
  uuid AS SupProtPermConsumptionUUID,
  timebucketuuid AS SupProtTimeBucketUUID,
  documenttype AS SupplyProtectionDocumentType,
  documentid AS SupProtAssignedDocument,
  documentitemid AS SupProtAssignedDocumentItem,
  delet AS ATPRelevantDocScheduleLine,
  consumedquantity AS SupProtConsumedQuantity,
  consumedquantityunit AS SupProtConsumedQuantityUnit,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser
FROM sup_pcp
;