cancel
Showing results for 
Search instead for 
Did you mean: 

Calling external API in Cloud Application Studio

0 Kudos

Hello experts.

I am currently working on a project involving integration between SAP Business Bydesign and a third party system. Im very new to SAP software and have slowly been working my way through all the available content online regarding how Bydesign works with Cloud Application studio for development. In my current project i have reached a point where i need to be able to call an external web service API provided by the third party system, from what i have found out you can do this using the external web service integration wizard in cloud application studio for rest or soap api's.

For practice i used a simple rest weather api to see if i could create a successful web service call creating data on a custom business object, however the part i am having trouble with is writing the business logic or using ABSL code/syntax . The only resources i can find online regarding the business logic or ABSL code are simple copy/paste examples for very specific situations, here in lies my troubles.

I cannot seem to find any tutorials/guided help on how to write your own logic to call a webservice. Am i missing something ? maby i havent looked hard enough or im looking in the wrong places , if anyone could share some resoucres or provide some help it would be hugely appreciated.

Also apologies if my question is unclear i would be more than happy to elaborate if needed, thank you so much

Accepted Solutions (1)

Accepted Solutions (1)

former_member183363
Active Contributor

Hi Atif,

Whilst I don't know how this applies for REST services specifically, the process with SOAP services is to create the .wsid file using the web service file and then call that in the code. For example if you have ManageSalesOrderInWSID, you can type 'var newSO: ManageSalesOrderInWSID' and then use dot completion to show yourself the available options. I've not used REST at all so I don't know much about how authentication is handled. There is however a free course on OpenSAP concerning the studio (or at least there was), and that had some web service content in.

Lewis

Answers (0)