You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatic commit: Move 'iot-smartsensing-qcgr-destinations', 'iot-smartsensing-quality-control-rules-actions', 'iot-smartsensing-s4destinations' from QA to Production
v=0002/PostGoodsReceipt?DeliveryDocument='^{lastValue(${thresholdCheck.deliveryDocument})}'`** | URL to the Goods Receipt API incl. placeholder tokens of your SAP S/4HANA Cloud system or Virtual Host for SAP S/4HANA |
42
+
| URL |**`https://my300000.s4hana.ondemand.com/sap/opu/odata/sap/API_INBOUND_DELIVERY_SRV;v=0002/PostGoodsReceipt?DeliveryDocument='^{lastValue(${thresholdCheck.deliveryDocument})}'`**| URL to the Goods Receipt API incl. placeholder tokens of your SAP S/4HANA Cloud system or Virtual Host for SAP S/4HANA |
44
43
| Proxy Type |`Internet` or `OnPremise`| depending on Cloud or On-premise system |
45
44
| Authentication |`BasicAuthentication`, `OAuth2ClientCredentials` ... | based on your setup in the Communication Arrangement or Cloud Connector |
46
45
@@ -51,9 +50,8 @@ Create a Destination which will allow you to create a Goods Receipt. You will in
v=0002/PostGoodsReceipt?DeliveryDocument='^{lastValue(${thresholdCheck.deliveryDocument})}'`** | URL to the Goods Receipt APIs incl. placeholder tokens of your SAP S/4HANA Cloud system or Virtual Host for SAP S/4HANA |
56
-
|`sap.iot.XcsrfURL`|**`https://my300000.s4hana.ondemand.com/sap/opu/odata/sap/API_INBOUND_DELIVERY_SRV;v=0002/PostGoodsReceipt?DeliveryDocument='^{lastValue(${thresholdCheck.deliveryDocument})}'`**| URL to the Goods Receipt APIs incl. placeholder tokens of your SAP S/4HANA Cloud system or Virtual Host for SAP S/4HANA |
53
+
|`sap.iot.etagURL`|**`https://my300000.s4hana.ondemand.com/sap/opu/odata/sap/API_INBOUND_DELIVERY_SRV;v=0002/A_InbDeliveryHeader('^{lastValue(${thresholdCheck.deliveryDocument})}')`**| URL to the Goods Receipt APIs incl. placeholder tokens of your SAP S/4HANA Cloud system or Virtual Host for SAP S/4HANA |
54
+
|`sap.iot.XcsrfURL`|**`https://my300000.s4hana.ondemand.com/sap/opu/odata/sap/API_INBOUND_DELIVERY_SRV;v=0002/A_InbDeliveryHeader('^{lastValue(${thresholdCheck.deliveryDocument})}')`**| URL to the Goods Receipt APIs incl. placeholder tokens of your SAP S/4HANA Cloud system or Virtual Host for SAP S/4HANA |
57
55
58
56
> The property `sap.iot.etagURL` retrieves and adds an `ETag` Token during Action execution. It is an identifier for a specific version of a resource and helps to prevent simultaneous updates of a resource from overwriting each other.
Copy file name to clipboardExpand all lines: tutorials/iot-smartsensing-quality-control-rules-actions/iot-smartsensing-quality-control-rules-actions.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,11 @@ Now that you have a **Rule Project**, you can create a rule. In the **Rule Proje
63
63
64
64
threshold:
65
65
SAP_Stream_Derivation.BusinessTime
66
+
67
+
ELSE IF ISNULL( thresholdCheck.threshold )
68
+
69
+
threshold:
70
+
'Jan 1, 1970 1:00:00 AM'
66
71
```
67
72
68
73
6. Now you can **Save** and **Activate** the **Rule on Cloud**.
@@ -89,9 +94,11 @@ In the **Rule Projects** app navigate to the **Rules** tab and create a **Stream
89
94
5. Using the interactive editor create your rule condition. In this condition we are not providing any value to `IoT_Event_Name` that will be populated differently.
90
95
91
96
```Rule
92
-
IF ISNULL( thresholdCheck.threshold ) AND ISNOTNULL( thresholdCheck.scanningTime )
>In the rule we are checking the threshold date is valid (current BusinessTime) and higher from the intial value `'Jan 1, 1970 1:00:00 AM'`.
101
+
95
102
Create another Rule:
96
103
97
104
6. Provide a unique name for the name and description (for example, **`QualityNotOk`**).
@@ -105,9 +112,11 @@ In the **Rule Projects** app navigate to the **Rules** tab and create a **Stream
105
112
10. Using the interactive editor create your rule condition. In this condition we are not providing any value to `IoT_Event_Name` that will be populated differently.
106
113
107
114
```Rule
108
-
IF ISNOTNULL( thresholdCheck.threshold ) AND ISNOTNULL( thresholdCheck.scanningTime )
Copy file name to clipboardExpand all lines: tutorials/iot-smartsensing-s4destinations/iot-smartsensing-s4destinations.md
-5Lines changed: 0 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,11 +55,6 @@ You destination should look similar to this one at the end:
55
55
56
56
> Further information on Destinations and supported Authentication methods see [SAP Help Portal of Internet of Things](https://help.sap.com/viewer/fbf2583f7bcf47fcb5107bf4d358770e/latest/en-US/87ec372e20ea48ba9843fc60a4723895.html) and [SAP Help Portal of SAP BTP Connectivity](https://help.sap.com/viewer/cca91383641e40ffbe03bdc78f00f681/Cloud/en-US/42a0e6b966924f2e902090bdf435e1b2.html)
0 commit comments