Quantcast
Channel: SCN : Discussion List - SAP Integrated Business Planning
Viewing all articles
Browse latest Browse all 419

HCI - xml map iteration rule

$
0
0

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 :

 

XML_maping_ViewDesignTimeData.jpg

 

 

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


Viewing all articles
Browse latest Browse all 419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>