Dear all
I’ve a XML file that the structure is separated in three parts: product description (TAG: IT_GEN), product count (TAG: IT_KOND) and product price (TAG: IT_PRICE). Please see example below. For a detailed table I need to have one table and all parts to one dynamic table → one dynamic table with product description, count and price.
Is this possible to do?
BR
Miro
<?xml version="1.0" encoding="utf-8"?>
<sf>
<abap>
<values>
<IS_BIL_INVOICE>
<IT_GEN>
<LBBIL_IT_GEN>
<BIL_NUMBER>0041123604</BIL_NUMBER>
<ITM_NUMBER>000001</ITM_NUMBER>
<SHORT_TEXT>Red</SHORT_TEXT>
</LBBIL_IT_GEN>
<LBBIL_IT_GEN>
<BIL_NUMBER>0041123604</BIL_NUMBER>
<ITM_NUMBER>000002</ITM_NUMBER>
<SHORT_TEXT>Blue</SHORT_TEXT>
</LBBIL_IT_GEN>
</IT_GEN>
<IT_PRICE>
<LBBIL_IT_PRICE>
<BIL_NUMBER>0041123604</BIL_NUMBER>
<ITM_NUMBER>000001</ITM_NUMBER>
<PRICE>710.0</PRICE>
</LBBIL_IT_PRICE>
<LBBIL_IT_PRICE>
<BIL_NUMBER>0041123604</BIL_NUMBER>
<ITM_NUMBER>000002</ITM_NUMBER>
<PRICE>177.5</PRICE>
</LBBIL_IT_PRICE>
</IT_PRICE>
<IT_KOND>
<LBBIL_IT_KOND>
<BIL_NUMBER>0041123604</BIL_NUMBER>
<ITM_NUMBER>000001</ITM_NUMBER>
<COUNT>70</COUNT>
</LBBIL_IT_KOND>
<LBBIL_IT_KOND>
<BIL_NUMBER>0041123604</BIL_NUMBER>
<ITM_NUMBER>000001</ITM_NUMBER>
<COUNT>100</COUNT>
</LBBIL_IT_KOND>
<LBBIL_IT_KOND>
<BIL_NUMBER>0041123604</BIL_NUMBER>
<ITM_NUMBER>000002</ITM_NUMBER>
<COUNT>219</COUNT>
</LBBIL_IT_KOND>
<LBBIL_IT_KOND>
<BIL_NUMBER>0041123604</BIL_NUMBER>
<ITM_NUMBER>000002</ITM_NUMBER>
<COUNT>902</COUNT>
</LBBIL_IT_KOND>
<LBBIL_IT_KOND>
<BIL_NUMBER>0041123604</BIL_NUMBER>
<ITM_NUMBER>000002</ITM_NUMBER>
<COUNT>80</COUNT>
</LBBIL_IT_KOND>
</IT_KOND>
</IS_BIL_INVOICE>
</values>
</abap>
</sf>