Application Development and Automation 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: 
Read only

extra spaces in mail body using create document method

Former Member
0 Likes
714

Hi,

we are getting extra spaces in mail body.

class used is : cl_document_ bs

method : create document

Text passed in the document is in proper format. But the document generated has extra spaces in it.

Has anyone faced a similar issue?

kindly guide me to resolve this.

Thanks!

Faria

2 REPLIES 2
Read only

Ryan-Crosby
Active Contributor
0 Likes
523

Hi Faria,

If you are using i_type = 'RAW' then change it to 'TXT' and it should solve your issue. I faced this recently and that's the change I had to make to fix the problem with the extra spaces.

Regards,

Ryan Crosby

Read only

0 Likes
523

It worked the other way around for me.

Ic hanged the type from 'TXT' to 'RAW'.