Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RFC server sapftp cannot be started - 1: Program no longer started via RFC. No return possi

former_member206403
Active Contributor
0 Kudos

hi folks

we have developed an upload program using standard function modules to upload data into sap archive link ( content sever) for employee documents , when we run the program in front end mode , it works, but in background mode we get the below error

RFC server sapftp cannot be started - 1: Program no longer started via RFC. No return possi



We are using the function module ARCHIV_CREATE_FILE . and then rest of the function modules.



Regards

sameer.

14 REPLIES 14

Former Member
0 Kudos

Hi Sameer

Please check that both the RFC destinations : SAPFTP and SAPFTPA are working fine in your systems. I assume SAPFTP is fine as you are using it in your front end.

Also for the background run - can you please use SAPFTPA and let us know the output.

Thanks

Rishi

Former Member
0 Kudos

Also if the destinations are not working , you can create them via the standard report : RSFTP005

Thanks

Rishi

0 Kudos

hi

my basis person says both of the RFC are working.

Regards

sameer

0 Kudos

any changes to be made to the rfcs?

0 Kudos

Hi Sameer,

I guress the error is getting from the  FM ARCHIVOBJECT_RFCINFO_SEND which is used in  ARCHIV_CREATE_FILE.


Can you check the below communication settings in toaar table


   select * from toaar
     into table i_toaar
     where rfc = 'X' and version gt '0021'. "#EC PORTABLE

   loop at i_toaar.
     call function 'SCMS_RFC_INFO_SEND'
       exporting
         arc_id       = i_toaar-archiv_id
       exceptions
         error_kernel = 1
         error_archiv = 2
         error_config = 3
         others       = 4.


Rg,Kiran

0 Kudos

ok trying , let me get back to you

0 Kudos

hi

in the table against my content repository , the RFC column is blank.

should i but X there?

Regards

Sameer

0 Kudos

Can yo try by putting 'X'.

0 Kudos

hi

we did that , it the FM returns customizing error. error_config = 3

Regards

sameer

0 Kudos

Hi Sameer

Did you try using SAPFTPA in the background run ?

Thanks

Rishi

0 Kudos

hi

this rfc is connecting ok when we check it in the sm59.

Regards

sameer

0 Kudos

Thanks Sameer - for informing that the RFC destinations themselves are fine ..

Is there an option for you to use SAPFTPA in the background ?

Thanks

Rishi

0 Kudos

Can any one suggest how to use it in background.

0 Kudos

Hi Sameer

Actually SAPFTP runs in the client and SAPFTPA in the Application server. When you run a background process , it runs in the application server and hence SAPFTP will give a problem when you use it in the background.

Please see the following link - should be helpful to solve your issue.

Thanks

Rishi