Hello All
i have written a udf to extract material id and its related data in a hash map
hash map looks like below {Material_ID=[plant,uom,salesorg] combination - there are many material ids in the hashmap as shown below
{0061399=[1592345, 26728282, 29798989], 006139940=[1596889, 292909, 2989898], 006139996=[15965677, 989889, 990090] ...........................}
I want to extract these values inside the square braces and map it to the corresponding PI message mapping target structure fields for plant, uom, sales org. How do I achieve this?
The source structure is something like below
<Material>1.unbounded
<Material_ID/>
<plant/>
<uom/>
<salesorg/>
</Material>
---
---
---
Target structure is like below
<Mat>1.unbounded
<Mat_ID/>
<werks/>
<unitofMeas/>
<salesorganiz/>
</Mat>
---
thx
mike