‎2007 Jan 18 1:46 PM
Hi, this is magesh.
when i am trying to down load data in to text file using Transfer statement , i can not able to transfer space in the end of every line. when opening text file SPACES are terminated.
i would appreciate if you can give me an idea for SPACE delimiter for text file
example
OPEN DATASET '//tmp/ascii'
FOR OUTPUT IN BINARY MODE .
IF SY-SUBRC NE 0.
MESSAGE S999(ZS) WITH 'Unable to open output file'.
STOP.
ENDIF.
WA_FILEOUTJ47 = '1234567890 '.
TRANSFER WA_FILEOUTJ47 TO '//tmp/ascii'.
close dataset '//tmp/ascii'.
WRITE 'DONE'.
‎2007 Jan 18 1:52 PM