Developing with SAP Integration Suite

Searching APIs

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

  • Try out the Purchase Order OData API in SAP API Business Hub

Search for an API and Communications Arrangements: Exercise Overview

Scenario

Every purchase order (PO) by an eCarHero employee is created within an S/4HANA Cloud ERP system. Instead of working with an actual instance of such a system, this course will alternatively teach you how to leverage the SAP API Business Hub for this purpose.

Task Flow

In this exercise, you will perform the following steps:

  • Discover the OData Service for SAP S/4HANA Cloud.
  • Test and consume the OData Service for SAP S/4HANA Cloud.

Search for API and Communication Arrangements

Exercise

Search for an API and Communication Arrangements

Start Exercise

Task 1: Search for an API and Communication Arrangements

Steps

  1. Identify the appropriate API.

    The SAP API Business Hub lets you explore, discover, and consume appropriate APIs as well as pre-packaged integrations, business services, and sample apps within a central catalogue. An OData service to return purchase orders in an SAP S/4HANA Cloud ERP system is available.

    1. Open your browser and enter https://api.sap.com/.

    2. Choose S/4HANA Cloud.

    3. In the top content bar, choose APIsOData V2 and search for purchase order.

    4. Select the OData service Purchase Order. Review the content.

  2. Test the OData service "Purchase Order".

    1. In the top content bar, choose Try Out.

    2. On the left side navigational bar, select Purchase OrderGET. You can optionally adjust parameters, for example, limit the number of results to be returned, then select Run.

    3. View the returned purchase orders and take note of the API key. You will use this to enhance your iFlow in the following lessons.

Save progress to your learning plan by logging in or creating an account