2009 Sep 02 7:55 AM
Hi,
I am genearting a zreport but I am not able to come to the selection screen of the Report program after I display the error message. It simply exits from the program. If I use information message, its working fine. But I want to display an error message only (after checking from data base, when data is invalid). So, can you help me with this.
how to come back to selection screen or to go to other tcode after displaying error message..
any help
regards sarabjit
Hi,
I am genearting a zreport but I am not able to come to the selection screen of the Report program after I display the error message. It simply exits from the program. If I use information message, its working fine. But I want to display an error message only (after checking from data base, when data is invalid). So, can you help me with this.
how to come back to selection screen or to go to other tcode after displaying error message..
any help
regards sarabjit
2009 Sep 02 7:59 AM
Hi,
You can display a information message like error message. Try like this,
MESSAGE l_errmsg TYPE 'I' DISPLAY LIKE 'E'.
This is a information message but it will display in red like a error message thus enabling you to come back to the selection screen.
Regards,
Vikranth
2009 Sep 02 8:00 AM
You can use the statement mentioned above and give an addition
LEAVE LIST-PROCESSING
Regards
Ansari
2009 Sep 03 6:40 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |