cancel
Showing results for 
Search instead for 
Did you mean: 

Sender RFC.IDOC

Former Member
0 Kudos

Hi All,

I have tried receiver RFC and receiver IDOC. Now I would like to try with sender RFC and sender IDOC. I am not sure how IDOCS are sent from R/3 to XI and RFC requests from R/3 to XI. Do we need some reports to do the same or ...? Can you pls explain this a little with some ref. weblogs....

Thanks & Regards,

Jai Shankar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

search the forum using, rfc as sender and idocs as sender..ull get everything..

Former Member
0 Kudos

HI Jai,

You have to create a report programming for sending /pushing the IDoc from the sender R/3 System.

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step - Configuring the Sender RFC Adapter - step by step

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File

regards

Mahesh.M

Former Member
0 Kudos

Hi All,

I am trying to create a new RFC destination in R/3.

I have used the following oparameters.

RFC destination : RFC_TO_XI

Connection Type : T

Technical settings : selected Registered server program

Program Id : testrfc

Gatewayhost : Ip address of the same R/3

Gateway service :?????

I am not sure what value I have to use for this gateway service. I checked the T-code SMGW as specified in the /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009 blog by Shabz, but I cant find any entries there..

Can you throw more light on this...

Thanks & Regards,

Jai Shankar.

Shabarish_Nair
Active Contributor
0 Kudos

Gateway service :?????

>>>> Usually the Gateway service is sapgwXX where XX is the system number (found from your log on pad).

try with tht option if you cant find an entry SMGW.

Former Member
0 Kudos

write "sapgw00"

bhavesh_kantilal
Active Contributor
0 Kudos

Regards,

Bhavesh

Message was edited by: Bhavesh Kantilal

Shabarish_Nair
Active Contributor
0 Kudos

No Bhavesh, those details are for the R3 and not XI.

Former Member
0 Kudos

yes..wit shabarish..

ur configurin all in R3..

bhavesh_kantilal
Active Contributor
0 Kudos

> No Bhavesh, those details are for the R3 and not XI.

Shabz,

Too fast Just looked into my configuration too...!!

Regards,

Bhavesh

Former Member
0 Kudos

Hi All,

The RFC destination is created and a commn. channel in ID. The test connection result is success. Thanks...

Now how do I send the RFC request to XI? Do I need to create a report or function module? My RFC name is ZTEST.

Thanks for the help.

Regards,

Jai Shankar.

Shabarish_Nair
Active Contributor
0 Kudos

use the test tool in SE37 for the RFC or

in a report use the code

CALL FUNCTION <RFCNAME> DESTINATION <Dest>

EXPORTING f1 =...

f2 =...

etc

IMPORTING f3 =...

etc

TABLES t1 =...

etc

EXCEPTIONS......

Former Member
0 Kudos

Hi ,

check this blog..

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

Sekhar

Answers (3)

Answers (3)

bhavesh_kantilal
Active Contributor
0 Kudos

Jai,

For test purpose you can use Se37 to execute the RFC.

Give the RFC details and in the <b>RFC target System</b> in SE37 --> Execute , <b>give the name of the TCP IP</b> connection you have createed.

Regards,

Bhavesh

Former Member
0 Kudos

Hi All,

Lot of thanks to all you guys. Helped me a lot.

Thanks & Regards,

Jai Shankar.

Shabarish_Nair
Active Contributor
0 Kudos

sender IDOC

>>>>> you can sent an IDOC from R3 using the WE19 test tool. Just fill in the payload and the control records and trigger the execution.

RFC requests from R/3 to XI

>>>>> use the test tool in SE37 for the RFC or

use the code

CALL FUNCTION <RFCNAME> DESTINATION <Dest>

EXPORTING f1 =...

f2 =...

IMPORTING f3 =...

TABLES t1 =...

EXCEPTIONS......

Former Member
0 Kudos

Hi Jai,

<i>how IDOCS are sent from R/3 to XI</i>

We can send the IDOCs using IDOC test tool from WE19 or using some background programs needs to be created to send the IDOC.

Check these links for reference....

https://websmp110.sap-ag.de/~sapdownload/011000358700001795162005E/HowToIDocXMLToFlat.pdf

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

Sekhar