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

Explain the types of bdc's?

598


What is the abap program name to process the batch input session automatically? : abap bdc

649


What is the table & field to identify the no of items (bottles) stored in one case?

1980


Can a domain, assigned to a data element be changed? : abap data dictionary

548


How is conversion of data types done between abap/4 & external level? : abap data dictionary

656






Can any tell me ECC 5.0, ECC 6.0 Released year? and difference between them?

1976


What are the features of abap/4 dictionary? : abap data dictionary

588


How to determine the attributes of an internal table?

593


What is the collect statement? How is it different from append?

519


Where the payroll results are stored

1909


What is the Difference between At Line selection and At user-command?

645


Hi! I want to join SAP ABAP course in Hyderabad, can any one tell me where should I join? and Which is the best institute for SAP WORKSHOP? Thank you...

1010


How do you populate data into a multiple line field? : abap bdc

622


Explain how to Handle the internal tables in ABAP?

643


Does the table can have multiple foreign keys?

591