08-03-2006 6:36 PM
Hi,
I am trying to download from internal table to application error.
in my open data set i am getting an syntax error.
error - in text mode the encoding addition must be specified.
below is part of my code.
START-OF-SELECTION.
SELECT lifnr
name1
land1 FROM lfa1 INTO TABLE i_lfa1.
Open the file
OPEN DATASET v_file FOR OUTPUT IN TEXT MODE.
CHECK sy-subrc EQ 0.
LOOP AT i_lfa1.
TRANSFER i_lfa1 TO v_file.
CLEAR : i_lfa1.
ENDLOOP.
Thanks in advance,
Shejal.
08-03-2006 6:37 PM
08-03-2006 6:37 PM
08-03-2006 6:39 PM
hi shejal,
in unicode system u need to specify ENCODING DEFAULT.
OPEN DATASET v_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
08-03-2006 6:42 PM
Thanks Priya and Rich.
The problem is solved.
Thanks once again.
Shejal Setty.