I_IntlgntEquipRetsDispatchThld

DDL: I_INTLGNTEQUIPRETSDISPATCHTHLD Type: view_entity COMPOSITE

IER Dispatch threshold

I_IntlgntEquipRetsDispatchThld is a Composite CDS View that provides data about "IER Dispatch threshold" in SAP S/4HANA. It reads from 1 data source (I_FldLogsFlogReturnBasic) and exposes 16 fields with key fields Material, FldLogsReferenceDocumentNumber, ReferenceDocumentItem, MaintenanceOrder, RemoteStorageLocation. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_FldLogsFlogReturnBasic I_FldLogsFlogReturnBasic from

Associations (3)

CardinalityTargetAliasCondition
[1] I_FldLogsSupplyProcessText _SupplyProcessText _SupplyProcessText.FldLogsSupplyProcess = $projection.FldLogsSupplyProcess and _SupplyProcessText.Language = $session.system_language
[1] I_IntlgntEquipRetsDlyThld _DelayThreshold _DelayThreshold.Plant = $projection.FldLogsRemotePlant
[1] I_DeliveryDocument _Outbound _Outbound.DeliveryDocument = $projection.OutboundDelivery

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label IER Dispatch threshold view
Metadata.ignorePropagatedAnnotations true view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY FldLogsReferenceDocumentNumber FldLogsReferenceDocumentNumber Reference Doc Number
KEY ReferenceDocumentItem ReferenceDocumentItem Reference item
KEY MaintenanceOrder FldLogsMaintenanceOrder Order
KEY RemoteStorageLocation RemoteStorageLocation Location
KEY FldLogsRemotePlant Plant
OutboundDelivery OutboundDelivery LE Delivery
FldLogsReturnStatus Return Status
FldLogsSupplyProcess Supply Process
FldLogsSupplyProcessText _SupplyProcessText FldLogsSupplyProcessText
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
IntlgntEquipRetDsptchdThldVal
IntlgntEquipRetsDispatchThld _DelayThreshold IntlgntEquipRetsDispatchThld
_SupplyProcessText _SupplyProcessText
_DelayThreshold _DelayThreshold
_Outbound _Outbound

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_IntlgntEquipRetsDispatchThld.
-- 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_IntlgntEquipRetsDispatchThld AS
SELECT
  Material,
  FldLogsReferenceDocumentNumber,
  ReferenceDocumentItem,
  FldLogsMaintenanceOrder AS MaintenanceOrder,
  RemoteStorageLocation,
  cast( FldLogsRemotePlant as werks_d preserving type ) AS FldLogsRemotePlant,
  OutboundDelivery,
  cast( FldLogsReturnStatus as flog_return_status preserving type ) AS FldLogsReturnStatus,
  cast( FldLogsSupplyProcess as flog_sproc preserving type ) AS FldLogsSupplyProcess,
  _SupplyProcessText.FldLogsSupplyProcessText AS FldLogsSupplyProcessText,
  IsMarkedForDeletion,
  cast( dats_days_between( _Outbound.PlannedGoodsIssueDate, $session.system_date ) as abap.char( 11 ) ) AS IntlgntEquipRetDsptchdThldVal,
  _DelayThreshold.IntlgntEquipRetsDispatchThld AS IntlgntEquipRetsDispatchThld
FROM I_FldLogsFlogReturnBasic
LEFT OUTER JOIN I_FldLogsSupplyProcessText AS _SupplyProcessText ON _SupplyProcessText.FldLogsSupplyProcess = FldLogsSupplyProcess AND _SupplyProcessText.Language = $session.system_language  -- association [1]
LEFT OUTER JOIN I_IntlgntEquipRetsDlyThld AS _DelayThreshold ON _DelayThreshold.Plant = FldLogsRemotePlant  -- association [1]
LEFT OUTER JOIN I_DeliveryDocument AS _Outbound ON _Outbound.DeliveryDocument = OutboundDelivery  -- association [1]
;