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: 

Access FM or class in ABAP cloud project on BTP trial

JanBraendgaard
Active Participant

Is it possible to access a FM or a class method running on my BTP trial account from outside?

I can find lots of information on accessing an on-premise system from the cloud, but I would like to go the other way.

The only way I have found at the moment to run my code in the cloud in by running via the console in Eclipse. But I would like to trigger to code with a call from i.e. Postman.

4 REPLIES 4

dhegde
Participant
0 Kudos

Hello Jan

May be, you could create a HTTP service, expose it. In the request handler of this HTTP service, you can call the FM or method of class on BTP.

Hope this helps.

Regards,

Dhananjay

JanBraendgaard
Active Participant

Thank you dhananjayhegde

That would seem to be the way. I'll try this out as soon as possible 🙂

BR Jan

dhegde
Participant
0 Kudos

Sure jan_petersen,

let me know it goes.. would be interesting to know.

Cheers!

Dhananjay

JanBraendgaard
Active Participant

dhananjayhegde

It went really well. I have described the steps in this small blogpost: https://blogs.sap.com/2021/11/24/abap-in-the-cloud/#. Thank you for your input in the right direction.

BR Jan