cancel
Showing results for 
Search instead for 
Did you mean: 

Can we define Message interface is we are using Sender RFC

Former Member
0 Kudos

Can we define Message interface is we are using Sender RFC

or we need to consider RFC as message interface

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jeff,

Even if you are RFC sender for asynchronous scenario you need not use async outbound MI for this.You can use the RFC as an interface but make sure that your Import parameters in se37 is blank as ideally RFC can never be async.

Try it once without using any Async Out MI.

Amitanshu

Former Member
0 Kudos

In payload i am can see only the input value not the output values

Former Member
0 Kudos

Hey

if u have defined outbound async RFC then u wont see two payloads,but if u have not defined any interface for RFC,the u will see two payloads in moni?

is ur scenario sync or async?

thanx

ahmad

Former Member
0 Kudos

Please elaborate...you are referring the payload sent from RFC ??

Former Member
0 Kudos

I am using RFC sender and File receiver

it should be Async scenario.

when i run the RFC without RFC destination it is fine

when i use destiantion it was throwing the error.

when i see message monitoring it was showing as SYNC.

Former Member
0 Kudos

Hey

when u specify destination in RFC,that means it has to be sync.just dont use any destination in ur RFC if u want to keep it async

thanx

ahmad

Former Member
0 Kudos

Hi,

without using rfc destination we need to use rfc?

for Async scenario

jeff

Former Member
0 Kudos

Jeff,

In that case you will have to use Sync-Async bridge.

Amitanshu

Former Member
0 Kudos

Hey

not without RFC destination.i waz talkin about the code of RFC

see the below link to see how acyh RFC should be coded

http://help.sap.com/saphelp_nw2004s/helpdata/en/22/042592488911d189490000e829fbbd/frameset.htm

i m not an ABAP expert so it will be better if u ask some ABAP guys or whoever created the RFC.

posting about RFC in ABAP forum wont hurt too.

thanx

ahmad

MichalKrawczyk
Active Contributor
0 Kudos

hi,

you don't need a message interface if you use RFC

unless you use it with a BPM - then you need to create

ABSTRACT message interface from your RFC

in all the other cases you don't need it

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi Michal,

By default it is considering as SYNC but my scenrio is Async.

i have an error , may be i think RFC expecting resposen.

jeff

Former Member
0 Kudos

Hi,

when i execute RFC from se37 using RFC destination it is throwing this error

call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException

what could be the cause.

i have sufficient authorisations to execute RFC.

Jeff

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

if it's sync - check it in SXMB_MONI in XI if the flow was ok

inside XI first

RFC to XI is working right? did you check it from SM59 ?

Regards,

michal

Former Member
0 Kudos

HI,

My interface is ASYNC. if i create Message interface as outbound and Async and assign theis RFC to message Interface. I have an error sender agreement not found.

SM59 test connection is also fine.

this is the error.

call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException

Jeff

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException

just check SXMB_MONI as I said

Regards,

michal

Former Member
0 Kudos

Hi Michal,

It is showing two rows in sxmb_moni

in one sender is rfc in second receiver is rfc.

error category MAPPING, ID" ERROR_DURING_EXCEPTION

when i test message mapping and interface mapping it is success.

Jeff

Former Member
0 Kudos

when i create a message interface as ASYNC and Outbound

this error occurs

"senderAgreement not found: lookup of binding via CPA-cache failed for

jeff

Former Member
0 Kudos

Hey

>>when i test message mapping and interface mapping it is success

how did u test ur mappings?did u test it by copying the payload from MONI?if not them test it that way

>>senderAgreement not found: lookup of binding via CPA-cache failed for

where did u get this error?also after u create outbound async interface for RFC,use that instead of RFC as a sender interface

try refreshing ur cache in ID too

thanx

ahmad

Message was edited by:

Ahmad