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: 

download excel from spool.

former_member841898
Participant
0 Kudos
787

hi experts,

i have a classical report which should be executed in background.

the o/p is coming ok but when from spool i m downloading it to spread sheet each column is shifted towards left.

what is the reason behind this?

the o/p is coming well in spread sheet when executed in foreground mode.

regards

pankaj

1 ACCEPTED SOLUTION

Former Member
0 Kudos
226

I am not an expert at all, but I will give it a try:

what do you mean with downloading the spool? Just going to SP01 and save the list to a local file of the type Spread sheet? If that is the case, then the issue is probably caused by the fact that Excel automatically removes leading spaces! You should download it unconverted to your local file system (txt format), open excel and from within excel you open the file and use the wizard to open it. At the step where you can choose the types of the columns, you should select all columns and let them use type Text. Now the leading spaces should remain!

5 REPLIES 5

Former Member
0 Kudos
227

I am not an expert at all, but I will give it a try:

what do you mean with downloading the spool? Just going to SP01 and save the list to a local file of the type Spread sheet? If that is the case, then the issue is probably caused by the fact that Excel automatically removes leading spaces! You should download it unconverted to your local file system (txt format), open excel and from within excel you open the file and use the wizard to open it. At the step where you can choose the types of the columns, you should select all columns and let them use type Text. Now the leading spaces should remain!

0 Kudos
226

hi sven,

ur idea works.

awarded

regards

pankaj

Former Member
0 Kudos
226

You can have one more option,

1. Download file in the txt format.

2. Open txt file in EXCEL

3. select the first column and select the option 'DATA' ->Text to columns.

4. Format your data.

Thanks,

former_member583013
Active Contributor
0 Kudos
226

You must read table TSP01 and download the table in excel format using GUI_DOWNLOAD...

Greetings,

Blag.

0 Kudos
226

hi sir,

i think fm gui_download can't be used in background

otherwise gor foregroung it is ok.

regards

pankaj