Skip to Content
0
Former Member
Oct 17, 2006 at 03:23 AM

open dataset dump.

16 Views

hi guys,

I am getting OPEN DATASET SHORTDUMP using below code.

can somebody suggest me alteration of code..

Dump says error in READ statement.

DATA : BEGIN OF IT_EDIT OCCURS 0,

CNO(5) TYPE C,

DATE(8) TYPE C,

VENDOR(10) TYPE C,

MATERIAL(18) TYPE C,

STARTDT(8) TYPE C,

ENDDT(8) TYPE C,

QUANTITY(13) TYPE N,

END OF IT_EDIT.

OPEN DATASET P_INFILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.

DO.

IF NOT SY-SUBRC IS INITIAL.

EXIT.

ELSE.

<b> READ DATASET P_OUFILE INTO IT_EDIT.</b>

APPEND IT_EDIT.

ENDIF.

ENDDO.

CLOSE DATASET P_OUFILE.

Regards

Chandra.