Skip to Content
Author's profile photo Marion Schlotte

Use SAP Leonardo Machine Learning Foundation in ABAP


The SAP Leonardo Machine Learning Foundation offers a wide range of ready-to use services, like image and text classification services, that are as easy to consume as a REST API call.

You probably tried them out directly on the SAP API Business Hub or in your SAPUI5 applications. But how about ABAP? What if you could leverage these services in a matter of minutes and start building the Intelligent Enterprise?

This blog will show you how easy it is to consume the SAP Leonardo Machine Learning Foundation services in your ABAP programs.

For each service, code snippets will be provided which can be used to get started and see the first results. So, let’s get started, and see how this works.



All you need is:

The SAP API Business Hub provides an overview of all SAP Leonardo Machine Learning Foundation services.

You can try them out directly within the SAP API Business Hub console, using a REST client or by making direct API calls from an application developed in the programming language of your choice.

And to do that, you don’t need to be machine learning expert!

Get started

Once you have fulfilled the prerequisites, check the following video where the entire development process is explained in less than three minutes.

Wrap up

Now let’s recap what you just learned:

That’s it :-).

Of course, you can adapt it to your needs and use other text sources from your ABAP programs.

Thanks for reading and have fun! And feel free to share and provide feedback!

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Matthias Sessler
      Matthias Sessler

      Cool, this is really easy to understand.