cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to JMS Scenario

Former Member
0 Kudos

Hi All,

Please find my scenario as following.

RFC -


PI -


JMS Receiver

RFC is synchronous. RFC is standard SAP RFC and we can not make any change on this ABAP side.

I need to create scenario where I need to pick RFC request and need to send it to JMS Receiver but since RFC is Sync it is expecting Response. I want to avoid RFC response.

can we build this scenario..?

if yes. how.?

Thanks,

Bhupesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

What do you mean with "I need to pick RFC request and need to send it to JMS Receiver " ? Is PI making the RFC call ? If you do not want a response from the RFC, what result do you want to send to the JMS Receiver ? Can you describe a bit more in detail ?

CSY

former_member181962
Active Contributor
0 Kudos

Hi,

In the ABAP program that calls the RFC function module, you can make use of some sytaxes like call function <FM> in update task or startig new task, so that the call happens asynchronously:

http://help.sap.com/saphelp_nw04/helpdata/EN/22/0425c6488911d189490000e829fbbd/frameset.htm

Regards,

Ravi

Former Member
0 Kudos

suppose we dont want to change RFC..

then can we do it.. I mean is there any other way..?

Thanks,

Bhupesh

former_member181962
Active Contributor
0 Kudos

Hi Bhupesh,

I am not asking you to change the RFC, but the way you call the RFC.

YOu can call like this. This call will be asynchronous in nature..

CALL FUNCTION 'XXXXXXX'

IN BACKGROUND TASK

DESTINATION 'XXX_DEST'

TABLES

......

EXCEPTIONS

..........

COMMIT WORK.

Regards,

Ravi Kanth Talagana

former_member181985
Active Contributor
0 Kudos

Go ahead with Ravi Kanth's solution.

Shabarish_Nair
Active Contributor
0 Kudos

easiest is to create a Z RFC out of the standard and remove the response.