Skip to Content
avatar image
Former Member

Web Service

I have data in internal table . I want send this data to another program from SAP system. Can you help me? What I must do for sending data with web service . I must function module create?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 12, 2016 at 12:39 PM

    Hi Robert,

    The question is if you want to pass data between two abap programs or if what you want is to build a web service for exposing data outside sap system?

    If you want to pass data between two abap programs, you can do the following:

    Passing Data Between Programs - ABAP Programming (BC-ABA) - SAP Library

    In case you want to expose data, you can build an odata web service which is the standard that sap is using for fiori:

    Step-by-step guide to build an OData Service based on RFCs – Part 1

    Regards,

    Emanuel

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      You can see xml in the browser if you develop odata web services.

      You can choose between xml and json format.

      Regards,

      Emanuel

  • Apr 12, 2016 at 10:22 AM

    Hi,

    this depends whether you want to implement a SOAP or a REST web service.

    For a SOAP web Service you can create a function modul and use the wizard to create the webservice. For a REST web service you create a SICF-Service and add a custom HTTP handler.

    Add comment
    10|10000 characters needed characters exceeded