Hi all,
In HCI, I am building the dataflow to write back constrained demand from IBP to Planned Independent Requirement in ECC ; using a BAPI exposed as a web service.To do so, I need to transform my constrained demand which has a “table format” into a proper xml format, which can be read by the web service.
My problem is that, if you have several entries for the same combination product-location, you need to group them in the same “bloc” <RequirementsCreate>. This concept is clearer in the picture below, where I represented what result I would like to have :
I have already created a xml Map transform, with a simple iteration rule on the top xml node, but this creates 3 blocs <RequirementsCreate>, which is not what I need.
I think I need to add another iteration rule to <item> level, specifying something like "group by PRDID and LOCID", but I don’t know how to do it and didn’t find any documentation on this.
Can someone help me with this please?
Thanks,
Pierre