2006 Sep 12 11:04 AM
how can we run a report in batch mode.
my requirement is i have to email my output when i run the report in batch mode.
pls help me out with this..
how can we run a report in batch mode.
my requirement is i have to email my output when i run the report in batch mode.
pls help me out with this..
2006 Sep 12 11:06 AM
Check for SY-BATCH = 'X'.
If so send a mail else show that in the ALV.
Regards,
Prakash.
2006 Sep 12 11:49 AM
how can u send it to email i have field called email in my selection screen.how can we maintain in batch mode
2006 Sep 12 11:07 AM
Hi,
In you code check if sy-batch eq 'X'.
then use standard FM to send the output as attachment via email.
Rgds,
HR
2006 Sep 12 11:08 AM
hi,
try transaction sm36.
as step your programm, as spool list recipient!
yours michael
2006 Sep 12 11:22 AM
Hi,
use if sy-batch = 'X'.
call function 'CONVERT_OTFSPOOLJOB_2_PDF'
'RS_SEND_MAIL_FOR_SPOOLLIST'
call fnction 'SO_SEND_MAIL'.
SO_NEW_DOCUMENT_ATT_SEND_API1'
endif.
Regards
Amole
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |