Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sending data to non sap system through Web service

Former Member
0 Kudos

Hi,

I have a requirement like whenever I create a Project in SAP the corresponding details of that project should be moved to non SAP system.

The non SAP system is a Windows system and it has a Webservice. From SAP system we need to transfer the data to the Webservice.

Please let me know how can we achieve this.

4 REPLIES 4

PeterJonker
Active Contributor
0 Kudos

Get the wsdl from the Windows webservice. Go to SE80 and choose the package where you want to develop.

Now right mouse button choose Enterprise Service/Create.

A wizard will start. Choose service consumer and in the next screen choose either url / http if you have access to the windows web service from your machine or otherwise (not preferred) save the wsdl file locally and choose local file.

The wizard guides you to the creation.

Don't forget to save ad activate.

Now if the windows application is calling SAP for the information then you need to develop a function module (RFC enabled) which collects the data and sends it out to the calling application.

Now again in SE80 open the package. Go place the cursor on your function module and choose create webservice.

The wizard starts again, but this time you need to choose Service Provider since SAP is providing the service and windows will call it.

After the creation of the webservice you need to configure in SOAMANAGER (create endpoint) and then you can get the wsdl for the webservice nyou created (also in SOAMANGER). Send this to the Windows developer and he can make a consuming client for your webservice.

0 Kudos

Hi Peter,

Thanks for your reply. Can you please share a link or documents if you have, which gives me step by step process.

0 Kudos

Hi Juheb,

Check the below link. It may help you to understand on web service creation using FM.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0d0a250-ccd1-2c10-9e9f-b9d5cf259...

http://scn.sap.com/docs/DOC-38805

Regards,

Saran