Skip to Content
author's profile photo Former Member
Former Member

Background scheduling of FTP Connection through R/3

Hello Friends,

I have done FTP connection by using Z-pgm which uses function FTP_CONNECT. This is working fine in Foreground mode.

But in background scheduling of the z-pgm, i am getting the <b>error as 'RFC to program SAPFTP failed'.</b>

I checked RFC destination SAPFTP in SM59. There Activation type is 'Start on Front End Work Station'. I tested the connection also. Its alright.

How to do FTP processing in Background?

Cheers,

Seema

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2006 at 01:17 PM

    Seema,

    Try with activation type 'Registered Server Program' in SM59.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2006 at 02:15 PM

    Are you trying to FTP a file from your PC to appserver using the FTP program in the background?

    I think it has the limitation as GUI_UPLOAD cannot be used to upload a file in the background.

    Regards

    Sridhar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2006 at 02:19 PM

    Hello,

    you could try to use RFC destination 'SAPFTPA' - it's ftp on the application server. Since SAPFTP is 'Start on Front End Work Station' and in background there is no front end work station, it can't work.

    Regards Wolfgang

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.