Skip to Content
0
Former Member
Aug 17, 2016 at 01:50 AM

error in SAP WEB IDE 'SAP is not defined'

1798 Views

HI:ALL

I was creating app in local SAP web IED and deploy to sapui5 abap repository .it's success when I tried to run in local sap web ide,

but it's fail and error 'SAP is not defined' when I go to run 'test' index html in se80

<!DOCTYPE HTML>

<html>

<head>

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<meta charset="UTF-8">

<title>QuickStartApplication</title>

<script id="sap-ui-bootstrap" src="../../resources/sap-ui-core.js"

data-sap-ui-libs="sap.m"

data-sap-ui-theme="sap_bluecrystal"

data-sap-ui-compatVersion="edge"

data-sap-ui-resourceroots='{"QuickStartApplication": ""}'>

</script>

<link rel="stylesheet" type="text/css" href="css/style.css">

<script>

sap.ui.getCore().attachInit(function() {

new sap.m.Shell({

app: new sap.ui.core.ComponentContainer({

height : "100%",

name : "QuickStartApplication"

})

}).placeAt("content");

});

</script>

</head>

<body class="sapUiBody" id="content">

</body>

</html>


Please help me in resolving this.

thanks

Attachments

1.png (17.6 kB)
2.png (64.6 kB)