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: 

Misalignment of text in FTP output

former_member367551
Participant
0 Kudos

Dear experts,

Here's an issue that I have been trying to fix - misalignment of text in FTP output.

Details:-

The data in an internal table, looks like this:-

However, when this data is sent to the FTP server, the output looks like this in a plain text file:-

(Only "text line 4" above is misaligned compared to other rows)

The FM, FTP_R3_TO_SERVER is used for transmitting the data to the FTP server, with the parameter, CHARACTER_MODE = 'X'.

Any ideas on how I can solve this problem?

Any inputs will be much appreciated~

Thanks.

1 ACCEPTED SOLUTION

former_member367551
Participant
0 Kudos

Dear Tomas,

Thanks a lot for your input here, appreciate it.

I found nothing different / outstanding in the "HEX view", but when I checked the text in "HTML view", I found two additional characters which were not seen in the usual "Fast Display" view within the "the quick brown fox jumped over the lazy dog" text:-

​​

I'll try to see if I can fix this....

3 REPLIES 3

Tomas_Buryanek
Active Contributor

How did you get data from internal table to notepad in your first example?

Check the internal table data in debugger in HEX view and see if characters before "text line X" are same on all lines. I guess there will be difference - spaces / tabulators or something else.

-- Tomas --

former_member367551
Participant
0 Kudos

Dear Tomas,

Thanks a lot for your input here, appreciate it.

I found nothing different / outstanding in the "HEX view", but when I checked the text in "HTML view", I found two additional characters which were not seen in the usual "Fast Display" view within the "the quick brown fox jumped over the lazy dog" text:-

​​

I'll try to see if I can fix this....

0 Kudos

The issue is fixed after removing the 'HTML' characters:- ​​