cancel
Showing results for 
Search instead for 
Did you mean: 

Fetch Data from Services to .HTML File SAP Cloud Sdk for Js

10-02-2023 1:05 PM
tungnx Explorer
3938 views 3 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi Experts,
I was try using Sap Cloud SDK for JS To create side by side web app call S4Hana Cloud services on Sap BTP Cloud Foundry.
This template used TypeScripts and Js
This run fine but i have a question that, how can I using MVC model like using data from API, Services, .. to get in my UI <Ex: a .HTML file>?
There are any Demo project, This is my Git hub Link where you guys can check out my project and help me how to call a .Html file on path /saleorderapp and in .controller file
Best Regard

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Hey Tung,

can you try to explain, what exactly you are trying to achieve? The SAP Cloud SDK SDK is a tool for backend, with a few tweaks you can use it in the frontend, but this might not work the way you expect it. Please check out the documentation for details: https://sap.github.io/cloud-sdk/docs/js/getting-started

Regards,

Marika

tungnx
Explorer
0 Likes

Thank you for reply me,
I have done the link you gave above and it works fine but its just for back ends
Now I want to write front-end based on SAP Cloud SDK, like a web app for e-invoice or somethings like that
Can you please give me some examples, or git hub link, documentations, ... etc For Building Front-End base on its ?

tungnx
Explorer

Problem has been solved,
I'm Using NestJS and Handlebar to create front-end for this back-end sap cloud sdk
Thanks

Answers (0)