- In the Cline panel, choose Plan Mode.
-
Copy and paste the following prompt into the task input:
Generate a new CAP project and SAP Fiori app based on following Figma design. Include technical key and business key for all entities. Use MCP servers and follow all rules. <Copy and Paste Figma screenshot(png) for Screen 1 - List Report here> -
Open Figma, right-click on "Screen 1 - List Report" -> Copy/Paste as -> Copy as PNG
Note
Refer to ex 1.4 Export your designs to copy Figma PNG for list report.
-
Press
Enterto execute the task. -
Cline prepares an Implementation Plan using the AI model and MCP servers.
- During preparation, Cline may request approval to use MCP servers.
- Click Approve.
- After executing 20 API requests Cline needs manual approval click to proceed.
If you face terminal issue as shown below
- Cline remains pending and commands (such as
npm install) are not executed in the VS Code terminal.
Solution: Toggle between Act and Plan mode, then click
Resume Task.Solution:
- Cline may ask additional questions to prepare the plan. Enter the following information only if cline asks for it:
- Would you like to specify a project name?
travel-management - Would you like to provide a Fiori app name?
process-travels - Would you like to include sample data?
yes - Would you like to specify any additional features beyond what's shown in Figma?
no additional features required beyond figma design
- Would you like to specify a project name?
- Once the implementation plan is ready, review it.
Note
The implementation plan generated by Cline may differ from the example shown below. Below image is just for reference.
-
Switch to Act mode.
-
Cline executes the implementation plan with the following steps:
-
Cline runs the command automatically to initialize your CAP project:
cds init travel-management -
Uses the cds-mcp server to generate the data model and service. When prompted, click Approve to allow this action.
-
Before saving the generated data model to your project, Cline will ask you to review and confirm the content. Click Save to proceed.
-
Note
To Auto-approve future save requests -> Activate both Edit project files and Edit all files as shown below.

-
Cline creates sample data files automatically (in .csv format) for your project.
-
After the app is generated successfully, Cline installs all required dependencies for your project:
cd <project-name> && npm install -
Finally, Cline starts the application for you:
cd <project-name> && npm run watch-<project-name>
- After completing all the planned steps, the application should automatically open in your browser, displaying a travel list report application that matches the Figma design.
Note
Windows security may ask 'Do you want to allow public and private network to access this app'. Click on Allow
-
Application preview does not open automatically in the browser:
- Close current task and start new task.
- Enter prompt
Preview application - If the issue still exists, then you can start watch script manually.
- Open the
package.jsonfile. - Right click on watch script and select
Run Script.
- Open the
-
If the application prompts for authentication, use username:
dummyand password:dummy -
In the browser, If your application does not load or displays a blank page:
-
Open Developer Tools in your browser to check the error message.
-
For a 404 error, enter the prompt:
Error: Could not load metadata: 404 Not Found- Press
Enterand Cline will fix the service URL path issue.
- Press
-
For a 200 error, enter the prompt:
Check if the EDM JSON expression ($edmJson) syntax is incorrect and validate it using CAP MCP. -
If the issue still exists, enter this prompt:
Remove all instances of EDM JSON ($edmJson) expression syntax from the code.
Continue to - Exercise 2.1 - Enable automatic data loading in List Report










