‎2007 May 15 6:20 AM
‎2007 May 15 6:24 AM
Hi,
if sy-subrc = 0.we can say that stmt is returning some o/p properly.
rgds,
bharat.
‎2007 May 15 6:22 AM
‎2007 May 15 6:23 AM
hi,
By Checking SY-SUBRC statement.
IF SY-SUBRC = 0.
Message e100.
ENDIF.
‎2007 May 15 6:24 AM
‎2007 May 15 6:24 AM
sy-subrc is a system variable which will be maintained by the system. U can use it for the return code
‎2007 May 15 6:24 AM
Hi,
if sy-subrc = 0.we can say that stmt is returning some o/p properly.
rgds,
bharat.
‎2007 May 15 6:25 AM
Hi,
Return code for an ABAP statement is stored in system field sy-subrc .
select *
from spfli
into table t_spfli .
if sy-subrc eq 0 .
" Sucessfull
else
" Unsucessful .
Regards
Praveen
‎2007 May 15 6:27 AM
Hi,
U can check the status using a system field called SY-SUBRC.
If sy-subrc value is equal to 0, it means the stmt is executed or else not executed.
eg:
select ....................
if sy-subrc eq 0.
stmtms.........
endif.
regards,
parvez.
‎2007 May 15 6:37 AM