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 |
What are the table controls in bdc ? What is the difference between bdc and lsmw ?what is the difference between bdc and rfc ? : abap bdc
What's an effective way of using an internal table record?
Hi Gurus, I have 250 records in an internal table, tell me how to randomly delete the each 5th record...i,e 5,10,15,20 like this.
When a program is created and need to be transported to prodn does selection texts always go with it? If not how do you make sure? Can you change the cts entries? How do you do it?
i want to block some spaces after end of page in classical report?how to do that?
explain any one in briefly what are the books we have to buy to study dont say see the help or abap 21 days if u have any other materials to study please suggest me i am unable to understand
What is going life actually? What is the role of a functional consultant in it? : sap abap hr
In order to upload purchase order details, how you handle multiple values for a single field?
What is tmg?
Which transaction code is used executing a report (type 1 program)? : abap data dictionary
What is the purpose of table maintains in se11?
What are internal tables? How do you get the number of lines in an internal table?