Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

how to add line feed to string for XML to ecxel?

$
0
0

Hey guys,

 

i write a report which creates an excel sheet via XML string. For this purpose i use the api IF_IXML_DOCUMENT.

Now i want to add some texts to the XML which should be displayed in the created excel in one cell. The text should be formated with line feeds (in excel ALT+ENTER). How can i do this? The method which i use to write the string to XMLis:

IF_IXML_DOCUMENT->create_simple_element( )

How can i put line feed to the string, which can be interpreted as line feed in created excel? Any idea?

I tried to convert my string to a xstring and concatenate the strings with '0A'. Later i converted the concatenated xstring back to a string.

This is not working.

Other ideas?

 

regards,

   M.


Viewing all articles
Browse latest Browse all 3523

Trending Articles