Hi Experts,
My requirement is :
For each customer, there are 8 attributes and for each attribute there is some value. If any one of attribute is missing, PI will create that record with blank value.
If for one customer one attribute will come, PI will create another 7 records with all blank values with rest 7 attributes.
EX.
Input:
<Transaction>
<DETAIL>
<KUNNR>0001000007</KUNNR>
<ATTRIBUTE>A</ATTRIBUTE>
<VALUE>10</VALUE>
</DETAIL>
</Transaction>
Output:
<Transaction>
<DETAIL>
<KUNNR>0001000007</KUNNR>
<ATTRIBUTE>A</ATTRIBUTE>
<VALUE>10</VALUE>
</DETAIL>
<DETAIL>
<KUNNR>0001000007</KUNNR>
<ATTRIBUTE>B</ATTRIBUTE>
<VALUE></VALUE>
</DETAIL>
<DETAIL>
<KUNNR>0001000007</KUNNR>
<ATTRIBUTE>C</ATTRIBUTE>
<VALUE></VALUE>
</DETAIL>
<DETAIL>
<KUNNR>0001000007</KUNNR>
<ATTRIBUTE>D</ATTRIBUTE>
<VALUE></VALUE>
</DETAIL>
<DETAIL>
<KUNNR>0001000007</KUNNR>
<ATTRIBUTE>E</ATTRIBUTE>
<VALUE></VALUE>
</DETAIL>
<DETAIL>
<KUNNR>0001000007</KUNNR>
<ATTRIBUTE>F</ATTRIBUTE>
<VALUE></VALUE>
</DETAIL>
<DETAIL>
<KUNNR>0001000007</KUNNR>
<ATTRIBUTE>G</ATTRIBUTE>
<VALUE></VALUE>
</DETAIL>
<DETAIL>
<KUNNR>0001000007</KUNNR>
<ATTRIBUTE>H</ATTRIBUTE>
<VALUE></VALUE>
</DETAIL>
</Transaction>
Please help. Waiting for your early response.