Application Development 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: 

Problem in priniting Email Body which is of soli type

VijayCR
Active Contributor
0 Kudos

Hello Experts,

   I am developing a report for Email functionality.I am inputing a i_tab of type soli to a class method when this internal table has 7 rows.But the ouput is printed with two lines as Email body.If i give the  cl_abap_char_utilities=>cr_lf in the begging and print i am getting a extra line printed .Please let me know how to resolve this issue.

Find the scrren shots.

Thanks,

Vijay

4 REPLIES 4

Former Member
0 Kudos

Hi

Declare 7 text elements for seven lines and APPEND those lines to I_tab. It shows seven lines in the body.

Thanks,

Chandra

0 Kudos

Hi,

You can concatenate the body of the email into one local variable.

Thanks,

Fayyaz

0 Kudos

Hi Chandra,

the lines varies dynamically.

0 Kudos

I have one function module which takes soli type as input parameter so i have use only this.