2024 Jul 29 3:56 PM - edited 2024 Jul 29 3:57 PM
Dear community,
considering I have the following generic XML:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<item>
<id>1</id>
<name>Item 1</name>
<quantity>10</quantity>
</item>
<item>
<id>2</id>
<name>Item 2</name>
<quantity>20</quantity>
</item>
</root>
It is a valid XML, which however does not have the SAP specifics such as root called <abap> and the respective name space. How can I transform this into a ABAP structure structured exaxtly as the XML when using call transformation without defining an own XLST transformation?
The structure would look like this:
TYPES: BEGIN OF ty_item,
id TYPE i,
name TYPE string,
quantity TYPE i,
END OF ty_item.
Thanks for your help!
Request clarification before answering.
| User | Count |
|---|---|
| 14 | |
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.