任何人都可以介绍 SAP BusinessObjects BI 4.0 中自定义 Java Web 应用程序集成的分步指南(使用 BI Tomcat6)。我在互联网上找不到任何解决方案,遗憾的是。例如,在我的自定义应用程序中,我希望获取 SAP 用户并在整个 .jsp 文件中显示它。有什么建议吗?
提前,谢谢!
最佳答案
创建自定义应用程序来与 SAP BOE 对话和交互总体上非常简单。您需要的所有库都可以在
代码的基础知识将包括:
// Get logged in
ISessionMgr sessionManager = CrystalEnterprise.getSessionMgr();
IEnterpriseSession enterpriseSession = sessionManager.logon(user, pass, cms, authType);
// Get the IInfoStore to look at the CMS database
IInfoStore infoStore = (IInfoStore) enterpriseSession.getService("InfoStore");
IInfoObjects infoObjects = infoStore.query("select * from CI_INFOOBJECTS where SI_NAME='FRED'");
// do things with the results here
// Log off the session
enterpriseSession.logoff();
有关更多信息,最好阅读 SAP 的 SDK 文档。这将为您提供有关与 IInfoStore 交互的更好信息。对 SAP BOE 的调用可以通过标准 Java 应用程序或 Java EE 应用程序完成,因此只要您不尝试将更改直接集成到 BI LaunchPad 或 CMC 中,它应该非常简单。
对于 SAP 提供的 Tomcat 下的部署,我建议阅读以下 StackOverflow:How can I deploy war in Tomcat 6
关于java - SAP BusinessObjects BI 4.0 中自定义 Java Web 应用程序的集成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15785443/