Hi all,
In the below code I am not able to see the characters from 500 onwards in output file. What might be the reaon?
PARAMETERS:P_OUTPUT type rsfillst-dirname
DEFAULT TEXT-001 lower case.
data:vtext(900) type c.
start-of-selection.
vtext+0(5) = 'abcde'.
vtext+100(5) = '1bcde'.
vtext+200(5) = '2bcde'.
vtext+300(5) = '3bcde'.
vtext+400(5) = '4bcde'.
vtext+700(5) = '7bcde'.
vtext+895(5) = '9bcde'.
OPEN DATASET P_OUTPUT FOR OUTPUT in text mode encoding default.
TRANSFER vtext TO P_OUTPUT.
CLOSE DATASET P_OUTPUT.
IF SY-SUBRC = 0.
WRITE:/ 'ok'.
ELSE.
WRITE:/ 'FAIL'.
ENDIF.
-
I can see only characters till '4bcde' in output file.
Please help.
Thanks,
Subba