‎2015 May 13 12:55 PM
Hi everybody,
I have to checkout a bunch of document attachments to the application server in background. Checking out to the client is easy, but I don't know how I have to trigger the FM to get the files onto the application server. Using PF_FTP_DEST = 'SAPFTPA' does work, but the admin told me, that this wants to connect to the SAPGUI, which is not possible in background.
Kind Regards
Ralf
‎2015 May 13 6:29 PM
Hi Ralf,
I think, if you want to read files from application server(out of SAP server) you can to use FTP, check if application server have FTP Protocol ON.
Check RSFTP007 programm and be sure that use of FM HTTP_SCRAMBLE.
Regards,
‎2015 May 15 11:32 AM
I don't want to read files from application server, I want to WRITE (=checkout) them TO the application server.
‎2016 Jun 27 8:34 PM
Hi, Ralf
I too want to checkout files from DMS and write them to the application server. Did you ever find a way to do that?
Regards,
Harry
‎2016 Jun 29 8:47 AM
I did, but I can not tell you the solution, because I do not have access to this system anymore. I copied the FM, I remember, to extend the FM-interface:
EXPORTING
(....)
" In Background: RFC-Destination
pf_ftp_dest = SWITCH rfcdest( sy-batch WHEN space THEN space ELSE 'SAPFTPA' )
pf_content_provide = 'SRV'
IMPORTING
(....)
‎2016 Jun 29 1:39 PM
Thanks for the quick reply. That's really all the information I needed.