The lobby is a central page for creating, accessing, and managing your projects in SAP Build.
Choose Connectors, then choose Actions.
Select your API_BUSINESS_PARTNER action project, then choose Versions.
Choose … by the Published to Library version, then choose Save As New Project.
Enter:
FilterBusinessPartners for the Project Name.
This is to give Joule access to information about business partners. An extra input field is added to simplify the use of the filter. for the Description.
Choose Save As New.
Choose the new project.
Choose the GET Retrieves business partner general data action.
On the Input tab, choose Add.
Choose New Field.
Enter FirstName as the Key and the Label, then choose Add.
Choose the Value field of $filter.
In the side panel $filter, choose the Value field to open the Condition Editor.
For Column, Condition, and Criteria, select FirstName, equal to, and ${FirstName} respectively. Then choose choose OK.
Choose the Test tab.
Enter Jane in the FirstName field, then choose Test.
Choose Save, then Release, and finally Publish.
Step 2
Go to the SAP Build Lobby
Choose Create.
Choose Joule Skill, then choose Next.
Enter name SearchWithName and description Uses an Action containing a mapped condition to filter on the FirstName..
Choose Review, then choose Create.
In Joule Studio, choose Create>Joule Skill.
Enter:
SearchWithFirstName for Name.
Retrieve information about employees with a given first name. Usually John or Jane is used for Description.
Choose Create.
Choose Trigger to open the side panel.
Enable Allow Joule to generate a response.
Choose Parameters, then choose Configure beside Skill Inputs.
Choose Add Input. Enter FirstName for Name, First name of employee for Description, and select Required.
Choose Apply
Choose Configure beside Skill Outputs.
Choose Add Output
Enter:
NameEmployees
DescriptionEmployees
TypeAny
ListSelect
Choose Apply.
Close the side pane and choose Save.
Step 3
Choose the +.
Choose Action.
Choose Browse All Actions.
Select the GET Retrieves business partner general data action of the project FilterBusinessPartners and choose Add beside it.
Choose Select a Destination Variable, then + Create Destination Variable.
Enter S4HANA_MOCK and BusinessPartner API, followed by Create.
Select the destination variable.
Choose the Inputs tab.
Choose the FirstName field to open the Skill Content pane.
Choose FirstName in the Skill Content pane to map to the selected FirstName field.
Choose the Outputs tab just to see the output.
Close the pane and choose Save.
Step 4
Choose the End element.
Choose the Employees field to open the Skill Content pane.
Choose {..} list - results.
Choose Save.
Step 5
Choose Release.
Choose Release.
Choose Show project version, to change to the released version.
Choose Deploy.
Select your environment and choose Deploy.
Select your S4HANA_MOCK destination and choose Deploy.
Step 6
Open the SAP Build Lobby
Choose Control Tower, then choose the Environments tile.
Choose your environment.
Choose the Joule tab.
Choose Launch.
Choose New Conversation.
Enter I am at the front desk in the reception area. A person claiming to be an employee is here. Can you check if Jane is in the system?
Choose Send.
Enter Thanks, I meant you to check if John is in the system., then choose Send.
You can select any of the employees in the list to see their details.
Step 7
When you get Joule to generate the response message, where do you configure the data mapping?