R_IotSituationTrigger

DDL: R_IOTSITUATIONTRIGGER SQL: RIOTSITTR Type: view BASIC Package: APPL_MM_PUR_IOT

Trigger for IOT based situations

R_IotSituationTrigger is a Basic CDS View that provides data about "Trigger for IOT based situations" in SAP S/4HANA. It reads from 1 data source (pur_iot_notif) and exposes 27 fields with key fields IotEventUUID, IotEventType, IotEvent. Part of development package APPL_MM_PUR_IOT.

Data Sources (1)

SourceAliasJoin Type
pur_iot_notif pur_iot_notif from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName RIOTSITTR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Trigger for IOT based situations view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY IotEventUUID iot_event_uuid UUID of an IoT event
KEY IotEventType iot_event_type IOT event type
KEY IotEvent iot_event ID of an IoT event
SalesOrder SD Document
SalesOrderItem salesorderitem Sales Order Item
SalesOrderItemUUID salesorderitemuniqueid GUID 16
PurchaseOrder Purchasing Document
PurchaseOrderItem purchaseorderitem Purchasing Document Item
PurchaseOrderItemUniqueID purchaseorderitemuniqueid Document Item
Customer customerid Customer
CustomerName customer_name Name 1
Material material Vehicle Model
MaterialDescription material_description Material Description
Delivery delivery Delivery Status
DeliveryItem delivery_item Item Number2
HandlingUnitExternalID hu_id Handling Unit
Warehouse Warehouse No.
StorageLocation storage_location Sup. Stor. Loc.
Plant plant Valuation Area
Longitude longitude Longitude
Latitude latitude Latitude
LastChangeDate erdat Entered On
LastChangeTime erzet Time
IotSensorUnit sensorunit Sensor Unit
IotSensorMeasuredQuantity actualvalue Sensor Value
IotSensorThresholdQuantity thresholdvalue Sensor Threshold
ResponsibleParty responsible 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 R_IotSituationTrigger.
-- 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.
-- SQL view name: RIOTSITTR

CREATE VIEW R_IotSituationTrigger AS
SELECT
  iot_event_uuid AS IotEventUUID,
  iot_event_type AS IotEventType,
  iot_event AS IotEvent,
  cast(salesorder as vdm_sales_order preserving type) AS SalesOrder,
  SalesOrderItem,
  salesorderitemuniqueid AS SalesOrderItemUUID,
  cast (purchaseorder as vdm_purchaseorder preserving type) AS PurchaseOrder,
  PurchaseOrderItem,
  PurchaseOrderItemUniqueID,
  customerid AS Customer,
  customer_name AS CustomerName,
  Material,
  material_description AS MaterialDescription,
  Delivery,
  delivery_item AS DeliveryItem,
  hu_id AS HandlingUnitExternalID,
  cast( warehouse as /scwm/lgnum preserving type) AS Warehouse,
  storage_location AS StorageLocation,
  Plant,
  Longitude,
  Latitude,
  erdat AS LastChangeDate,
  erzet AS LastChangeTime,
  sensorunit AS IotSensorUnit,
  actualvalue AS IotSensorMeasuredQuantity,
  thresholdvalue AS IotSensorThresholdQuantity,
  responsible AS ResponsibleParty
FROM pur_iot_notif
;