In almost every ABAP program the system field SUBRC is used, because it’s meaning is connected with the successful execution of a statement. It contains return value, set by ABAP statements. It is an integer value like 0, 4, 8 or other. This value is used to determine the status of ...
You then check for this value, and do the appropriate messageing, but hopefully you can see how SY-SUBRC could be any numeric value and the meaning could be anything. Generally, for most ABAP statements, the SY-SUBRC value is usually set to 4 or 8, 0 if successful. 8 for specific er...
sy-subrc<>0. "4, 8 having different meaning indicates reson of failure. Regards savita Reply Former Member 2006 Jan 11 9:35 AM 0 Kudos 657 SAP Managed Tags: ABAP Development HI , SY-SUBRC check is very much essential in Performance point of view of the code. e.g we alway...
Meaning.. IF SY-SUBRC = 0. ***Record found. ELSE. ***No record found.. ENDIF Thanks, Naren Reply Former Member 2007 Apr 15 5:39 AM 0 Kudos 2,917 SAP Managed Tags: ABAP Development Hi, What do you mean by in SELECT statement? Are you talking between SELECT and ENDSEL...
Both have same meaning. Sy-SUBRC initial value is ZERO (0) so should be the same. This is like... data: sy-subrc type int4 value '0'. if sy-subrc is initial -> means if sy-subrc = 0. Reply Former Member 2016 Mar 10 7:16 PM 0 Kudos 1,189 SAP Managed Tags...