Skip to Content
author's profile photo Former Member
Former Member

How to call an ABAP FM using WS adapter?

Hi guys,

I need to develop a SOAP to PROXY scenario, where in the target I'll be calling a function module. Is it possible to call the function module using the WS adapter? What would the steps of setting this up look like?

Thank you, Andrzej

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2011 at 10:42 AM

    Hello,

    Yes, is possible. You need to publish a WS related to Function that you want to call.

    To expose the FM WebService: SE37 trans -> Enter FM name -> Modify

    Than, in Menu -> Utilities -> Other Utilities -> Generate WebService -> From Function Module.

    Than, follow the wizard!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2011 at 10:14 AM

    Hi,

    If you want to use WS adapter to call Function Module then, you should first expose the FM as Web Service. Then get the end point url of this Web service that you exposed and provide it in the WS adapter in order to call that FM.

    Best Regards,

    RK

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2011 at 10:15 AM

    either as mentioned earlier expose the FM as a WS and the configure the WS adapter or in the receiver ABAP proxy implementation you can directly call the FM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.