cancel
Showing results for 
Search instead for 
Did you mean: 

Background Job downloading to presentation server

Former Member
0 Kudos

Hello to all,

According to my knowledge and research, downloading a file to the presentation server in a program running as a background job is not possible.

I tested with a program and i confirmed this behavior.

However, i've been shown a program (in an other SAP system) that manages to do it. The only difference i can see, is that program always downloads the file to the C:\tmp folder, without exceptions. Is there some configuration done here that enables that particular folder to be visible and available to the application server, hence allowing the download?

PD: The FM done to download in both cases is WS_DOWNLOAD.

Thanks in advance, best regards.

Accepted Solutions (0)

Answers (3)

Answers (3)

PeterJonker
Active Contributor
0 Kudos

And to which C:\tmp of whos computer is this program downloading ?? Cause there are many. Or does your company only has one employee ?

Former Member
0 Kudos

C:\tmp folder of ANY computer that executes the mentioned report.

PeterJonker
Active Contributor
0 Kudos

But the report is a background job therefore NOT executed on any user computer but on the server. Therefore my question which PC.

former_member182550
Active Contributor
0 Kudos

Many moons ago there was a program floating around that could download a file from the background to a pc in the foreground.  On odd occasions I've tried to find it again but I think the references I used were lost in the SapFans crash.

It handled the download using FTP from what I remember and/or an RFC connection.

Former Member
0 Kudos

A long time ago, there was a white paper describing how to do this. I've lost the reference, but if I recall correctly, there was some configuration that had to be done and was not really worth the trouble.

Rob

SimoneMilesi
Active Contributor
0 Kudos

I like these camping fire stories!
Please, grannies, keep tell them us!

former_member182550
Active Contributor
0 Kudos

<clips the young whipper-snapper round the ear>

Grannies?????

former_member182550
Active Contributor
0 Kudos

That's the one.

former_member182550
Active Contributor
0 Kudos

Nice one Rob - That'll teach the young whipper-snapper to doubt us Dinosaurs.....

Rich

Former Member
0 Kudos

On the other hand, it may have passed its "best used by" date.

Rob

michael_kozlowski
Active Contributor
0 Kudos

AFAIK it is not possible. Background process has no information / connection of PC attached to a dialog process.

SimoneMilesi
Active Contributor
0 Kudos

I would like to see the code doing this magic!

Really!

If you run in background, i really doubt you can use WS_DOWNLOAD.

The only, really really really really remote case I can think it could work is SAP running on Windows System so for pure random case, it saves data ALSO on PC folder.

But i still do not think it's possible.

Former Member
0 Kudos

Just what i thought.

The other thing about this program that does it, is that it is a job, and the part in which the download is done is made with a submit to another program, Is there's a possibility in which this program called with submit is being executed up-front and not in job mode?