Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9242

Re: Webservice Issue

$
0
0

For creating a record in SAP System, you must use a synchronous service that is created in SAP System, in the SAP Cloud System.

Every synchronous service will have two important message types.

  • Request Message Type - What you are sending to SAP System
  • Response Message Type - What SAP system is returning back once the call is executed with related request message.

 

So, how does a service know what to return ???

  • That is defined the its webservice definition file. If you want GUID that is created in SAP System to be sent back, then develop your service that way so that SAP Cloud system can store it in return.

 

How to execute webservice call and store the response through Studio ???

  • For this, you need to understand what gets created in SAP Cloud system when you define an external webservice(that is of SAP System's) in SAP Cloud system. Whenever you create an external webservice development object in Studio, a library gets created which you can use for making calls and getting responses. For eg., if ZSAPSystem is the external webservice you created, then try accessing its structure in your absl code this way ZSAPSystem.<...>. Intellisense will do the rest.

Viewing all articles
Browse latest Browse all 9242

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>