Skip to Content
1
Jan 04, 2023 at 05:03 AM

Run a barebones SAPUI5 project in Business Application Studio

101 Views Last edit Jan 04, 2023 at 09:06 AM 2 rev

Hello Team,

There are lot of standard features/tools provided by SAP to generate a SAP UI5 freestyle projects. Some of the common ones are Yoeman, in-built wizards. I am a fan of though building everything from ground zero. Is there a way to test a very basic SAP UI5 project in Business Application Studio. Something like below -

I have a simple project myapp - webapp - index.html

The index.html contains the below code -

<!DOCTYPE html>
<html>
<head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Week1 - getting Started</title>
<script id="sap-ui-bootstrap" src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-libs="sap.m" data-sap-ui-compatVersion="edge" dat-sap-ui-preload="async"> </script>
<script> sap.ui.getCore().attachInit(() => { alert("SAPUI5 is ready!"); }); </script>
</head>
<body class="sapUiBody" id="content">
<p>Hello World!</p>
</body>
</html>

How do we test this within Business Application Studio locally? Thanks.

Best Regrads

Ravenclaw.