cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Adapter settungs details

Former Member
0 Kudos

Hi Experts,

I wish to use an RFC adapter to transfer data from r3 to XI . What all settings are needed apart from SM59. How will the remote Function Module connect to the RFC connection , and will I be needing to craete PORT, Partner Profiles, Dis Model, Driver prog ram to load the Remote Function Module ,,,,,pls provide detaiks settings needed in both R3 and XI!!

Thanks to all in advance!!

Arnab

Accepted Solutions (1)

Accepted Solutions (1)

former_member192295
Active Contributor
0 Kudos

Hi,

Follow below steps it is enough to communicate with XI

1. Create function module and enable option remote enable, so that we can call from XI system

2. Create Logical system and RFC destination in R3 system

3. Crate RFC destination in XI system

4. Import RFC function from R3 to xi in IR window

according to your requirement take communication channel and give parameters, and activate it. It will work

Former Member
0 Kudos

Nallam,

your answer seems to be far more satisfactory...now my concern is ...is that OK....I, mean to say, there has to be a program in se38 that will run the remote function call. This remote function call will populate some internal table and send the data out through Exports parameter or normal internal tables, coeded within the source code.

Is my understanding OK??

Again the RFC connection that i gave made,,,,,with respect to that , will i be needing any activities in SMGW etc in XI Abap stack,??

Expecting your comments!!

Arnab !!

former_member192295
Active Contributor
0 Kudos

Hi,

No need any program to execute it will execute automatically once u call from R3, why because whenever u active remote enable option all program will active internally no need to active again. In function window table tab declare all internal tables, import tab declare all fields which fields ur importing form out side and export tab declare which values ur exporting from function after execution. In source code tab use import,export, table parameters and develop logic according your requirement.

Once function receive value from out side through import parameters, it will reach to program automatically, after that program result will export to outside through export parameters.

I hope now clear.

Former Member
0 Kudos

Nallam,

thanks a lot...added you in yahoo chat . Pls accept invitation. Can you send me some Technical Specs where you have used RFC s .

former_member192295
Active Contributor
0 Kudos

Hi,

Welcome, i will add

Answers (5)

Answers (5)

Former Member
0 Kudos

hi

refer this

Steps for ALE settings:-

Steps for XI

Step 1)

Goto SM59.

Create new RFC destination of type 3(Abap connection).

Give a suitable name and description.

Give the Ip address of the R3 system.

Give the system number.

Give the gateway host name and gateway service (3300 + system number).

Go to the logon security tab.

Give the lang, client, username and password.

Test connection and remote logon.

Step 2)

Goto IDX1.

Create a new port.

Give the port name.

Give the client number for the R3 system.

Select the created Rfc Destination.

Step 3)

Goto IDX2

Create a new Meta data.

Give the Idoc type.

Select the created port.

Steps for R3.

Step 1)

Goto SM59.

Create new RFC destination of type 3(Abap connection).

Give a suitable name and description.

Give the Ip address of the XI system.

Give the system number.

Give the gateway host name and gateway service (3300 + system number).

Go to the logon security tab.

Give the lang, client, username and password.

Test connection and remote logon.

Step 2)

Goto WE21.

Create a port under transactional RFC.(R3->XI)

Designate the RFC destination created in prev step.

Step 3)

Goto SALE.

Basic settings->Logical Systems->Define logical system.

Create two logical systems(one for XI and the other for R3)

Basic settings->Logical Systems->Assign logical system.

Assign the R3 logical system to respective client.

Step 4)

Goto WE20.

Partner type LS.

Create two partner profile(one for XI the other for R3).

Give the outbound or inbound message type based on the direction.

Step 5)

Goto WE19

Give the basic type and execute.

fill in the required fields.

Goto IDOC->edit control records.

Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)

Click outbound processing.

Step 6)

Go to SM58

if there are any messages then there is some error in execution.

Goto WE02.

Check the status of the IDOC.

Goto WE47.

TO decode the status code.

Step 7)

Not mandatory.

Goto BD64.

Click on Create model view.

Add message type.

BD87 to check the status of IDOC.

In case if not authorized then go to the target system and check in SU53, see for the missing object

and assign it to the user.

SAP r3

sm59(status check)(no message)

WE02(status check)

WE05(status check)

BD87(status check)

Xi

IDx5(Idoc check)

SU53(authorization check)

thanks and regards

Praveen Kalwa

Former Member
0 Kudos

Hi,

For Complete guide:

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&

Thanks,

Boopathi

Former Member
0 Kudos

Hi Arnab,

For Synchronous RFC just import the RFC into XI namespace.

For asynchronous RFC creation and importing please follow this discussion. Very useful:

Specially reply by Udo Martens.

Also for sender RFC, check two things.

1) First step is Register your ProgramId using activating the communication channel. You should be able to see it in smgw(R/3)

smgw->Goto->Logged on Clients(Check it here). The program-id name should be unique. i.e. should not be registered before.

2) Then use this registered programid in your RFC Destination(it is Case-Sensitive).

Regards

hemant_chahal
Contributor
0 Kudos

`Hi

You have to just click one option in the function module i.e. "remote enabled" in R3.

In XI you have to create a technical system for that R3 and assign a business stystem to that in SLD.

Create rfc destination,Partener profile and port in SM59 ,WE30 and WE31

Now you have to create a namespace in XI and click Import objects option.

and then you can import the RFC from the R3 server you added.

and can continue with IR and ID.

thanks

hemant

Former Member
0 Kudos

Hemant..as per your anser, in case of we30, we put Idoc type and in we31, the segment. In case opf an RFC there is no application of we30 and we31. Moreover in partner profile we have the option to assign meggege type, basic type, but in cas eof an RFC, how to do the same???

hemant_chahal
Contributor
0 Kudos

Oh it was my mistake the transactions are WE20 and WE21.

You have to assign a bussiness system to XI it wud be same for both IDOC and RFC.

Create a port of TCP/IP type.

If you find any difficulty let me know

The guide provided by Bhoopathi is more than enough.

Please follow the same

Edited by: Hemant on Aug 28, 2008 12:40 PM

Former Member
0 Kudos

Hemant,

I have gone through teh Bhupatis Doc, I hav already worked on a IDOC senerio before. I agree with the creation of transaction we21 [ port creation ], but what do we do in partner profile?? I hope you will agree, mine is a RFC adapter, so unlike IDOCS, I cannot find any place in OUTBOUND PARAMETERS in partner profile where I can assign the Remote Function Module name to which I can assign the remote fuction call name [ that appears in the next screen in the OUTBOUND OPTIONS tab. , as we do in case of IDOCS,

your Comments awaited.!!

Former Member
0 Kudos

There are well defined Blogs in SDN describing the step by step process for this scenario, please make a search.