cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous RFC to SOAP scenario (RFC or XI adapter?)

Former Member
0 Kudos

Hi there,

i have following functional requirement from my customer, SAP is going to send some data (3 fields) to XI and XI has to send them to an appl that will return a status. This status has to be sent back to SAP.

As the appl deals with xml messages, the nonSAP side is going to be integrated via receiver synchronous SOAP CC.

But question is, which of the following is the best integration approach (adapter to use) in the SAP side??

At first i thought sRFC and XI adapters would fit these requirements but i have several doubts:

1)how the RFC is to be implemented to be able to export the data and finally, import the status received from the external appl.???

2)how could we do this with the XI adapter??? Does it support synchronous messages? Is there any step by step guide on the sdn showing ?

Thanks in advance and best regards,

David

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member190681
Active Participant
0 Kudos

Dear,

Yes,  I have created Service interface as Synchronous.

Regards,

Kiran Polani

iaki_vila
Active Contributor
0 Kudos

Hi again,

Check the communication channel monitoring of your receiver SOAP adapter, may be you have any exception there. Have you got any message error on the monitor (sxi_monitor or RWB monitor)?

I guess if you create a new thread with your issue more SCN members will answer you, this thread is set as answered and many SCN members don't enter here because they will think the problem is solved.

Regards.

former_member190681
Active Participant
0 Kudos

Dear Experts,

my issue has not resolved...

i have created one interface RFC to Soap synchronous,

but i am not getting Response back to PI.

Regards,

Kiran Polani

iaki_vila
Active Contributor
0 Kudos

Hi SriGnanaKiran,

Are you sure your two service interfaces are defined synchronous?

Regards.

sunil_singh13
Active Contributor
0 Kudos

Hi David,

Your scenario is just simple RFC t <-> SOP .

As rfc is your sender use Sender RFC adapter with Quality of service BE and as your receiver is soap use Receiver SOAP adapter in Synchronous mode.

I don't think you actually require XI adapter for your requirment.

Thanks

Sunil Singh

Former Member
0 Kudos

Hi Sunil,

Yes, I know it can be accomplished as you mentioned but my concern is how this RFC destination has to be done in terms of export/import parameters... and how it has to be invoked??

RFC should send to XI: 3 fields

RFC should receive from XI: 1 field (status)

any idea?

Thanks in advance and kind regards,

david

sunil_singh13
Active Contributor
0 Kudos

Hi David ,

That part will be done in your RFC (it is a Remote enabled Function that has Import and Export parameters) you need not to worry abt that, that would have been done in your RFC code.

Try to Execute your RFC you will get your answer.

thanks

Sunil Singh

Former Member
0 Kudos

Thanks Sunil,

So i will do waht you mentioned, but, just to clarify, what will be the data sent from SAP to XI in the RFC code, the export parameters or the import ones??

Is it possible to export data and shortly afterwards, import another data in the same RFC?

Im just trying to get the thing to be able to transmit it to the ABAP dev team.

Best regards,

David

Former Member
0 Kudos

Hi David,

Import and export parameters of an RFC is basically an input to an RFC and output from an RFC respectively.

Thanks,

Pooja Pandey

VijayKonam
Active Contributor
0 Kudos

You can do it with either RFC or Proxy.

If RFC create an RFC which exports the 3 fields and imports one field. Automatically when you import it into XI, it will work in sync mode.. To initial the interface some one has to execute the RFC.. a program or a person.

If you want to go with proxy, desing your out bound syn interface in repository then generate proxy for it in ECC. wrote code in ECC for calling this proxy function. U need to use XI adapter in this case.

VJ

former_member190681
Active Participant
0 Kudos

Dear,

I have created an interface like the below url.

http://www.saptechnical.com/Tutorials/XI/RFCtoSOAP/page2.htm

but i am not getting Response, why it is happening.

IR, ID test configuration success. but when i am triggering data. not showing in moni.

please suggest me

Regards,

Kiran Polani