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

Printed text format problem in SO_NEW_DOCUMENT_ATT_SEND_API1

Former Member
0 Likes
957

Hi All,

I'm facing this problem while attaching a text file to this Function Module

SO_NEW_DOCUMENT_ATT_SEND_API1.

The Printed text has a series of single spaces between them like:

instead of printing 'PRINTING' it shows 'P R I N T I N G'.

Is there any method or any Function by which i can avoid this issue?

Please help me out in this regard.

Thanks in Advance,

Arun Prakash.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
923

Hi,

When are you facing this problem before sending the mail or in attchement after you receive the mail.

In both the cases it seems to be problem with the text file you are creating not the problem with FM.

Hi All,

I'm facing this problem while attaching a text file to this Function Module

SO_NEW_DOCUMENT_ATT_SEND_API1.

The Printed text has a series of single spaces between them like:

instead of printing 'PRINTING' it shows 'P R I N T I N G'.

Is there any method or any Function by which i can avoid this issue?

Please help me out in this regard.

Thanks in Advance,

Arun Prakash.

5 REPLIES 5
Read only

Former Member
0 Likes
924

Hi,

When are you facing this problem before sending the mail or in attchement after you receive the mail.

In both the cases it seems to be problem with the text file you are creating not the problem with FM.

Read only

0 Likes
923

Hi Anurag,

This issue is arised after the mail is sent.

In the receiving end the text inside the attached txt file appears as i have said above.

Thanks & Regards,

Arun Prakash.

Read only

Former Member
0 Likes
923

Hi Arun,

for SO_NEW_DOCUMENT_ATT_SEND_API1.

kindly check the below sap note :

note 936447 and note 873845

check with ur basis

Regards,

Aby

Read only

Sandra_Rossi
Active Contributor
0 Likes
923

Hi Arun, could you tell us how you solved the error. Thx

Read only

0 Likes
923

Hi,

Take Document type as RAW . It solved my problem :):)