Converting the mail body data into proper text
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.