2006 Jul 14 8:01 AM
hi,
in a report i have ALV grid as output-1. i put a check on SY-BATCH and coded GET_PRINT_PARAMETERS for output-2.
if i run the report in foreground, and in debugging change SY-BATCH to 'X', then things are fine. i see output1 normally and i get a spool no. for output2.
now when i run the report in background the job gets calcelled. the log says "Job cancelled after system exception ERROR_MESSAGE".
what is the reason and how can i fix it? any ideas ?
thanks in advance.
Hello,
If any screen comes in your report while running in background, it will give you an error.
So, try to remove the screens.
Regards,
Naimesh
2006 Jul 14 8:04 AM
Hello,
If any screen comes in your report while running in background, it will give you an error.
So, try to remove the screens.
Regards,
Naimesh
2006 Jul 14 8:08 AM
no screen related to report but a pop up appears when i run in foreground and keep sy-batch = 'X'. this screen is for changing print parameters
2006 Jul 14 8:11 AM
log in SM37 also says 'Specify printer name' and then 'Job cancelled after system exception ERROR_MESSAGE'
2006 Jul 14 9:42 AM
hi,
i got it. i found that the FM is not provided the printer name. in foreground i get a popup i fill it. but in backgrouond there was no such scope. so the job had to be terminated.
thanks.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |