2008 Dec 15 6:35 PM
My user is complaining that she getting system message .
I have checked the z-program and system message is coming because in the Z-program code... the internal table became emtpy ...
so at the loop stmt..sy-subrc is becoming 4.
LOOP at internal table.
ENDLOOP.
then next immediately there is one more if condition in the program which is false
say IF 'V' = 'F'.
ENDIF.
here also sysubrc is 4. so the next program execution goes to below condition and giving system error.
IF sy-subrc <> 0.
MESSAGE s899(m3) WITH 'Invalid ZXXX table Configuration'(m09).
ENDIF.
What I need to do now ? Do I need to remove the above codition ?
I am just confussed.
2008 Dec 15 6:41 PM
Information given here is not much. please paste your code that may help to give better replies
a®s
Information given here is not much. please paste your code that may help to give better replies
a®s
2008 Dec 15 6:41 PM
Information given here is not much. please paste your code that may help to give better replies
a®s
2008 Dec 15 6:47 PM
The IF does not reset sy-subrc. It is retaining the value from the empty LOOP.
Rob
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |