11-21-2007 9:39 AM
By which Function modules we can find the return code of a statement in ABAP programs?
11-21-2007 9:44 AM
11-21-2007 9:48 AM
You may need to clarify your question. Currently it makes little sense to me.
Some statements in ABAP, like READ, set the system variable sy-subrc according to the result of their actions.
You read sy-subrc directly to see what happened. You don't call a function module to find this value.
If you want to know which return codes to expect, read the ABAP help.
matt
11-21-2007 9:49 AM
Hi,
After the statement, u can give a code like
CHECK SY-SUBRC.
This will give u the sy-subrc value .when u debug ur program u will know the value of sy-subrc whether it is 0 or nonzero value.
Regrds,
Vani.