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: 

CALL FUNCTION 'RFC_REMOTE_PIPE' throwin exception ''1''

Former Member
0 Kudos

Hi Sapients,

I am using CALL FUNCTION 'RFC_REMOTE_PIPE' to rename a file at the UNIX level..Though this runs well... sometimes this is giving an exception as ''1'' (System Failure).. if we execute the same after 3 or 4 hours this RFC is again successfully executed...Can anyone throw some light on why this is happening and how we can avoid the same.

CALL FUNCTION 'RFC_REMOTE_PIPE'

DESTINATION 'SERVER_EXEC'

EXPORTING

COMMAND = l_command

READ = c_yes

EXCEPTIONS

system_failure = 1

communication_failure = 2

OTHERS = 3.

where the l_command is mv old_file_name New_file_name

and C_yes is X

<promise removed by moderator>

Edited by: Thomas Zloch on Mar 16, 2011 1:00 PM

2 REPLIES 2

philippe_flacard
Discoverer
0 Kudos

Hi,

Maybe my answer comes too late.

Could be helpful for others anyway.

We got the same trouble and it was due to the RFCEXEC.SEC file.

Installing the SDK7.20 the RFCEXEC files were missing and old RFCEXEC.SEC was not in the same format...

Please look also to OSS notes #1592501 and #1581595

Thanks

//Philippe.

0 Kudos

Hello,

did you have added all of your commands with user, client to the rfcexec.sec file? I think its not possible in our environment. Or is it possible to use wildcards in the meantime?

best regards

Bernd