Skip to Content
0
Former Member
Jan 07, 2008 at 09:19 PM

uccheck error OPEN 001

279 Views

Hi gurus,

I ran UCCHECK on a program and it gave me back this error code

OPEN 001: One of the additions "FOR INPUT", "FOR OUTPUT", "FOR APPENDING", or "FOR UPDATE" was expected.

The error was for this line of code.

OPEN DATASET p_dataset IN TEXT MODE.

IF sy-subrc <> 0.

WRITE: / text-e00, sy-subrc.

STOP.

ENDIF.

ENDFORM.

What i dont understand is... why does it need FOR addition?