Application Development and Automation 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: 
Read only

Split line in File posted

Former Member
0 Likes
813

Hi

I am facing rather a unique problem. I have a report that generates a file and posts it on the application server. When i open the file at the application server it shows me line split ( I mean a new line is introduced in the middle of a row).

On further investigation I observed that the field after which it split contains a # symbol. Now many files posted on the server contains # but this problem is not observed in any of those files.

I tried replicating this on quality and dev by adding # at run time in debug mode but the file posted is perfectly fine.

Please share your thoughts on this.

Preethi

Hi

I am facing rather a unique problem. I have a report that generates a file and posts it on the application server. When i open the file at the application server it shows me line split ( I mean a new line is introduced in the middle of a row).

On further investigation I observed that the field after which it split contains a # symbol. Now many files posted on the server contains # but this problem is not observed in any of those files.

I tried replicating this on quality and dev by adding # at run time in debug mode but the file posted is perfectly fine.

Please share your thoughts on this.

Preethi

3 REPLIES 3
Read only

Former Member
0 Likes
694

Hi Preethi,

Please check the program which is downloading the file on application server.

The program may have a logic to add new line using cl_abap_char_utilities=>New_line in the row.

Check your program for above method & remove it from the program if its not required.

Thanks,

Best regards,

Prashant

Read only

Former Member
0 Likes
694

I am facing the same problem , can anybody help me in replicating problem on quality.

problem exist on production but not on quality

Read only

Former Member
0 Likes
694

Hi Preethi,

If you see the file on application server in AL11 instaed of sapce you can see there as #.

So in AL11 use MENU as

LIST--->SAVE/SEND-->FILE and select the file format (Txt,exce,.........etc)

See in the downloaded file wheather you are getting and #.

Regards,

Pravin