Skip to Content
Apr 02, 2015 at 09:41 AM

Converting the mail body data into proper text


Hi Experts,

My requirement is to read the email Body data (available in Internal Table format as shown below) into the proper text (STRING format).

Email body may contain multiple lines which I want to concatenate and want to have single string Variable in my program.

In the above screen shot, I can see ## separator is being used for identifying the next line.

I think instead of parsing these data manually there must be some standard SAP given FM which give us the proper text in STRING format.

internal table which contains the input data is of format SOLI_TAB (line Type SOLI).

The below is the coding which I have used to read the email body text.




Input_Data.png (14.7 kB)
coding.png (7.0 kB)