what is Catch Command?
Answers were Sorted based on User's Feedback
Answer / jayraj
In TRY...ENDTRY, CATCH statement is used to specify the
exception classes whose exceptions are to be caught and
handled in following code.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / malli.gontla
Trying to catch any runtime errors programatically or
manually we use this statement catch.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shreeshaildiggi
Syntax
CATCH cx_class1 cx_class2 ... [INTO oref].
Effect
Introduction of a statement block of a TRY control
structure in which exceptions can be handled.
Syntax
TRY.
[try_block]
[CATCH cx_class1 cx_class2 ... [INTO oref].
[catch_block]]
...
[CLEANUP [INTO oref].
[cleanup_block]]
ENDTRY.
Effect
The statement TRY introduces a control structure with
several statement blocks. The first statement block
try_block is always run, whereas a branching off to exactly
one of the remaining statement blocks only occurs if a
class-based exception occurs in the try_block.
Thank's and Regards
Shreeshail Diggi
SAP Technical Consultant Infinite India
Is This Answer Correct ? | 1 Yes | 1 No |
Give few names of cluster tables in sap ?
What is generic area buffering in abap?
How can you access the function code from menu painter?
who will release request number?
Explain the call transaction method? : abap bdc
What is the Process to transfer IDOC from Outbound System to Inbound system.
Can i Have Some Realtime Examples on Idocs ?
Is the basic list deleted when the new list is created?
1/ what r the driver programe used in your script ? 2 / can we change from classical report to interactive report ?
how do we call multiple transactions in session method? (plzz with code)
what is difference between value table and check table?
what are the events in LSMW?