Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

XML record to Xi from R3

Former Member
0 Kudos

Hi Guys,

If i dont want to use IDOCS and PROXY and applicatoin server, what is the other way i can send data to Xi from R3 ? Also let me know what type of connection setup is required if there is any other means.

Thank You!

6 REPLIES 6

Former Member
0 Kudos

Hi,

If your XI and r/3 servers are in the same landscape then you can create the ARFC or TRFC or RFC port and pass the data from R/3 to XI, we are currently using the TRFC port in our case for passing the data from R/3 to XI and it is working good for us.

First you need to define and RFC destination and that has to be given in the port definition.

Thanks,

Mahesh.

0 Kudos

so, i have to create:

1. rfc destination (r/3 connections) in sm59

2. create a trfc port in we21

3. then after that how do i link my program to this port / rfc destination?

0 Kudos

Hi,

After doing the first 2 steps, then you are going to put your port and the function module in the partner profile. Then your code will know which RFC destination it has to use.

What ever you are doing in the first 2 steps then independent and they are dependent indirectly and that combination is going to maintained in the partner profile(WE20) transaction.

I hope I am clear now.

Thanks,

Mahesh.

0 Kudos

but if i go to we20, i have to provide the message type and basic type. i dont want to use idocs.

is there anything else that we do in we20 if we dont want to use idocs ?

0 Kudos

Hi,

You are correct in WE20 transaction is used only incase of IDOC related concept only.

I believe you have a standard function module to write the file in a particular directory and you can use your RFC destination what ever you have created in the SM59 as an input to that function module.

Thanks,

Mahesh.

0 Kudos

Hi,

Try using the function module C1SVC_RFC_FILE_PUT to put the file in a particular remote directory.

I hope this should solve your purpose, you need to give the logical destination, file name and file content as inputs to the function module.

Thanks,

Mahesh.