Prerequisites
You have successfully completed the previous exercises. You have created the data model and service for risks, and imported the business partner external service.
Note
Note that some of the services that this learning journey links to can incur costs.
Task 1: Create a User Interface
Steps
Create a user interface.
Use the following data:
Field | Value |
---|
Display name | Risks |
Description | (of your choice) |
UI Application Type | Template-Based, Responsive Application |
UI Application Template | List Report Object Page |
Main Entity | risks |
Navigate to the Storyboard tab of SAP Business Application Studio.
Find the UI Applications (see: User Interface) tile, and choose the + icon to add a new user interface.
A screen will show up where you can add the Display name: Risks, and enter a Description of your choice.
Make sure to select RiskManagementService as DataSource.
Choose Next.
Select UI Application Type as Template-Based, Responsive Application to create an SAP Fiori element based UI. Choose Next.
Choose UI Application Template as List Report Page. Choose Next.
Below Data Objects, select risks as Main Entity, to show risks entity in the UI. Choose Finish.
Wait until the Page Map of the user interface, showing two pages, is opened on the right side of the screen.
Task 2: Update the List Report
Steps
Update the list report.
Use the following data:
Field | Value |
---|
Columns | supplier_BusinessPartner |
Find the entry List Report on the Page Map, and choose the Edit icon to edit.
In the Page Editor, expand the Columns section, choose the + icon, and select Add Basic Columns from the dropdown.
In the pop-up, choose supplier_BusinessPartner for Columns. Choose Add.
Task 3: Update the Object Page
Steps
Update the object page.
Use the following data:
Field | Value |
---|
Fields | miti_ID |
BusinessPartnerFullName |
BusinessPartnerIsBlocked |
Display type | Value Help |
(for) | BusinessPartnerFullName |
BusinessPartnerIsBlocked |
Choose the arrow to navigate back and find the entry Object Page on the Page Map. Choose the Edit icon to edit.
In the entry Sections, open General Information → Form → Fields.
Choose the + icon to add new fields to the UI. In the dropdown, select Add basic fields.
See the preceding table to add the following fields from the dropdown:
- miti_ID
- BusinessPartnerFullName
- BusinessPartnerIsBlocked
Choose Add.
Choose supplier_BusinessPartner from the Fields list in the outline panel to the left.
Find the entry Display Type in the property panel to the right, and choose Value Help in the dropdown.
Choose the link Edit properties for Value Help below the Display Type drop-down list box.
In the Value Help screen, check if the following attributes are available as Result List Properties.
- BusinessPartnerFullName
- BusinessPartnerIsBlocked
You may decide to delete the other value help properties. Use the recycle bin icon in that case.