01-05-2014 2:57 AM
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.
01-05-2014 4:59 AM
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
01-05-2014 5:00 AM
Also if the destinations are not working , you can create them via the standard report : RSFTP005
Thanks
Rishi
01-05-2014 5:13 AM
01-05-2014 5:19 AM
01-05-2014 5:57 AM
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
01-05-2014 6:02 AM
01-05-2014 6:10 AM
hi
in the table against my content repository , the RFC column is blank.
should i but X there?
Regards
Sameer
01-05-2014 6:31 AM
01-05-2014 6:42 AM
hi
we did that , it the FM returns customizing error. error_config = 3
Regards
sameer
01-05-2014 11:18 AM
Hi Sameer
Did you try using SAPFTPA in the background run ?
Thanks
Rishi
01-05-2014 1:25 PM
hi
this rfc is connecting ok when we check it in the sm59.
Regards
sameer
01-06-2014 1:30 AM
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
01-06-2014 2:11 AM
01-06-2014 2:45 AM
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