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

Problem when Generating a PDF , from a SPOOL

Former Member
0 Likes
666

Hi,

I'm using the Standard report RSTXPDFT4 to generate data from a spool to a .pdf file.

When the program runs online the data is generated correctly, but, when the data has more then 99 pages, it runs in background, give me the return that the PDF was produced correctly but i can't find where.

I used the path C:\file.pdf but since the server is UNIX, it has got none "C:" Directory.

Then i tried to use /usr/sap/trans/tmp , but the program don't find this path.

Does anyone know how to solve this problem?

Thanks and regards.

3 REPLIES 3
Read only

Former Member
0 Likes
542

Hi Felipe,

The program RSTXPDFT4 uses FM GUI_DOWNLOAD to download the file so you can't download a file on application server using this program.

Better give a path on your local machine so that it can download there.

Reward points if useful.

Regards,

Atish

Read only

0 Likes
542

Atish,

I have downloaded the file with a path on my computer but I need to run this program on background, because there is too much data to be processed.

When i make it on background it returns me a new spool, with the data converted into PDF, but i still don't know how to download this data as a pdf file ( I could only make it as .txt).

Thanks for your atention.

Read only

Former Member
0 Likes
542

see ...

go to your desktop <b>create one pdf file empty see rightclick the file and see the properties of the file ... there the path of the file</b> will be there .. copy and paste it in the RSTXPDFT4 file path .

just give the file path as your desktop and do background ... so that the spool will be downloaded into your desktop with the file name

i think problem is the file path ..... see the properties of the files in your desktop

Girish