Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Xml display problem

Former Member
0 Likes
751

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?

5 REPLIES 5
Read only

Former Member
0 Likes
717

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

Read only

0 Likes
717

Hi Tanya,

Thanks for the quick reply.

number of cells are not fixed. depend of the item level it can be more or less.....

Read only

Former Member
0 Likes
717

This message was moderated.

Read only

Former Member
0 Likes
717

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,

Read only

Former Member
0 Likes
717

Thanks