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: 

Extra empty line is added in the file at application layer.

Former Member
0 Kudos
158

Hello All........

While uploading the file to application layer, At last of the file an empty line is been added to the file.

Please let me know how to avoide this.

Is there any server settings need to be done at unix level to supress this feature of getting extra empty line.

Thanks in advance..........

6 REPLIES 6

amit_khare
Active Contributor
0 Kudos
139

Check the loop you are using to download the data.

0 Kudos
139

The loop is correct... no problem.. at the application layer file it self i am seeing a balck line extra...

Former Member
0 Kudos
139

Are you populating a carriage return after populating the data of each line ? If yes, then dont do that for the last line.

regards,

Advait

0 Kudos
139

What is this carriage return ????

Former Member
0 Kudos
139

before the transfer statement use the below statement.

If wa_data is not initial.

TRANSFER WA_DATA.

endif.

Former Member
0 Kudos
139

It is adjust at unit server level.. so if we place a file in application layer, now the empty extra line is not been added to file....