2009 Jan 30 8:05 AM
Hi Experts,
I am fresher and I have been given with an object which throws dump in backgroud execution when I raise error message in foreground. What would I do for handling errors in background. Should I remove Error message? or what should I do?
Thanks and regards.
Venkat, IBM
2009 Jan 30 8:33 AM
write this coding ..
if sy-batch = 'X'. <-- if the program is executed in background.
write : 'Error message'.
else. <-- if the program is executed in fore ground
message E000 with 'Error message'.
endif.
Hi Experts,
I am fresher and I have been given with an object which throws dump in backgroud execution when I raise error message in foreground. What would I do for handling errors in background. Should I remove Error message? or what should I do?
Thanks and regards.
Venkat, IBM
2009 Jan 30 8:14 AM
2009 Jan 30 8:33 AM
write this coding ..
if sy-batch = 'X'. <-- if the program is executed in background.
write : 'Error message'.
else. <-- if the program is executed in fore ground
message E000 with 'Error message'.
endif.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |