‎2009 Dec 10 12:43 PM
Hi experts,
I have issue in transfer data from SAP to XML. Program is working perfect.
I used in program 2 function modules: u2018SDIXML_DATA_TO_DOMu2019, u2018SDIXML_DOM_TO_XMLu2019
Display data like this:
So how can I do that? Please give me some ideau2026
Which function module or method I have to use?
‎2009 Dec 10 1:01 PM
Hi Jugar,
I havent used SAP function modules (mentioned by you), because my requirement was further to download it in excel format with width , color & other functionality, for which I couldnt find standard SAP function module.
But with self logic of creating cell, records, further table..this can be achieved.
As in your case <TURNOS>
<LU />
<MA />
<MI />
<JU />
<VI />
<SA />
<DO />
</TURNOS>
TURNOS is a record with cells like LU,MAetc.
If number of cells are fixed, than you can write logic for filling XML easily in ABAP.
Tanaya
‎2009 Dec 10 3:12 PM
Hi Tanya,
Thanks for the quick reply.
number of cells are not fixed. depend of the item level it can be more or less.....
‎2009 Dec 10 1:02 PM
‎2009 Dec 11 5:24 AM
Hi Jigar,
what is the format of your data after these two conversions?If it is binary then use binary to string conversion.Check wiki there you will get abap to xml conversion pages.
Thanks,
‎2010 Dec 21 4:54 AM