cancel
Showing results for 
Search instead for 
Did you mean: 

Requirement

Former Member
0 Kudos

Hi all,

what is meant by requirement sy-subrc = 0.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

sy-subrc is a system return code flag. It is used as an error indicator, most of the time when a ABAP object calls a subroutine or a function module, it will check this flag to see if an error condition has occurred while executing the logic in the routine or function module.

sy-subrc = 0 is simply to say that there is no error. If the value is not error, it indicates something is not right.

Frank

Former Member
0 Kudos

Where exacly you are looking out this statement..?

sy subrc = 0 is very common statement used in ABAP.

This means that when the condition is satisfied the value for the sy subrc will be zero always.

based upon this value various conditions will be executed. For more detials you may contact your ABAPer or post the thread in the ABAP technical forum.

Regards,

Vishi...