Answer Posted / 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 |
Post New Answer View All Answers
What is the use of 'table index'?
In select-options, how to get the default values as current month first date and last date by default?
Where the payroll results are stored
What is view? Explain the different types of view?
What is the difference between a pool table and a transparent table and how they are stored at the database level?
Which type of tables used this buffer?
8)when u create sales report what u can see in that report ? what rthose field names or data element names? 9)when u create purchase order details report what u can see in that report ?what rthose fieldnames or dataelements? 10)when u create material stock report in material master grouped by material type and plant what u can see in report ?what rthose field names or dataelement ? 11)when u create shipping forecast report what u can see in that report ?what rthose data elements or field names?
Suppose there is check box along with the rows. The requirement is, select the require check boxes and press a used defined button to save all these checked row data to another table. How can you do it?
Explain what are the events used for logical database?
What is table attribute? : abap data dictionary
What is the purpose of at first and at last?
What does the ‘suppress dialog’ do?
What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization
How can the standard tables of sap be modified?
when does a list get sent to the screen on the presentation layer?