2008 Oct 09 11:44 AM
hi friends
i was dispalying an error message like message
e162(zya) with 'message'
raising error_with_message.
when iam using raising error_with_message. its showing like information message in pop up why its *not showing
error message*?
thanks & regards
deepurd
hi friends
i was dispalying an error message like message
e162(zya) with 'message'
raising error_with_message.
when iam using raising error_with_message. its showing like information message in pop up why its *not showing
error message*?
thanks & regards
deepurd
2008 Oct 09 11:53 AM
The raising statement is to trigger an exception, for instance if your code is in a Function Module...
2008 Oct 10 8:24 AM
hi friends
i was dispalying an error message like message
e162(zya) with 'message'
raising error_with_message.
when iam using raising error_with_message. its showing like information message in pop up why its *not showing
error message*?
thanks & regards
deepurd
2008 Oct 10 8:26 AM
where you are using the raising the message. i mean under which event you are raising.
2008 Oct 10 8:31 AM
RAISING is used for triggering exceptions in a function module. The exception type that is declared in the exceptions section in the function module attributes.
2008 Oct 10 8:27 AM
in FM you can define Exceptions in a tab
like div_by_zero
now in FM source code
if b = 0.
message.... raising div_by_zero.
"execution will stop at this point
endif.
c = a/b
Edited by: Amit Gupta on Oct 10, 2008 9:27 AM
2008 Dec 29 4:17 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |