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:
- Add a Dropdown Element: First add a "dropdown" element in the designer tab.

- Select the globe icon.

The iFlow configuration page will open.

- Choose Outbound Configuration: Choose the appropriate HTTP data from the outbound configuration set up in the Business Document Integration section.
- 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.
- 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.
- 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.
- 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.