Skip to Content
0
Former Member
Jul 12, 2007 at 01:28 PM

how to write read dataset statement in unicode

401 Views

Hi All,

I am writing the program using open dataset concept .

i am using follwing code.

PERFORM FILE_OPEN_INPUT USING P_P_IFIL.

READ DATASET P_P_IFIL INTO V_WA.

IF SY-SUBRC <> 0.

V_ABORT = C_X.

WRITE: / TEXT-108.

PERFORM CLOSE_FILE USING P_P_IFIL.

ELSE.

V_HEADER_CT = V_HEADER_CT + 1.

ENDIF.

Read dataset will work for normal code.

when it comes to unicode it is going to dump.

Please can u tell the solution how to write read dataset in unicode.

Very urget.

Regards

Venu