i have this result when i execute my messagge mapping, but i don't konw how i can remove the empty nodes (red color). I've been testing with various functions "Node functions" but i don't get solve it.
i have this:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:Z_RFC1 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
<TABLE_1>
<item>
<FIELD1>value1</FIELD1>
<FIELD2>value2</FIELD2>
</item>
<item>
<FIELD1>value1</FIELD1>
<FIELD2>value2</FIELD2>
</item>
</item>
</item>
</item>
</item>
</ns1:Z_RFC1>
i want this:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:Z_RFC1 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
<TABLE_1>
<item>
<FIELD1>value1</FIELD1>
<FIELD2>value2</FIELD2>
</item>
<item>
<FIELD1>value1</FIELD1>
<FIELD2>value2</FIELD2>
</item>
</ns1:Z_RFC1>
can anyone help me?
thanks
Request clarification before answering.
Hi Mariano, Inaki's solution is good if you can work with imported functions.
I assume you want to do this only with graphic mapping. If yes, probably use the Exists plus CreateIf node function based on Field1/2 when mapping to the item node.
Please give more example of what you've tried, and what your logic flow is currently in the GUI mapping. Maybe post a screen shot?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.