2008 Jun 05 5:29 AM
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.
2008 Jun 05 5:35 AM
Hi,
try using the option
CONCATENATE ..... INTO result separated by space RESPECTING BLANKS.
Shruthi
Hi,
try using the option
CONCATENATE ..... INTO result separated by space RESPECTING BLANKS.
Shruthi
2008 Jun 05 5:35 AM
Hi,
try using the option
CONCATENATE ..... INTO result separated by space RESPECTING BLANKS.
Shruthi
2008 Jun 05 5:49 AM
Hi shruthi,
thank you for the response, unfortunately i am using R/3 4.6C and i dont think that functionality is present in the version i am using.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |