2009 Oct 05 9:05 AM
Hi all,
I have a report that generates an ALV output which is sent to email recipients as a pdf attachement. I have to converted the spool to pdf. But i have to add a message to the readers in the beginning of the pdf document. can anyone tell me how to do that. any help will be appreciated.
regards
Hi all,
I have a report that generates an ALV output which is sent to email recipients as a pdf attachement. I have to converted the spool to pdf. But i have to add a message to the readers in the beginning of the pdf document. can anyone tell me how to do that. any help will be appreciated.
regards
2009 Oct 05 9:21 AM
add the message in the top-of-page of the ALV
check this link how to use top of page
[top-of-page in alv|http://wiki.sdn.sap.com/wiki/display/Snippets/DisplayHeadinginALVReport]
2009 Oct 05 9:53 AM
Hi,
If you are scheduling the report as a background job for converting the spool to pdf and sending the email, you can add the message in the report output itself before converting the spool to pdf which willl hold the message too.
if sy-batch = 'X'.
call function 'REUSE_ALV_COMMENTARY_WRITE' " Use this fm with REUSE_ALV_GRID_DISPLAY' to write the message in the alv top of page event
endif.
Regards,
Vikranth
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |