cancel
Showing results for 
Search instead for 
Did you mean: 

File to RFC error

Former Member
0 Kudos

Hello ,

I am working in a file to RFC scenario, where the standalone RFC is working fine but when called from XI its not giving the desired result .. what could be the prob?

Regards

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi ,

Did you get any response from the RFC or not

If not check the CC , MONI and find whats the error .

Also if possible , try to reimport the RFC again.

STOP and RESTART the communication channel

Regards,

B.Jude

Former Member
0 Kudos

Hi,

I Am getting a response from RFC , When I give the same inputs in the RFC it works... But when called through XI i am getting some other output..

I have a select Stmt in my code where i am counting the umber of records. In abap i get the count properly but when called from Xi the Count is shown as 0.

PLease help,

Regards

Former Member
0 Kudos

Hi,

This can be an authorization issue with the user which is used in the communication channel.

Test the RFC by logging on to the system using the same user which you have mentioned in your CC and see if the output coming is as desired.

Regards,

Anshul

Edited by: Anshul Chowdhary on Jul 21, 2009 12:38 PM

Former Member
0 Kudos

Check the user have the role

Y:00Y_SSM_YB40

Rajesh

Edited by: Rajesh on Jul 21, 2009 4:10 PM

Former Member
0 Kudos

Could you please tell me whr can i check this , because when i log in to the system with the same user id and password as that is used in Xi i can view the records.

Former Member
0 Kudos

HI,

If you are getting the required output with the same user then it is not a role issue.

Check the RFC response in moni, in the response message and if it is wrong then i feel u will have to try re-importing your RFC once again in XI.

Regards,

Anshul

Former Member
0 Kudos

Hi

I checked , There is no such role....

regards,

Vinithra

Former Member
0 Kudos

Check with your basis for the same

if you have admin profile then go to su01 and then under profile tabs try to add the same

Rajesh

Former Member
0 Kudos

Hi,

This has to be done in the Xi server or the server from which I am calling the RFC? I checked with my basis team, in our system no such role exist... are u sure this is the same role....

Thanks

Edited by: Vinithra Iyangar on Jul 21, 2009 1:41 PM

Former Member
0 Kudos

Sorry to mislead you its a custom role ,but you need to have some standard role for accesing table remotely not sure may be check the role S_RFC

this role has to added in SAP R/3 not in PI

Rajesh

Edited by: Rajesh on Jul 21, 2009 5:27 PM

Former Member
0 Kudos

Hi,

It can be possible that your RFC is internally calling other modules on which the user does not have access permissions. The response as zero can be the cause for an unhandled exception in the RFC.

As correctly stated by rajesh by assigning S_FRC role to the user it will have access on all RFC's.

The only thing which is confusing is that you have checked the RFC with the same user which you are using in XI communication channel and it has given u the required output !

Regards,

Anshul

Former Member
0 Kudos

Hi,

I checked with my basis team , we cldnt find any roles like s_FRC or s_RFC....

Do u hav an idea what cld be the other authorizations.

Regards,

Vinithra

Former Member
0 Kudos

Hi Vinithra,

S_RFC is one authorization which your user should have to access all RFC's. If its not there then ask your basis guys to assign it to the user.

Warm Regards,

Anshul

Former Member
0 Kudos

Hi Vinithra,

Please check if the user which you are using in the communication channel to connect to the RFC has proper authorizations on the given RFC.

Regards.

Anshul

Former Member
0 Kudos

Iyangar,

As ravi said you need to let where you are getting error.

One thing you should note when you send data to rfc is when you pass numbers lets say the total field length is 10 and you are passing value 678. When you pass from xi you should pass as 0000000678. So try adding leading zeros with format number and see whether it works or not.

Also try to test with the same values whatever you are using for testing your function module directly in se37.

Regards,

---Satish

Former Member
0 Kudos

Hi

put an external break pnt and check what are the values arving to request interface of RFC.

Srini

former_member192295
Active Contributor
0 Kudos

Hi,

I think this is due to some where configuration prolem between PI & R3, check complete confguration once again.

former_member181962
Active Contributor
0 Kudos

Hi Vinithra,

We need more information like, what does the Run Time work bench, message monitor for adapter engine say for the failed message?

1) did you check if the message is passed from XI to R/3?

2) Is your RFC function module being calleed synchronously? If yes, is the response mapped to another structure?

Check this as a reference guide:

https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29

3) Check the adapter status of the RFC receiver in the component monitoring in RWB.

Regards,

Ravi