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: 
SAP Community Downtime Scheduled for This Weekend

RFC Error

Former Member
0 Kudos
224

Hi ,

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'

EXPORTING

COMMAND = I_FILENAME

READ = 'X'

TABLES

PIPEDATA = TABL

EXCEPTIONS

OTHERS = 1.

Regards,

Satya.

3 REPLIES 3

Former Member
0 Kudos
88

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.

Regards,

madan.

0 Kudos
88

Hi ,

How can we see the destination ? In which server the Function Module was ther ? Because it is SAP Standard RFC Function Module. I saw in SM 59 with destination name , it is correct ?

But where can we open this function module ?

Thank and Regards,

Satya.

0 Kudos
88

Hi,

Please go through the note 9391, and

reward is it helps.

regards,

mahantesh