This is the new reality powered by SAP Build Code and its integrated AI copilot, Joule.
As a turn-key environment on the SAP Business Technology Platform, it unifies the entire development lifecycle, from coding to deployment.
This post demonstrates how to build a full-stack SAP CAP application directly from a user story, showcasing how
generative AI is fundamentally reshaping the developer experience.
Build an SAP CAP application based on the requirements in the user story below:
User Story
As a contract administrator, I want to create and manage contracts and ‘parties involved’ information in the system,
so that I can effectively track and handle legal agreements and ‘parties involved’ interactions.
Contracts can cover a vast range of agreements, such as sales contracts, service agreements and employment contracts.
Party involved: A ‘party involved’ is an individual, organization, or entity that purchases goods, products, or services from another party,
typically a business or seller.
Common attributes of a contract might include:
A typical ‘party involved’ has the following attributes:
Acceptance Criteria
Scenario 1: List All Contracts
Given I am logged into the contract management system, when I launch the SAP Fiori application to maintain contracts,
then I should be able to view the list of all the contracts in a list without pressing the GO button.
The list of all the contracts should have : Contract ID, Party involved Identification Number, Contract Type and Start Date.
The list of filters should include Contract Type, Contract Status and Start Date.
Scenario 2: View Contract Details
Given I am logged into the contract management system, when I select a specific contract from the list of SAP Fiori application,
then I should be able to view the contract details and parties involved information.
Create a Project
Click the Application Tile
Full-Stack
Full-Stack Node.JS
Contract Management
Contract Management
Project Created
Click the created project to open it in SAP Business Application Studio
Open Joule From the Activity Bar and select the ’/cap-gen-app` slash command
Generate a CAP Application
Prompt the user story description(refer to Business Requirement section above) to Joule and click send.
Joule tackles complex tasks by breaking them into steps, each with a suggested prompt.
Diffrerent Steps
To simplify the process and provide full context, replace the content of each step with the complete user story prompt.
Then, save and run to generate each step's artifacts.
Accept the Code.
Accept the Code
Generated Artifacts
Create a new Fiori elements Application.
Fiori Elements Application
Click run to preview the Application.
Run the Application
The application’s preview is displayed.
Application Preview
Launch the contract management app.
Contract Management
Select a contract from the list to view its details.
Select Contract
Contract details
The journey from user story to a functional, full-stack application—once a multi-day endeavor—is now accomplished in minutes.
With SAP Build Code and its AI copilot, Joule, this dramatic acceleration signals a fundamental paradigm shift.
The developer's role is being elevated from the meticulous craft of writing code to the strategic art of guiding its creation.
Joule operates as the quintessential collaborator, executing the foundational groundwork to liberate developers to focus
on high-value business logic and innovation.
SAP Build Code is therefore more than a tool; it's the dawn of an era where the speed of technology finally
matches the ambition of business.
#SAPBuildCode #Joule #SAPBTP
______________________________________________________________________________________________
Best Regards,
Anuradha Dhingan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 38 | |
| 21 | |
| 19 | |
| 18 | |
| 18 | |
| 18 | |
| 17 | |
| 16 | |
| 16 | |
| 14 |