Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Characters missing in output file?

vsubbakrishna
Participant
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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

0 Kudos

PROBLEM SOLVED...POINTS ASSIGNED...

vsubbakrishna
Participant
0 Kudos

POINTS ASSIGNED.