In one program the Following statement was used. Regarding RFC. After this statement sy-subrc is 1.
Can any one help me out in this ?
CALL FUNCTION 'RFC_REMOTE_PIPE' DESTINATION 'SERVER_EXEC'
COMMAND = I_FILENAME
READ = 'X'
PIPEDATA = TABL
OTHERS = 1.
Go to that RFC function module in other system from where exactly you are trying to get the data and see the exceptions where it has been raised in the function module.
Hope you will come to know the error.
Give the same parameters as input to the function module in the destination system and go for the debugging you will come to know the exact reason for sy-subrc = 1.