Skip to content

Commit fc8f4f4

Browse files
author
Siddharth
authored
Elaborate on more connector differences
1 parent 0b873e2 commit fc8f4f4

File tree

1 file changed

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

1 file changed

+72
-0
lines changed

articles/logic-apps/connectors/sap.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,78 @@ The SAP built-in connector significantly differs from the SAP managed connector
9898

9999
This change prevents you from uploading multiple PSE files, which isn't supported and results in SAP connection failures. In Consumption logic app workflows, the SAP managed connector lets you specify these values through connection parameters, which allowed you to upload multiple PSE files and isn't supported, causing SAP connection failures.
100100

101+
* Difference in how empty XML elements are handled
102+
103+
- **BuiltIn SAP Connector**: An empty XML element is treated as a SAP parameter with an explicit empty value or default value.
104+
- **Managed SAP Connector**: An empty XML element is interpreted as a missing parameter, and the parameter is not sent to the SAP function.
105+
106+
**Example**
107+
Given the following SAP RFC input payload:
108+
109+
```xml
110+
<RfcName>
111+
<Parameter></Parameter>
112+
</RfcName>
113+
```
114+
- In Logic App Standard built-in connector, the Parameter is included in the SAP RFC call with an explicit empty value ('').
115+
116+
- In the Managed SAP Connector, the Parameter is omitted entirely from the SAP RFC call.
117+
118+
* Difference in handling BizTalk XML group segments.
119+
120+
- **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.
121+
- **Managed SAP Connector**: Allows multiple repetitions of child elements within a single group segment. These are interpreted as multiple instances of the group segment.
122+
123+
**Example Behavior**
124+
The following structure, where multiple sequences of child elements are grouped under a single group segment, would be **rejected** by the Built-in SAP connector in Logic App Standard:
125+
126+
```xml
127+
<ns2:E2EDKT1002GRP>
128+
<ns2:E2EDKT1002>
129+
<ns2:DATAHEADERCOLUMN_SEGNAM>E2EDKT1002</ns2:DATAHEADERCOLUMN_SEGNAM>
130+
<ns2:TDID>FD</ns2:TDID>
131+
</ns2:E2EDKT1002>
132+
<ns2:E2EDKT2001>
133+
<ns2:DATAHEADERCOLUMN_SEGNAM>E2EDKT2001</ns2:DATAHEADERCOLUMN_SEGNAM>
134+
<ns2:TDLINE>CRSD</ns2:TDLINE>
135+
</ns2:E2EDKT2001>
136+
<ns2:E2EDKT1002>
137+
<ns2:DATAHEADERCOLUMN_SEGNAM>E2EDKT1002</ns2:DATAHEADERCOLUMN_SEGNAM>
138+
<ns2:TDID>DTP</ns2:TDID>
139+
</ns2:E2EDKT1002>
140+
<ns2:E2EDKT2001>
141+
<ns2:DATAHEADERCOLUMN_SEGNAM>E2EDKT2001</ns2:DATAHEADERCOLUMN_SEGNAM>
142+
<ns2:TDLINE>OriginalRelease:0|</ns2:TDLINE>
143+
<ns2:TDFORMAT>/</ns2:TDFORMAT>
144+
</ns2:E2EDKT2001>
145+
</ns2:E2EDKT1002GRP>
146+
```
147+
Instead, the following structure is valid for the Built-in SAP connector, where each instance of the `E2EDKT1002GRP` group contains only a single sequence of child segments:
148+
149+
```xml
150+
<ns2:E2EDKT1002GRP>
151+
<ns2:E2EDKT1002>
152+
<ns2:DATAHEADERCOLUMN_SEGNAM>E2EDKT1002</ns2:DATAHEADERCOLUMN_SEGNAM>
153+
<ns2:TDID>FD</ns2:TDID>
154+
</ns2:E2EDKT1002>
155+
<ns2:E2EDKT2001>
156+
<ns2:DATAHEADERCOLUMN_SEGNAM>E2EDKT2001</ns2:DATAHEADERCOLUMN_SEGNAM>
157+
<ns2:TDLINE>CRSD</ns2:TDLINE>
158+
</ns2:E2EDKT2001>
159+
</ns2:E2EDKT1002GRP>
160+
<ns2:E2EDKT1002GRP>
161+
<ns2:E2EDKT1002>
162+
<ns2:DATAHEADERCOLUMN_SEGNAM>E2EDKT1002</ns2:DATAHEADERCOLUMN_SEGNAM>
163+
<ns2:TDID>DTP</ns2:TDID>
164+
</ns2:E2EDKT1002>
165+
<ns2:E2EDKT2001>
166+
<ns2:DATAHEADERCOLUMN_SEGNAM>E2EDKT2001</ns2:DATAHEADERCOLUMN_SEGNAM>
167+
<ns2:TDLINE>OriginalRelease:0|</ns2:TDLINE>
168+
<ns2:TDFORMAT>/</ns2:TDFORMAT>
169+
</ns2:E2EDKT2001>
170+
</ns2:E2EDKT1002GRP>
171+
```
172+
101173
* **Generate Schema** action
102174

103175
* 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)