| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Usage of SOAP Lookup and RFC Lookup in a single Mapping ProgramBy Pavan Kumar Nukala, Yash Technologies We had a
requirement in which we want to send the request to the RFC in SAP system and
the WEBSERVICE both at a time and the values which we retrieve from the both
systems should create the separate files in their respective business system. I tried
with the different approaches and finally I come up this approach. While trying
with different approaches I found that synchronous flow of messages does not
support multiple receivers. Here I used the concept of Lookup’s to overcome
this issue. And lookup’s helped me
a lot and solve the issue very easily. And along with the lookup’s I used the
concept of MULTIMAPPING. I used the
web service as Conversion Rate and created the custom RFC which has the input
and output parameters. The RFC which was created in R/3 system has the
functionality to take input and deliver the output.
The below
screen shows the simple code to fetch the data from the custom table based on
the input parameters.
Based on
the web service and the RFC, create the Source data type and message types.
Source
data type has the fields FromCurrency
and ToCurrency.Create the two inbound
data types one is for the web service and the other is for the RFC with same
structure having the field as ForexRate
as below Inbound
data type for web service:
Inbound
data type for the RFC.
Create one
outbound message type and two inbound message types based on the above data
types which were not mentioned here. Create the
outbound interface with mode as asynchronous.
Create the
two inbound interfaces for RFC and web service. Inbound
interface for the web service which is asynchronous.
Inbound
interface for the RFC which is asynchronous.
Create the
message mapping. While creating mapping program add the inbound message types
explicitly under the message tab as shown below
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||