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: 

empty line in downloaded notepad file

syed_ibrahim5
Active Participant
0 Kudos

hi,

i am downloading data to a notepad file....the data is alright...but there is an empty line space between every line in the notepad..how to delete this..pls help me out...

with regards,

syed

1 ACCEPTED SOLUTION

ravi_lanjewar
Contributor
0 Kudos

Hi,

Check internal table containing empty line is there delete it.

Otherwise check for enter character contain in line and delete it.

Rgds

Ravi Lanjewar

4 REPLIES 4

ravi_lanjewar
Contributor
0 Kudos

Hi,

Check internal table containing empty line is there delete it.

Otherwise check for enter character contain in line and delete it.

Rgds

Ravi Lanjewar

jayesh_gupta
Active Participant
0 Kudos

If you are downloading data from a list output, download it to an excel and name it with extension .txt (fielname.txt).

Regards,

Jayesh

Former Member
0 Kudos

Hello,

Suppose your internal table is with below mentioned structure

DATA: BEGIN OF W_TAB,

FIELD1 TYPE CHAR20,

FIELD2 TYPE CHAR20,

END OF W_TAB,

IT_TAB LIKE TABLE OF W_TAB.

while populating the data internal table just check whether the whole work area is not initial.

Code : CHECK W_TAB IS NOT INITIAL.

APPEND W_TAB TO IT_TAB.

Best Regards,

Prasad

syed_ibrahim5
Active Participant
0 Kudos

thanks for the reply.....i found out the mistake....but thanks