R_IotSituationTrigger
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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pur_iot_notif | pur_iot_notif | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA