首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >SAP独立不起作用吗?

SAP独立不起作用吗?
EN

Stack Overflow用户
提问于 2018-08-10 10:12:55
回答 1查看 1.3K关注 0票数 0

我想实现SAP而不使用。Fiori Launchpad没有安装在系统上,也不会安装。我找到了一些像这样的文章:https://blogs.sap.com/2015/07/14/how-to-run-my-inbox-app-in-standalone-header-less-mode/

在浏览器中启动以下URL: https:///sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=&sap-ushell-config=headerless#Shell-runStandaloneApp?sap-ushell-SAPUI5.Component=cross.fnd.fiori.inbox&sap-ushell-url=/sap/bc/ui5_ui5/sap/ca_fiori_inbox&

但这也需要Fiori Launchpad启动和运行。MyInbox只是一个网络应用程序。所以它应该通过一个特定的链接运行。我试着测试来自SICF的服务CA_FIORI_INBOX,但只是获得HTTP404。

系统别名等正在启动和运行,收件箱在本地网关上运行。

有人可以告诉我,如果没有就可以运行MyInbox?

EN

回答 1

Stack Overflow用户

发布于 2018-08-13 14:58:22

(图)在WebIde中将独立的收件箱作为web应用程序运行

您所指的url是一个fiori发射台。

将此index.html文件添加到与component.js相同的目录中,并运行index.html文件。

代码语言:javascript
运行
复制
***<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta charset="UTF-8">
		<title>My Inbox</title>
		<script id="sap-ui-bootstrap"
			src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js"
			data-sap-ui-libs="sap.m"
			data-sap-ui-theme="sap_belize"
			data-sap-ui-compatVersion="edge"
			data-sap-ui-resourceroots='{"cross.fnd.fiori.inbox": "./"}'>
		</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 : "cross.fnd.fiori.inbox"
					})
				}).placeAt("content");
			});
		</script>
	</head>***

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

</html>

Genarally Fiori应用程序使用Component.js文件从fiori运行。fiori发射台充当这个应用程序的容器。要独立运行,我们需要html。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51784192

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档