Getting Started with SAP Joule Studio | First Project Guide
Getting Started with SAP Joule Studio
Build your first purchase order lookup
Start in the SAP BTP cockpit and build a Joule skill that reads a purchase order from SAP S/4HANA. By the end, you can ask Joule for a purchase order by number and check its answer against the backend.
1 Check your SAP BTP subscriptions
Open your SAP BTP subaccount and go to Services → Instances and Subscriptions. Select the Subscriptions tab. This example shows Joule on the foundation plan and SAP Build Process Automation and SAP Build Apps on the build-default plan.
Figure 1. The example subaccount shows three subscribed applications.
Check the runtime environment
The Environments section shows a Cloud Foundry environment on the build-runtime plan with the status Created. The Instances tab shows zero service instances in this example. Subscription and environment status describe the subaccount setup. You still need to verify that your user can open SAP Build.
Figure 2. The Cloud Foundry environment shows the status Created.
2 Open the SAP Build Lobby
Return to the Subscriptions tab and select SAP Build Process Automation. Choose Go to Application in the subscription details, then open the Lobby.
Figure 3. The Go to Application link opens SAP Build.
If you see an access error even though the subscription says Subscribed, ask your BTP administrator to verify the role collections assigned to your user in that subaccount.
3 Create a Joule Skill project
In the Joule Studio classic edition workflow, open the SAP Build Lobby and choose Create. Select Joule Skill, enter Purchase Order Lookup as the project name, then review and create the project. Open it from the Lobby to start building the skill.
4 Test the SAP S/4HANA action
Use a configured destination to connect an SAP Build Action to your purchase order API. Start with one read-only operation that fetches the purchase order header. Test the action directly with a known purchase order number and check which fields the API returns.
5 Map the action in your skill
Add your tested action to the skill. Follow the purchase order number from the user’s question to SAP S/4HANA, then use the API response to build the reply.
Skill input Capture the purchase order number in a text input named purchaseOrderNumber. Text preserves any leading zeros.
Action input Map purchaseOrderNumber to the action’s purchase order key.
Skill response Use fields returned by the API, such as supplier, company code, and currency.
6 Test the conversation
Save the project and use the deployment and testing flow in your Joule Studio environment. Ask Joule the question below with a purchase order number you already tested in the action.
“Show me the details for purchase order 4500001234.”
Compare the reply with the purchase order in SAP S/4HANA. Then try an unknown number and a question with no number. Check whether the skill gives a clear message or asks for the missing number.
If the action works on its own but the skill fails, check the PO number passed to the action and the fields mapped from its response. If the test stays on “Deploying the test package,” check deployment status first.
Getting Started with SAP Joule Studio
Build your first purchase order lookup
Start in the SAP BTP cockpit and build a Joule skill that reads a purchase order from SAP S/4HANA. By the end, you can ask Joule for a purchase order by number and check its answer against the backend.
1 Check your SAP BTP subscriptions
Open your SAP BTP subaccount and go to Services → Instances and Subscriptions. Select the Subscriptions tab. This example shows Joule on the foundation plan and SAP Build Process Automation and SAP Build Apps on the build-default plan.
Figure 1. The example subaccount shows three subscribed applications.
Check the runtime environment
The Environments section shows a Cloud Foundry environment on the build-runtime plan with the status Created. The Instances tab shows zero service instances in this example. Subscription and environment status describe the subaccount setup. You still need to verify that your user can open SAP Build.
Figure 2. The Cloud Foundry environment shows the status Created.
2 Open the SAP Build Lobby
Return to the Subscriptions tab and select SAP Build Process Automation. Choose Go to Application in the subscription details, then open the Lobby.
Figure 3. The Go to Application link opens SAP Build.
If you see an access error even though the subscription says Subscribed, ask your BTP administrator to verify the role collections assigned to your user in that subaccount.
3 Create a Joule Skill project
In the Joule Studio classic edition workflow, open the SAP Build Lobby and choose Create. Select Joule Skill, enter Purchase Order Lookup as the project name, then review and create the project. Open it from the Lobby to start building the skill.
4 Test the SAP S/4HANA action
Use a configured destination to connect an SAP Build Action to your purchase order API. Start with one read-only operation that fetches the purchase order header. Test the action directly with a known purchase order number and check which fields the API returns.
5 Map the action in your skill
Add your tested action to the skill. Follow the purchase order number from the user’s question to SAP S/4HANA, then use the API response to build the reply.
Skill input Capture the purchase order number in a text input named purchaseOrderNumber. Text preserves any leading zeros.
Action input Map purchaseOrderNumber to the action’s purchase order key.
Skill response Use fields returned by the API, such as supplier, company code, and currency.
6 Test the conversation
Save the project and use the deployment and testing flow in your Joule Studio environment. Ask Joule the question below with a purchase order number you already tested in the action.
“Show me the details for purchase order 4500001234.”
Compare the reply with the purchase order in SAP S/4HANA. Then try an unknown number and a question with no number. Check whether the skill gives a clear message or asks for the missing number.
If the action works on its own but the skill fails, check the PO number passed to the action and the fields mapped from its response. If the test stays on “Deploying the test package,” check deployment status first.
Want this running in your SAP landscape?
We build SAP Joule agents and SAP Build workflows on real S/4HANA processes, and train your team to do it themselves.