cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member190010
Contributor
0 Kudos

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:

Regards,

Emanuel

Former Member
0 Kudos

I already created function module which will just show data.

For testing let's read data and into internal table , how  I can  after read show data as xml format in browser

former_member190010
Contributor
0 Kudos

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

You can choose between xml and json format.

Regards,

Emanuel

former_member469314
Participant
0 Kudos

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.