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
Copy file name to clipboardExpand all lines: articles/logic-apps/connectors/sap.md
+51Lines changed: 51 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1170,6 +1170,57 @@ You can control this tracing capability at the application level by adding the f
1170
1170
> If you download a log or trace file that your logic app workflow opened
1171
1171
> and is currently in use, your download might result in an empty file.
1172
1172
1173
+
## Enable SAP Common Crypto Library (CCL) tracing (built-in connector only)
1174
+
1175
+
If you have to investigate any problems with the crypto library while using SNC authentication, you can set up custom text file-based CCL tracing. You can use these CCL logs to troubleshoot SNC authentication issues, or share them with Microsoft or SAP support, if requested. By default, this capability is disabled because enabling this trace might negatively affect performance and quickly consume the application host's storage space.
1176
+
1177
+
You can control this tracing capability at the application level by adding the following settings:
1178
+
1179
+
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
1180
+
1181
+
1. On Standard logic app resource menu, under **Development Tools**, select **Advanced Tools** > **Go**.
1182
+
1183
+
1. On the **Kudu** toolbar, select **Debug Console** > **CMD**.
1184
+
1185
+
1. Browse to a location under **C:\home\site\wwwroot**, and create a text file, for example: **CCLPROFILE.txt**.
1186
+
1187
+
For more information about logging parameters, see [**Tracing** > SAP NOTE 2338952](https://me.sap.com/notes/2338952/E). The following sample provides an example tracing configuration:
1188
+
1189
+
```
1190
+
ccl/trace/directory=C:\home\LogFiles\CCLLOGS
1191
+
ccl/trace/level=4
1192
+
ccl/trace/rotatefilesize=10000000
1193
+
ccl/trace/rotatefilenumber=10
1194
+
```
1195
+
1196
+
1. On the logic app menu, under **Settings**, select **Environment variables** to review the application settings.
1197
+
1198
+
1. On the **Environment variables** page, on the **App settings** tab, add the following application setting:
1199
+
1200
+
**CCL_PROFILE**: The directory where **CCLPROFILE.txt** was created, for example, **C:\home\site\wwwroot\CCLPROFILE.txt**.
1201
+
1202
+
1. Save your changes. This step restarts the application.
1203
+
1204
+
### View the trace
1205
+
1206
+
1. On Standard logic app resource menu, under **Development Tools**, select **Advanced Tools** > **Go**.
1207
+
1208
+
1. On the **Kudu** toolbar, select **Debug Console** > **CMD**.
1209
+
1210
+
1. Browse to the folder for the parameter named **$ccl/trace/directory** from **CCLPROFILE.txt**.
1211
+
1212
+
Usually, the trace files are named **sec-Microsoft.Azure.Work-$processId.trc** and **sec-sapgenpse.exe-$processId.trc**.
1213
+
1214
+
Your logic app workflow performs SNC authentication as a two-step process:
1215
+
1216
+
1. Your logic app workflow invokes **sapgenpse.exe** to generate a **cred_v2** file from the PSE file.
1217
+
1218
+
You can find the traces related to this step in a file named **sec-sapgenpse.exe-$processId.trc**.
1219
+
1220
+
1. Your logic app workflow authenticates access to your SAP server by consuming the generated **cred_v2** file, with the SAP client library invoking the common crypto library.
1221
+
1222
+
You can find the traces related to this step in a file named **sec-Microsoft.Azure.Work-$processId.trc**.
1223
+
1173
1224
## Send SAP telemetry for on-premises data gateway to Azure Application Insights
1174
1225
1175
1226
With the August 2021 update for the on-premises data gateway, SAP connector operations can send telemetry data from the SAP NCo client library and traces from the Microsoft SAP Adapter to [Application Insights](../../azure-monitor/app/app-insights-overview.md), which is a capability in Azure Monitor. This telemetry primarily includes the following data:
0 commit comments