on 2006 May 04 2:51 PM
In a mapping I need to call an abap proxy with one key field and it will return 5 fields to me. i need to use those five fields in my mapping. How do I use an abap proxy in a UDF ?
Regards,
Frank
Hi Frank,
You could create a web service from your proxy and call the web service from the UDF as SOAP call with the SOAP adapter.
But I think it is easier to create an RFC with the same functionality.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it is not possible to call a proxy.
See the documentation:
"The API for mapping lookups supports access using the RFC, JDBC, and SOAP adapters."
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/frameset.htm
A Proxy requires a whole XI message including the XI message header. The look up API only provides the creation of the payload of the message.
Regards
Stefan
Hi,
As discussed i got to understand that we cant call a proxy from a udf(message mappign of IR).
I have a small a doubt.Can't we call a RFC channel in UDF which refers BAPI.
I have a WSDL for a BAPI structure.I need to call the BAPI in the UDF and get a response.This BAPI is created as a syncronous proxy in my SAP system.This BAPI is also available to me as a WSDL,but i dont want to make a soap call as webservice.
Can any 1 help me,how i can make a call to my BAPI structure and by using which kind of adapter from my UDF and get the response in message mapping itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frank,
AFAIK, You should use RFC Lookup for your requirement.
1.First create an RFC with one Import parameter and five Export parameters and make it remote enabled.
2. Use XI's Mapping lookup API's to call the RFC from UDF and get required values and map it to the target fields.
For more details about RFC and other Lookup API's please refer the following Blogs.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/xi%20mapping%20lookups%20rfc%20api.pdf">XI Mapping RFC Lookup API</a>
<a href="/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer">Lookup Blog by Alessandro Guarneri</a>
<a href="/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler Lookups</a>
<a href="https://media.sdn.sap.com/javadocs/NW04/SPS15/pi/index.html">SAP XI Lookup API-Help</a>
Regards,
Ananth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Frank
As far as my knowledge goes you can swap user defined fields using XML. The complete steps are given in SAP notes: 806127
---Mohan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.