1. Create a Data Resource to an SAP S/4HANA Destination

1. Create a Data Resource to an SAP S/4HANA Destination

Populate Dropdown with Material Data from an SAP S/4HANA Cloud Backend

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 S/4HANA Cloud backend, retrieve product data, and populate a dropdown box so the user can choose from a list of products.

A data resource defines a connection to a backend, and when executed, will bring back the data we want.

  1. Go to the Integrations tab, and choose ADD INTEGRATION.

    Data
  2. Choose BTP Destinations.

    Destinations
  3. Select your S4HANA_ODATA_Products destination (use the Search box if necessary).

    S4HANA_ODATA_Products

    refers to a BTP destination that points to the OData ABAP service

    ES5
  4. Choose INSTALL INTEGRATION.

    Add
  5. Select the A_ProductDescription entity on the left, and choose Enable Data Entity on the right.

    Enable
  6. Choose Save (upper right).