Skip to Content
0
Jul 01 at 04:46 PM

How to create header and item from single source node in SAP PO 7.5

60 Views

Hi Experties,

Below is source xml and expected output XML.

Source XML:

<Record>

<ID>1</ID>

<Po>2</Po>

</Record>

<Record>

<ID>1</ID>

<Po>3</Po>

</Record>

</Record>

<Record>

<ID>2</ID>

<Po>4</Po>

</Record>

Expected Output

-<Header>

<ID>1</ID>

---<item>

<Po>2</Po>

</Item>

---<item>

<Po>3</Po>

</Item>

</Header>

-<Header>

<ID>2</ID>

---<item>

<Po>4</Po>

</Item> </Header>