11-23-2021 9:47 AM
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.
11-23-2021 3:47 PM
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
11-24-2021 7:22 AM
Thank you dhananjayhegde
That would seem to be the way. I'll try this out as soon as possible 🙂
BR Jan
11-24-2021 8:28 AM
Sure jan_petersen,
let me know it goes.. would be interesting to know.
Cheers!
Dhananjay
11-24-2021 12:53 PM
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