Populate Dropdown with SAP Data (ES5)
Beginner
10 min.
Populate a dropdown field with SAP data, in this case with data from ES5 gateway demo system.
You will learn
- How to create a data source to SAP data
- How to make a call to an SAP backend API
- How to populate a dropdown list from backend data
Prerequisites
- You or IT has set up a user with the ES5 gateway demo system, as described in the tutorial Create an Account on the SAP Gateway Demo System
- You or IT has created a destination called ES5-Shop to the
ES5 EPM_REF_APPS_SHOP_SRV
OData service – a similar service setup is described in the tutorial Connect the SAP BTP Training Subaccount to Your Gateway Demo System Account (ES5).
Previously, we created an input box for the user to enter a material ID for the sales order. Now, we want to make a call to an SAP backend, retrieve product data, and populate a dropdown box so the user can choose from a list of products.
Before You Begin: You or IT needs to have set up a user with the ES5 gateway demo system, as described in the tutorial Create an Account on the SAP Gateway Demo System.
Then, you or IT needs to have created a destination called ES5-Shop to the
ES5 EPM_REF_APPS_SHOP_SRV
OData service – a similar service setup is described in the tutorial Connect the SAP BTP Training Subaccount to Your Gateway Demo System Account (ES5).