‎2006 Dec 22 3:58 PM
Hello All,
I am stuck up in following problem.
Requirement is to send OO ALV output through mail in background.
In Start-of-selection
CALL SCREEN 2000.
In Screen 2000.
I'm using .. CALL METHOD gw_alvgrid->set_table_for_first_display .
perform send_mail.
I need to send the oo alv output through mail. I have written the code for sending mail inside send_mail. The problem is perform send_mail is not at all getting called.
I debugged in background mode and saw the program stops after executing
set_table_for_first_display method.
Kindly help me out..
‎2006 Dec 22 4:12 PM
Vimal,
In case of ALV, the execution will stop after the table display.
You as such have the data even before the method call, so you should send mail before doing a table display.
Regards,
Ravi
Note - Please mark all the helpful answers
‎2006 Dec 22 4:12 PM
Vimal,
In case of ALV, the execution will stop after the table display.
You as such have the data even before the method call, so you should send mail before doing a table display.
Regards,
Ravi
Note - Please mark all the helpful answers
‎2006 Dec 22 4:19 PM
Thanks For the reply..
I tried the way you mentioned but even spool doesnt get generated if I change the order.