11-12-2015 3:22 PM
Hello,
I am trying to send email with email body text but every time the email body is blank, any help would be greatly appreciated.
I am setting the text as below and the t_mailtext has the data in it but still does not go to email body.
Subject is there but not email body.
I have also tried changing i_type to 'RAW' and 'TXT' but neither of those has worked.
data: lo_document TYPE REF TO cl_document_bcs.
data: t_mailtext TYPE soli_tab.
lo_document = cl_document_bcs=>create_document(
i_type = 'ASC'
i_text = t_mailtext
i_subject = lv_subject ).
11-12-2015 3:30 PM
Hi.
Did you define i_length parameter?
Once you declare your table with text
DATA: f_text type bcsy_text with header line
DATA: f_n10 type i.
then you should define :
describe table f_text lines f_n10.
f_n10 = ( f_n10 - 1 ) * 255 + strlen( f_text ).
i_lenght = f_n10.
and use i_type = 'RAW'
This should works.
Hope to help
Bye
11-12-2015 3:30 PM
Hi.
Did you define i_length parameter?
Once you declare your table with text
DATA: f_text type bcsy_text with header line
DATA: f_n10 type i.
then you should define :
describe table f_text lines f_n10.
f_n10 = ( f_n10 - 1 ) * 255 + strlen( f_text ).
i_lenght = f_n10.
and use i_type = 'RAW'
This should works.
Hope to help
Bye