2007 Jul 09 2:33 PM
2007 Jul 09 2:35 PM
Hi,
Sy-subrc = 0 -
Success
Sy-subrc = 4 -
Failure(known reason)
Sy-subrc = 8 -
Internal error(Unknown reason).
Regards
Aneesh.
2007 Jul 09 2:35 PM
Hi,
Sy-subrc = 0 -
Success
Sy-subrc = 4 -
Failure(known reason)
Sy-subrc = 8 -
Internal error(Unknown reason).
Regards
Aneesh.
2007 Jul 09 2:37 PM
Hi
It depends on which STATAMENT is checked, anyway:
0: it means the comand is done successfully;
If it's not 0 it means the comend is faild, in this case it can be different values assigned to SY-SUBRC in order of the kind of error.
It usually finds which values SY-SUBRC can have in the help of statament.
For example after AUTHORITY-CHECK, SY-SUBRC can have:
4 -> User has no authorization in the SAP System for such an action. If necessary, change the user master record.
8 -> Too many parameters (fields, values). Maximum allowed is
12 -> Specified object not maintained in the user master record.
16 -> No profile entered in the user master record.
24 -> The field names of the check call do not match those of an authorization. Either the authorization or the call is incorrect.
28 ->Incorrect structure for user master record.
32 -> Incorrect structure for user master record.
36 -> Incorrect structure for user master record.
Max
2007 Jul 09 2:42 PM
Hi
Sy-Subrc=0 SUCCESS
Sy-Subrc=4 FAILURE
Sy-subrc=8 INTERNAL ERROR
Check for more:-
http://help.sap.com/saphelp_47x200/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm
Thanks