cancel
Showing results for 
Search instead for 
Did you mean: 

RFC - XI - RFC

Former Member
0 Kudos

Hi all

We have two SAP system connect by XI by rfc (sender , receiver). The Sender Adapter is correctly configured in XI with a program ID, and from the R3 sender system we can see it.

In the R3 receiver system we have Z_BAPI_RECEIVER and we want to call it from R3 SENDER this BAPI.

This Z_BAPI_RECEIVER must be defined in R3 sender system??

In XI we imported Z_BAPI_RECEIVER and we did not map because is the same namespace. It seems everything is OK.

thanks

Ger

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi Ger,

>This Z_BAPI_RECEIVER must be defined in R3 sender system??

No, i dont think so, but then the meta data connection must point to the receiver system! The sender adpater needs as well the metadata.

What happens, if you try to execute?

CALL FUNCTION 'MYFUNCTION'

DESTIONATION 'XI'

...

Regards,

Udo

Former Member
0 Kudos

Hello again

I have got an error in jco. It can not find the BAPI we are trying to call.

If I have the bapi in the R3 system it works.

regards

Ger

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

really i cant undestand what you are traying to do. if you connect to diferent R3 systems, you must have the sender_bapi in sender system and the receiver_bapi in your target system.

if you dont have for example the receiver_bapi, how do you import it from ir?

also you must define 2 communication chanel, one for sendewr, one for receiver

Rgds

Rodrigo

Edited by: Rodrigo Pertierra on Feb 5, 2008 11:40 AM

nisarkhan_n
Active Contributor
0 Kudos

Make sure you have done the following steps

first check the BAPI are remote enabled? if yes then proceed in the IR to import the sender and receiver bapis.....and rest follow the normal steps in the IR and ID.....

Follow these blogs

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC

Just go through below weblog for more detail:

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

just do the opposite for the RFC sender seeing the file to RFC

in the RFC sender only the RFC sender adapter needs to be created...

Former Member
0 Kudos

As I know without XI you can call R3 remote function without import the remote function in the sender call R3 system.

R3 -- R3, with a RFC type R3

Now with XI I want to do the same but RFC type TCP/IP. I imported from the R3 receiver system to XI the BAPI I want to call. But I do not want to create a dummy BAPI in the sender R3 system to call the receiver R3 BAPI.

It is easy

Sorry about my english.

regards

ger

Answers (2)

Answers (2)

nisarkhan_n
Active Contributor
0 Kudos

Identify RFC sender from sender system and RFC receiver from Receiver R/3 System....and import these two into XI and then procceed with resent of the things

RFCsender->Sender Adapter->XI--->RFC receiver adapterRFC receiver

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

in your sender system you must have Z_BAPI_SENDER

and in your receiver system you must have Z_BAPI RECEIVER.

you dont call the any bapi from sender system, PI does it.

Sender system comunicate to PI

PI comunicate to receiver system.

Both R3 system dont know how is the sender o receiver system, only PI knows

hope it clear.

Thanks

Rodrigo