Application Development and Automation 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: 
Read only

RFC function module

Former Member
0 Likes
688

Hi All!

I have to do a outbound interface to a XI system for Purchase order schedule agreement data.Now i am supposed to use a RFC call to the XI system.

I have no idea on this topic any body can help me on this.

I have to use custom BAPI's for this or any other approach.

please suggest.

Thanks in advance

Kumar

5 REPLIES 5
Read only

Former Member
0 Likes
588

create an RFC destination using SM59

Read only

0 Likes
588

Hi,

Create the RFC destination using SM59 for the custome BAPI or what ever you want to call.

and then call it form that system. for quick solution contact BASIS .

regards

vijay

Read only

Former Member
0 Likes
588

hi praneeth,

Go through the link

http://www.sap-img.com/bapi.htm

You will get all the details about RFC and BAPI's

Hope it will fulfill your requirements...

Happy working

mayya

Read only

Former Member
0 Likes
588

RFC is nothing but remote execution.

1. U create a function module in XI system that will handle the data (in SE37 ). Click remote enabled in attribute screen in SE37.

2. Find a logical system name for the current client in XI in which u want to process. (TABLE T000 -specify client u will get the logical system name)

3. From ur sap system use call function <FM> destination <dest>.

In <dest> specify that logical system rereived abve.

In this way u call a FM remotely.

One more thing when u craete a RFC module check for all the parameters "PASS BY VALUE" as RFC cant be called by reference. This is no problwem u will get an error if u dond do so.

Hope this helps.

Thanks & Regards,

Ankur

Read only

Former Member
0 Likes
588

Hi,

the BAPI you want to use has to be Remote-Enabled in order to use a RFC call.

In XI you need a connection to the SAP system defined in the System Landscape Directory.

Then you can import the RFC (Inbound) Interface in the Integration Repository and configure the RFC Adapter in the Integration Directory with the program ID you specified in your RFC connection (SAP System sm59).

See also the following thread in the XI-Forum:

Hope it helps,

Andreas

Message was edited by: Andreas Müller