We have a requirement, We will be receiving a file with multiple orders in one file.File structure would be like below
[Start]
[Order1]
[header]
[Line Item1]
[Line Item2]
[Line Item3]
[Line Item4]
...
...
...
[Order1 End]
[order2]
[Header]
[Line Item1]
[Line Item2]
[Line Item3]
[Line Item4]
...
...
...
[oder2 end]
...
...
...
...
[order n]
[Header]
[Line Item1]
[Line Item2]
[Line Item3]
[Line Item4]
...
...
...
[Order n End]
[End]
The file contains multiple orders and each order contains multiple line items.And the number is varying.
We have to convert this text file to xml and generate one Idoc per order.
Please suggest whether it could be done using SAP PI/PO features . If not how this could be achieved ?