Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
rosenberg_eitan
Active Contributor
0 Kudos

Hi,

Searching the site using "Search operators"

site:scn.sap.com multi line cell in excel    
Does produce some results but unfortunately not a full working program (I might be wrong on this one ) .

Also reading https://en.wikipedia.org/wiki/Comma-separated_values I noticed this example:

Based on this article I wrote program Y_R_EITAN_TEST_10_10 (attached) .

General description


The program create CSV string based on internal table input .

The program create HTML string based on internal table input .

The program also create a multi line cell (follow FORM get_long_text) .

Both strings are sent as mail attachments .

Technical


Local helper classes:
CL_CSV - help to create a valid CSV string (I hope I did not miss something....) .

CL_HTM - help to create HTML string .

Mail

The program use CL_BCS to send the mail .

Output


Attachment_CSV.csv as it appears in Excel (you have to play with the row height.....)

Attachment_HTM as it appears in the browser (IE)

Attachment_CSV.csv as it appears in LibreOffice (The row height is done automatically )

4 Comments