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?