Connect Action Project to Dropdown in Form
Use and add a data source to the form dropdown field in order to display information from external systems
Overview
You will learn
- How to use action project to retrieve data from data source and show in dropdown in form
Prerequisites
Prerequisites
- Complete the tutorial Create Business Partner Action Project in SAP Build Actions
Steps
Intro
In this tutorial, you will create a project using a template from the store and edit the trigger form to create a dropdown and populate it with the values from the action project.
From the SAP Build lobby, select the Store tab.

Import Project On the Store page, search for Sales Order Management (MI01) and once it loads, click Create from Template.

Import Project In the Project Name field, enter Sales Order Approvals Project.
You can keep the default description or enter the description of your choice
- Click Create.

Import Project Open Lobby and you will see your project created.
Click on the Sales Order Approvals Project to open it.

Import Project
Select the Order Processing Form.

Action Project Select the menu for the Customer Name text field and select Delete.

Action Project You will now replace the text field with a dropdown field.
Drag and drop a Dropdown field in the form and enter the name as Customer Name.
Check the required box on the right side panel.
Choose save.

Action Project
Select the Settings icon at the top-right corner.

Action Project In the Project Properties pop-up, select Environment Variables and choose + Create.

Action Project Fill in the information:
- Enter
S4_Business_Partneras identifier. - Enter Description of your choice.
- Select the Type as Destination.
- Choose Create.

Action Project - Enter
Once the environment variable is created, close the pop-up.

Action Project
Select the Customer Name dropdown.
As Data to display, choose Data Source.
Select the value-help option for Data Source field.

Action Project In the Browse Library pop-up, choose GET as Action Type.
Select the Add option for the action project you created earlier.

Action Project CAUTION: The action project will only be visible in the Browse Library pop-up if the Main Output Array is marked in the action response as described in previous tutorial.
Select the
S4_Business_Partneras the Destination Variable and select the value-help option for Available Data field.
Action Project Choose the Customer Name option from the dropdown.

Action Project Save the form.

Action Project With this, you have created a form with dropdown as input field and connected your action project to the dropdown.
Resources
Discussion
Share feedback on this tutorial or join the conversation in SAP Community.