Skip to Content
avatar image
Former Member

how to use proxy in UDF

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    May 05, 2006 at 09:36 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 04, 2006 at 03:53 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • May 05, 2006 at 03:51 AM

    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.

    XI" target="_blank">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 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>

    SAP" target="_blank">https://media.sdn.sap.com/javadocs/NW04/SPS15/pi/index.html">SAP XI Lookup API-Help

    Regards,

    Ananth

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 29, 2008 at 11:54 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded