Hi all
i am mailing a report from SAP to my account using the FM 'Z_AG_MAIL_REPORT', this is working fine, however the report is not aligned in the mail,
i am using the bit of code shown below, to insert the entries into 'i_bodytxt' which is the message body.
CONCATENATE i_sum-date
i_sum-day
lw_docno
lw_ordno
i_sum-netwr
i_sum-waerk
INTO i_bodytxt SEPARATED BY space.
APPEND i_bodytxt.
CLEAR i_bodytxt.
Is there any other way than this to insert the entries in the internal table so that the alignment is perfect?
i_bodytxt is just a line with no fields,
DATA: BEGIN OF I_BODYTXT OCCURS 1,
LINE(255) TYPE C,
END OF I_BODYTXT.