2008 May 19 11:48 AM
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
2008 May 19 11:54 AM
Hi,
you cant see in outputfile from 500 charatcter in the applicaton server file.
read the file into a internal table into u can find the values.
try to read the same file data. it will clear you doubt.
Regards,
Sriram
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
2008 May 19 11:54 AM
Hi,
you cant see in outputfile from 500 charatcter in the applicaton server file.
read the file into a internal table into u can find the values.
try to read the same file data. it will clear you doubt.
Regards,
Sriram
2008 May 19 12:00 PM
hi,
File is getting downloaded fully and it is getting viewed for only upto 500 characters ...Download the file on to presention server to view the entire file.. Follow the below path to download on to local file system->list->save ->local file
Regards,
Santosh
2008 May 19 12:07 PM
Hi,
You can view upto 512 character in the output.
Check out the PROGRAM statement of Program PROGRAM rswatch0 (Transaction AL11).
PROGRAM rswatch0 MESSAGE-ID s1 NO STANDARD PAGE HEADING LINE-SIZE 512.
Thats the reason why u can see more that 512 characters.
You can download the data to ur internal table and check that data is still there.
Reward points if helpful.
2008 May 19 1:58 PM
Hi all,
Even I tried downloading the text file to desktop. But still cannot see the entire line of 900 chars. My requirement is I need to extract data fro SAP and store it in file on appln server. The output file format line contains 900 chars each.
Please hlp.
thanks,
subba
2008 May 20 9:17 PM
2008 May 20 9:17 PM