check sy-subrc = 0 and if sy-subrc =0 difference explian

Answer Posted / kaushik

check sy-subrc = 0.
* This statement checks for the condition and if it is
true, the further code will be executed. If not, the
execution will stop if sy-subrc fails.

if sy-subrc = 0.
endif.
* This statement checks the above condition and even if sy-
subrc fails, the code will be executed further.

Is This Answer Correct ?    49 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is native sql?

608


what is bapi,badi,bdc,ale idocs?

1637


What are the various events associated with screen programming?

696


How can one distinguish between different kinds of parameters? : abap modularization

600


Double click function on the lists, identifying the line selected by the user on the list?

634






how to see the table output?

1741


I am getting the (first) page number and the remaining records displayed in another list in another page BUT the PAGE Number is not displayed? What is the code/solution?

1537


Name a few data dictionary objects?

650


What is the use of at new statement ?

1360


Static and instance variable and method with live example. Why and when to use

934


How can you access the function code from menu painter?

642


1. what is IDOC monitoring ? what is the tcode used for idoc monitoring ? 2 . what is change pointer in ale ?

6658


Explain about drill down report?

8783


How to write a bdc – how do you go about it?

666


Is main window mandatory in smartforms?

725