cancel
Showing results for 
Search instead for 
Did you mean: 

RFC

Former Member
0 Kudos

what is RFC Destination for IDOC - xi - file? what is Port? why you

load metadata for it, once you have idoc already?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

RFC Destination is required for XI to send the IDOC to respective SAP system. while configuring RFC Destination you will give the SAP client information (i.e. Dev100,DEv200 etc..), Target host, ip address,System number, Logon information etc...This will be used while sending the IDOC to SAP.Basically your Basis team will help you in this or ABAP resource can do.

PORT is configured in XI to route the idoc to SAP using the RFC Destination. here you will give port name which usually starts with SAPand follows with system ID e.g. SAP01, SAP02 etc... Client number, and RFC destination name which is configured in SAP.

Loading of Metadata is not required always. when you import idoc structure from SAP it will be stored as metadata in memory. sometimes you may need to import idoc again due to some changes done in IDOC at that point of time it is recommended to reload the metadata so that the new structure is stored in the memory.sometimes XI will not load the metadata automatically so it is good to check that and load it manually.

Regards,

Karan.

Answers (5)

Answers (5)

Former Member
0 Kudos

hi ruchitha

RFC destination:

<b>for your R/3 system XI will be RFC destination TCode SM59

for your XI System R/3 will be RFC destination TCode SM59</b>

so make all the configaration for Idoc to File.

check connection also :

<b>go to RFC Destination in R/3 system then go to remote login test themn it will send you on XI main page, this will check ur connection test</b>.

if you loaded the matadata <b>no need to set it again just go to WE19 and trigger your Idoc.</b>

hope this will help

regards

HONEY

Former Member
0 Kudos

Hi

<b>why you load metadata for it, once you have idoc already? </b>

When an IDoc is sent from the SAP backend system to XI, XI will first check to see if the meta data for the IDoc is already in its persistent cache. If not, then XI will use the

configuration in IDX1 to retrieve the IDoc meta data from the backend system. If the

meta is already in cache, then it will NOT do so. Therefore, when an IDoc has changed,

it is necessary to manually update the new meta data on XI, or delete it from the cache, so that the latest version can be retrieved. IDX2 is used for this purpose.

<b>Port</b>

In programming, a port (noun) is a "logical connection place" and specifically, using the Internet's protocol, TCP/IP, the way a client program specifies a particular server program on a computer in a network.

When a service (server program) initially is started, it is said to bind to its designated port number. As any client program wants to use that server, it also must request to bind to the designated port number.

Thanks

Former Member
0 Kudos

HI,

a) RFC destination is nothing but Remote Function Call which we create to send the IDOC to other SAP system. To create RFC in SAP we run the transaction called "SM59" here u can create and test the RFC connection.

b) And when u send the IDOC from one SAP system to other, in the process you need to define the port.

c) Metadata defines the structure of the Idoc

For more help kindly follow the following links:

http://help.sap.com/saphelp_nw04/helpdata/en/8a/b8b13bb3ace769e10000000a11402f/frameset.htm

Reward with ponits if helpful

Regards

Sai Ganesh

aashish_sinha
Active Contributor
0 Kudos

HI,

To add to sachin's point , configure it like this..

RFC destination:

1. To create the RFC go to TCODE: SM59

2. Create new destination of type T (TCP/IP)

3. Make sure you select Registered Server Program option before writing your program ID

4. Write you program ID (remember it's case-sensitive)

5. In the gateway host and gateway service write the values of your "Application system" - business system (not the XI server)

for more info check out this blog /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

regards

Aashish Sinha

PS : reward points if helpful

former_member184619
Active Contributor
0 Kudos

Hi Ruchitha,

Check this for all your dobuts

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6f...

RFC Destination :- the receiver system which is going to receive data is maintained here.

Port - the pipeline through which tha data flow.

metadata upload is required when there is change in idoc type. else it is loaded automatically.

You only import structure of IDOC in IR.

Sachin

Message was edited by:

Sachin Dhingra