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
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,26 @@ The SAP built-in connector significantly differs from the SAP managed connector
115
115
116
116
- In the Managed SAP Connector, the Parameter is omitted entirely from the SAP RFC call.
117
117
118
+
* Trimming of whitespace characters.
119
+
120
+
The Built-in SAP Connector in Logic App Standard automatically trims whitespace characters within XML elements.
121
+
122
+
For example, the following input:
123
+
```xml
124
+
<RfcName>
125
+
<Parameter> </Parameter>
126
+
</RfcName>
127
+
```
128
+
would result in the SAP RFC function call with the Parameter value interpreted as an empty string ('').
129
+
130
+
To preserve whitespace characters, you can explicitly specify the `xml:space="preserve"` attribute on the element. For example:
131
+
```xml
132
+
<RfcName>
133
+
<Parameterxml:space="preserve"> </Parameter>
134
+
</RfcName>
135
+
```
136
+
Using `xml:space="preserve"` ensures that the connector retains the whitespace characters exactly as provided in the payload.
137
+
118
138
* Difference in handling BizTalk XML group segments.
119
139
120
140
-**Built-in SAP Connector**: Strictly follows the schema defined by the Schema Generator. A group segment (a segment ending with `GRP`) must define its child segments only once per instance. To represent multiple items, multiple instances of the group segment should be created, each containing its own set of child segments.
@@ -170,6 +190,16 @@ The SAP built-in connector significantly differs from the SAP managed connector
170
190
</ns2:E2EDKT1002GRP>
171
191
```
172
192
193
+
* SAP Trigger Behavior
194
+
195
+
-**Namespace Construction**:
196
+
The SAP trigger uses the release version from the SAP Fetch Metadata response to construct the namespace in the trigger payload.
197
+
To override this and use the release version specified in the control record instead, set the `EnforceControlRecordNamespace` property to `true` in the trigger input parameters within the Logic App Designer.
198
+
199
+
-**Handling Empty Elements**:
200
+
By default, the SAP trigger does not include empty elements in the output payload.
201
+
To include empty nodes in the trigger output, set the `EnableEmptyXmlNode` property to `true` in the trigger input parameters within the Logic App Designer.
202
+
173
203
***Generate Schema** action
174
204
175
205
* You can select from multiple operation types, such as BAPI, IDoc, RFC, and tRFC, versus the same action in the SAP managed connector, which uses the **SapActionUris** parameter and a file system picker experience.
0 commit comments