I_DeliveryLogAnalyze

DDL: I_DELIVERYLOGANALYZE Type: view_entity BASIC Package: ODATA_LE_SHP_OD_LOGS

Coll Proc for Analyze Delivery Logs App

I_DeliveryLogAnalyze is a Basic CDS View that provides data about "Coll Proc for Analyze Delivery Logs App" in SAP S/4HANA. It reads from 1 data source (I_CollectiveProcessing) and exposes 22 fields with key field CollectiveProcessing. It has 1 association to related views. Part of development package ODATA_LE_SHP_OD_LOGS.

Data Sources (1)

SourceAliasJoin Type
I_CollectiveProcessing I_CollectiveProcessing from

Associations (1)

CardinalityTargetAliasCondition
[0..*] P_CountMessageTypes _NumberOfMessages _NumberOfMessages.CollectiveProcessing = $projection.CollectiveProcessing

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Coll Proc for Analyze Delivery Logs App view
VDM.viewType #BASIC view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey CollectiveProcessing view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY CollectiveProcessing CollectiveProcessing Group
CollectiveProcessingType CollectiveProcessingType Group Type
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
CreationDateTime
NumberOfCreatedDocuments NumberOfCreatedDocuments Created docs
ShippingPoint ShippingPoint Shipping Point
NumberOfErrors NumberOfErrors Error Number
HeaderGrossWeight HeaderGrossWeight Weight
HeaderWeightUnit HeaderWeightUnit Weight Unit
HeaderVolume HeaderVolume Volume
HeaderVolumeUnit HeaderVolumeUnit Volume Unit
Warehouse Warehouse Warehouse No.
NumberOfErrorMessages
NumberOfWarningMessages
NumberOfInfoMessages
_HeaderVolumeUnit _HeaderVolumeUnit
_HeaderWeightUnit _HeaderWeightUnit
_Warehouse _Warehouse
_ShippingPoint _ShippingPoint
_CollectiveProcessingDocument _CollectiveProcessingDocument

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_DeliveryLogAnalyze.
-- 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_DeliveryLogAnalyze AS
SELECT
  CollectiveProcessing,
  CollectiveProcessingType,
  CreatedByUser,
  CreationDate,
  CreationTime,
  cast (dats_tims_to_tstmp(CreationDate, CreationTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL') as log_created_on preserving type) AS CreationDateTime,
  NumberOfCreatedDocuments,
  ShippingPoint,
  NumberOfErrors,
  HeaderGrossWeight,
  HeaderWeightUnit,
  HeaderVolume,
  HeaderVolumeUnit,
  Warehouse,
  cast (_NumberOfMessages[1: SystemMessageType='E'].NumberOfMessages as no_error preserving type) AS NumberOfErrorMessages,
  cast (_NumberOfMessages[1: SystemMessageType='W'].NumberOfMessages as no_warn preserving type) AS NumberOfWarningMessages,
  cast (_NumberOfMessages[1: SystemMessageType='I'].NumberOfMessages as no_inf preserving type) AS NumberOfInfoMessages
FROM I_CollectiveProcessing
LEFT OUTER JOIN P_CountMessageTypes AS _NumberOfMessages ON _NumberOfMessages.CollectiveProcessing = CollectiveProcessing  -- association [0..*]
;