Dear All,
I need to know a way in order to raise an error message in programme i.e when there is an error in the programme and if I run this program it should raise an error message.
With Regards,
Madhu.S.N
Request clarification before answering.
Hello Madhu,
If you run the program with syntax error, system is giving error.
What type of checking you need. ?
Regards,
Naimesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
runtime error can happen for different reasons. and if you dont catch them throw proper messages the system will dump.
to catch errors you have to use try catch block.
for example if you are are doing a multiplication you know it for sure that the if the parameters are not numbers you will get convert_no_number error. to catch that you have to do that within try catch block to catch the error.
check out this link for more info.
http://help.sap.com/saphelp_nw04/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/frameset.htm
Regards
Raja
Reward points to helpful answers by choosing appropriate radiobutton in the answers.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.