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 ? | 50 Yes | 2 No |
Post New Answer View All Answers
What is the difference between function group and function module?
Hi guy.. i have to face an interview in a couple of day.. so can you please give me some good and tough question on abap.
What is collective search help? : sap abap data dictionary
What is the difference between refresh and free statements?
How to add a column to a table control while using alphanumerical layout editor ?
Explain the sequences of event block?
how to Implement a BADI in which it restricts the access when purchase order is created against contract using definition ME_PURCHDOC_POSTED. please tell me the answers if any one knows. thanks in advance. :ravikiran
what is field string ? & where we are using field strings?
Use SET PF_STATUS which is in the FM reuse_alv_grid_display to set the button
Find the scenario and give the result: a, b, c are employees, where a, b will get basic, hra, da. C gets basic and da. How to group for the allowances? : sap abap hr
How you attach search help to data element? : sap abap data dictionary
Which one is better joins or views and why?
What are the steps in a bdc session? : abap bdc
Explain the difference between cluster tables and pool table?
Is it possible to pass data to and from include programs explicitly?