cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Lookup is not working

Former Member
0 Kudos

Hi Experts,

I have a RFC Lookup in my interface and we are calling a BAPI at to update some table at SAP side. But any how updating to table is not taking place. I have checked the channel in RWB and its green. I have started and stopped the channel. We have restarted the Java stack. Channel log is showing the xml for each call to RFC. We have checked the code at SAP, its working fine. Please provide some suggestion..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

We are running on PI 7.1 EHP 1

nabendu_sen
Active Contributor
0 Kudos

Hi Abhijit,

I have faced the same issue before. Not sure but please check the Return Type of you BAPI.

RFC Channel supports only "RETURN of type BAPIRETURN, BAPIRET1 or BAPIRET2", other than this may not show any error in CC Monitoring but does not perform any action at SAP side.

Former Member
0 Kudos

Hi Nabendu,

I just checked and find that Return type is different that what you mentioned. Thanks a lot, really did not find any clue after lof of debugging.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Nabendu,

SAP team has already defined the BAPI and other systems are using it. So right now it is not possible to change the BAPI. Can you please let me know how can I achieve this, this RFC lookup from SAP PI? Thanks in advance.

nabendu_sen
Active Contributor
0 Kudos

Hi Abhijit,

You can go for SOAP Lookup from your Message Mapping UDF. You need to publish your BAPI/Function Module as Webservice and consume that in PI. Then you need to perform SOAP Looup from UDF.

Please find the below blogs:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0a53caf-bf0e-2e10-45b9-ba5a63eb8...

To know more about SOAP Lookup:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2006/11/20/webservice-calls-from-a-user-defi...

Former Member
0 Kudos

Thanks Nabendu, I will try and let you know for any more issues.