How to raise an exception in Function Module?
Answers were Sorted based on User's Feedback
Answer / prashant tiwari
There are two ABAP statements for raising exceptions. They
can only be used in function modules:
RAISE <except>.
and
MESSAGE..... RAISING <except>.
The effect of these statements depends on whether the
calling program handles the exception or not. If the name
<except> of the exception or OTHERS occurs in the
EXCEPTIONS addition of the CALL FUNCTION statement, the
exception is handled by the calling program.
If the calling program does not handle the exception
The RAISE statement terminates the program and switches to
debugging mode.
The MESSAGE ..... RAISING statement display the specified
message. How the processing continues depends on the
message type.
If the calling program handles the exception, both
statements return control to the program. No values are
transferred. The MESSAGE ..... RAISING statement does not
display a message. Instead, it fills the system fields SY-
MSGID, SY-MSGTY, SY-MSGNO, and SY-MSGV1 to SY-MSGV4.
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / shankar
1-System_Failure
2-Communication-failure
Thru this we can raise an exception..
Is This Answer Correct ? | 2 Yes | 14 No |
which state ment is used to move identically named fields between structures?
how do you send the BDCDATA table in a Call Transaction statement
what is the purpose of table maintanance,(i think it's for authorizarion purpose) what is ment by authorization?
Difference between transparent tables and pooled tables? : abap hr
How can I make a differentiation between dependent and independent data? : abap hr
BDC Structure?
difference between user exit and customer exit dont tell both are same but there is another difference is there if anybody knows reply immediately
Explain the advantages of different types of bdc's?
1.what is the difference between e-commerce 4.0 and 5.0 2.how dose price determnation takes place using ipc 3.how dose data gets updated in your backend system 4.what is your system landscape 5.how do you transport the data from devolopment sys to quality and from quality to production servers.
Tell the Material Document, shipping, delivery, invoice tables?
WHAT IS DIFFERENCE BETWEEN USER EXIT AND BADI
how to retrieve the field label of data element in reports.(not in alv)