cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger RFC Sender

vijay_kumar133
Active Participant
0 Kudos

Hi friends,

I have a small doubt..

my scnario is RFC to JDBC.

Now how can i trigger that RFC interface so that it can pick data from R/3 tables automatically.

As if we schedule the abap report which trigger the proxy in background..

In the same way is there any way to trigget this interface automatically for RFC.

Thanks and Regards

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

GabrielSagaya
Active Contributor
0 Kudos

you cannot get any return table if you use async call - background task

if you want to return something to your RFC you need to call it in a sync mode

/people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-

see the below threads may be useful

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c7567...

Answers (2)

Answers (2)

Former Member
0 Kudos

hi vijay,

You can trigger the RFC from R/3 sytem by using

Async Call

CALL Function "RFC Name" IN BACKGROUND TASK destination <sm59 destination>

COMMIT WORK.

Sync Call

CALL Function "RFC Name" destination <sm59 destination>

regards

chandra

vijay_kumar133
Active Participant
0 Kudos

Hi chandra,

We need to write abap report for calling that rfc and pass the related values to rfc and this report is to be scheduled in background.

Now if this the case i think its better going for proxy rite in proxy also we need to do the same at last passing internal table to xi.

if the po is generated in r/3 now interface should trigger after creating the po and onley that po details it has to pass. for this any logic please....

there is one more issue there are many sales item for one PO order header..

now how should i get all the lineitems to one header where lineitem are not constant..

Former Member
0 Kudos

Hi,

You have to call RFC from ABAP Program with background mode.

Refer

you need to call the RFC from the R3

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

map the RFC to the JDBC format (insert)

http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

Send RFC to SAP XI u2013 Asynchronous

/people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous

Thanks

swarup

Edited by: Swarup Sawant on Jun 13, 2008 1:53 PM

Edited by: Swarup Sawant on Jun 13, 2008 1:54 PM