Create an HTTP Service in SAP BTP ABAP Environment
Requires Customer/Partner License
Beginner
15 min.
Create an HTTP service in SAP BTP ABAP environment that can be called from the browser.
You will learn
- How to create an HTTP service that can be accessed from a browser
- How to return system data using a (whitelisted) ABAP utility class
- How to expose the service for external consumption, by defining the necessary inbound communication artifacts
Prerequisites
- IMPORTANT: This tutorial cannot be completed on a trial account
- You have set up SAP Business Technology Platform (BTP), ABAP Environment, for example by using the relevant booster: Using a Booster to Automate the Setup of the ABAP Environment
- Tutorial: Create Your First Console Application, for a licensed user, steps 1-2
- You have installed ABAP Development Tools, latest version
Important: If you are working in SAP S/4HANA:
ICF services are direct entry points into the ABAP system via the HTTP protocol. Implementing ICF services is a security-critical task with implications on the system and landscape configuration.
Therefore, to follow the best practices adopted by SAP internally, consider implementing your service as an OData service.