|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Usage of SOAP Lookup and RFC Lookup in a single Mapping Program
By 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.
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.
screen shows the simple code to fetch the data from the custom table based on
the input parameters.
the web service and the RFC, create the Source data type and message types.
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 :
data type for web service:
Inbound data type for the RFC.
outbound message type and two inbound message types based on the above data
types which were not mentioned here.
outbound interface with mode as asynchronous.
two inbound interfaces for RFC and web service.
interface for the web service which is asynchronous.
interface for the RFC which is asynchronous.
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
©2006-2007 SAPTechnical.COM. All rights reserved.
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