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

Issue with cl_document_bcs=>create_document

Former Member
0 Likes
546

Hi,

I got a issue face while i am trying to create email body text using the class cl_document_bcs

Problem.

gt_text_mail table contain 2 lines of char 255. Any letter that is after the last word(beginning of the second row) of the 255 char in the 1st row, will be automatically put into a new line. which result a truncated wording format.

What i get in actual is this.

An ACH payment of $22,761.00 was processed on 07/19/2010

Please allow 2-3 days for funds to be posted to your acco unt.

Manage to see the break at the word account as the letter U is the first letter in gt_text_mail[] - row 2

I am using this object.

document = cl_document_bcs=>create_document(

i_type = 'TXT'

i_text = gt_text_mail

i_subject = gs_itcpo_last-tdtitle ).

I hope you can let me know if there is any way i can solve this, as its on standard sap program, is it naturals? any patches? or SAP notes?

regards,

kobe

1 REPLY 1
Read only

Former Member
0 Likes
372

Hi all,

Can anyone please help me on this? please enlighten me???

regards,

Horng woei