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 |
Abstract class and interface, multiple inheritance, live example
how many main windows you can maintain in a smartform? wt is the types of window in smartform?
Explain the difference between float and packed data type?
table to be buffered or not?
how to creat a table with out primary key
what is call back in alv?
If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?
Explain buffering concept usage?
Explain what is the difference between sy-tabix and sy-index? Where it is used?
How many servers present for Database servers,Presentation and Application servers in Landscape? All these servers are present at client side or company side,means where the Database server is Located, where the Application and Presentation servers Located in a Landscape?
what is the difference between at first & at new statements
Diff b/w LUW and Lock Mechanism?