cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP -> RFC -> Mail - Mapping

elko_hasse
Participant
0 Kudos

Hello,

I want to set up an HTTP -> RFC -> Mail Scenario.

HTTP from external party to XI (async).

XI calls the RFC (sync)

The RFC-response I want to sent via the Mail-Adapter (sync).

So I have one Oubound Interface (HTTP)

I have an Inbound Interface (RFC)

And I guess I need another Inbound Interface for the Mail Adapter.

Now I have a problem with mapping. How should I map the response of the RFC to the Mal-Interface. In the Interface-Mapping Editor I only have the option to map the RFC-Request to the Mail-Interface.

I hope it is clear.

In other posts it said that such a szenario is possible. I just need to know how to do the mapping.

Thanks,

Elko

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Elko

Hi Pl refer These link for ur Scenario

<b>HTTP -> RFC</b>

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/httpToRFCSynchronousScenario-FAQs&

/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6...

http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm

/message/266750#266750 [original link is broken]

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6...

<b>Mail Scenario</b>

Check this blog-

/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

Thanks!!

elko_hasse
Participant
0 Kudos

Thanks for your anwer, but it does not really help with my problem.

I need all of the mentioned compnent in one senario.

An external party sends an HTTP-Request to XI. This interface is defined as async. XI mappes the message of the HTTP-Request to the input-message of the the RFC and calls the RFC in the Backend SAP-System (sync).

The response (output-message) of the RFC I then want to map to the message of the Mail Interface.

My problem is how I schould do this. The Mapping Interface Editor in Integration Builder does not allow to map the RFC response to the Mail message.

In general this scenario should be possible. It says here:

Any Help.

Elko

Former Member
0 Kudos

Hi Elko,

>>>My problem is how I schould do this. The Mapping Interface Editor in Integration Builder does not allow to map the RFC response to the Mail message

In your message mapping in the source msg, use F4 help and select the RFC msg. This will display both RFC.request and response msgs.

If this is not showing up, check your RFC in R/3. Make sure it has both import and export parameters defined properly. If not, do this and reimport the RFC meta data.

Regards,

Jai Shankar

elko_hasse
Participant
0 Kudos

Message mapping is no problem. Here I have mapped the RFC.response to the Mail Message.

My Problem is the interface mapping. I am not able to choose the RFC.Response as source message in the interface mapping editor. There is no F4 help for the source message in the editor.

At the top of the screen you enter source and target interface. In my case source: RFC and target Mail-Interface. Then you hit the button "Read Interfaces". Then it shows the source message and the target message and you have to enter the mapping program. For sync scenario you have this screen for request and response; for async scenario you only have it for request.

So you see there is no way to choose the source message.

How did you do it ?????

Elko

elko_hasse
Participant
0 Kudos

Any help on this topic.

Elko