Skip to content

Commit 1546b43

Browse files
author
Siddharth
authored
Update sap.md
1 parent fc8f4f4 commit 1546b43

File tree

1 file changed

+30
-0
lines changed
  • articles/logic-apps/connectors

1 file changed

+30
-0
lines changed

articles/logic-apps/connectors/sap.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,26 @@ The SAP built-in connector significantly differs from the SAP managed connector
115115

116116
- In the Managed SAP Connector, the Parameter is omitted entirely from the SAP RFC call.
117117

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+
<Parameter xml: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+
118138
* Difference in handling BizTalk XML group segments.
119139

120140
- **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
170190
</ns2:E2EDKT1002GRP>
171191
```
172192

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+
173203
* **Generate Schema** action
174204

175205
* 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

Comments
 (0)