Skip to Content
0
Former Member
Mar 16, 2011 at 07:09 AM

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

617 Views

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