on 03-07-2016 1:06 PM
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.
And to which C:\tmp of whos computer is this program downloading ?? Cause there are many. Or does your company only has one employee ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
AFAIK it is not possible. Background process has no information / connection of PC attached to a dialog process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.