Configuring Dynamic Data Sources in ESM

Objective

After completing this lesson, you will be able to configure dynamic data sources for business documents in ESM

Dynamic Data Sources

In this lesson, you'll learn to configure dynamic data sources for business documents in ESM. Dropdown menu fields can be configured by using a custom code list or populated through API calls to external systems via SAP Cloud Integration. This helps achieve consistency of data across systems.

Pre-requisite

Before you can link dropdown menu fields to external system using APIs, you need to define the corresponding outbound configurations under Business Document Integration.

Follow the steps to integrate external data efficiently using iFlow configurations:

  1. Add a Dropdown Element: First add a "dropdown" element in the designer tab.The designer tab is open with the new drop-down menu highlighted.
  2. Select the globe icon.The Designer screen in ESM is displayed, showing the Business Documents section. The globe icon on the right-hand side is highlighted.

    The iFlow configuration page will open.

    The Dynamic Data Source - Currency configuration screen in SAP is displayed, the outbound configuration and iFlow input options are highlighted.
  3. Choose Outbound Configuration: Choose the appropriate HTTP data from the outbound configuration set up in the Business Document Integration section.
  4. Define iFlow Input: Select the data you wish to send with the API as the iFlow Input, which can include case, user, or business document fields.
  5. Download Request JSON Schema: To download the request schema in JSON format, select "Download Request JSON Schema," then upload the file to SAP Cloud Integration to create a message mapping for the API request.
  6. Download Response JSON Schema: Similarly, select "Download Response JSON Schema" to download the response schema in JSON format, then upload it to SAP Cloud Integration when setting up a message mapping for the API response.
  7. Save iFlow Configuration: Choose Save to apply the dynamic data source settings.

These actions outline the process of linking a dropdown field to a dynamic data source via API integration, including schema generation and setup for use in SAP Cloud Integration.

Configuring Dynamic Data Sources for Business Documents in SAP ESM

The following video demonstrates how to configure a dropdown menu in a business document with a dynamic data source.

Lesson Summary

In this lesson you learned how to supply dropdown fields in a business document with dynamic data sources by selecting the correct outbound configuration, as well as the appropriate fields in the iFlow input.