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

How do you write manual bdc session method? : abap bdc

595


How do you delete duplicate records from internal table?

743


What are the uses of interactive reporting?

619


What is a table attribute? : abap data dictionary

564


Explain what are interactive reports?

619






hi my name is amit i have passed BE(CSE) with honours(72%) in 2006 yr. i have completed SAP/ABAP training with good exposer. i need a staffing company which can provide me real time exposer in SAP R/3. so plz help me out and send any information regarding on my mail id or tele. no. 9999784331 thanks

1452


can anyone please tell me, in orient paper mill project which fields exits for creating report.

1272


Select up to 1 row and select single difference ?

648


What is a data dictionary? : sap abap data dictionary

551


Does sap handle multiple languages?

555


How to add a column to a table control while using alphanumerical layout editor ?

1785


What is its? : abap hr

621


What is the relationship existing between the various data elements? : abap data dictionary

587


What is a size category?

673


Describe data classes? : abap hr

627