2007 Aug 02 8:35 AM
hi,
I am trying to validate two parameters and and a select option.for validation i am using a select query.If sy-subrc is not 0 then error message is displayed.After displaying error message program is throwing me out (not a short dumb).I want to stay on selection scree. Please guide me.
Hi,
U have to validate the selection screen fields in AT SELECTION SCREEN event.
Use select query and error message if sy-subrc ne 0 in AT SELECTION SCREEN event. By doing this ur program stops at selection screen it self.
Regards,
Sankar
2007 Aug 02 8:39 AM
Hi,
U have to validate the selection screen fields in AT SELECTION SCREEN event.
Use select query and error message if sy-subrc ne 0 in AT SELECTION SCREEN event. By doing this ur program stops at selection screen it self.
Regards,
Sankar
2007 Aug 02 8:39 AM
Instead of displaying an error message, display a warning/info message and then use the command STOP to prevent the program from continuing.
Hope this helps.
Sudha
2007 Aug 02 8:41 AM
2007 Aug 02 8:42 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |