SAP BusinessObjects Crystal Reports — 数据源来自哪里?

发布于 2024-12-11 14:58:19 字数 1715 浏览 0 评论 0原文

我对一个看似简单的理论问题感到困惑(我认为是这样),这个问题是关于 SAP BusinessObjects / Crystal Reports 存储其数据源的,以帮助我更改它们以与我们新升级的 Maximo 集成。

一句话摘要:我找不到 SAP BusinessObjects 或 Crystal Reports 缓存其数据源信息的位置,因此我无法更改它;我所能看到的只是一个数据源名称,而没有任何关于其服务器/端口等的信息。

简要背景:

  • 我是 Crystal Reports 和 Maximo 的新手,但不是企业系统、开发或一般报告
  • 我来到一家使用 Crystal Reports 与 IBM Maximo 资产管理(在 Oracle 数据库上)集成的公司
  • 唯一设置它的人已经走了,几乎没有文档
  • 我本质上是在清理混乱,但我们要去通过升级,我必须了解这个系统才能使升级后即可使用。
  • 我不能保证我们的设置的任何内容都是“标准”或接近最佳实践。

问题

  • 我们正在将 Maximo 系统 (5.2) 升级到新版本 (7.1)。
  • 我们有大约 150 个水晶报表查询这些(较旧的)系统,我需要将它们指向新数据库进行测试
  • 当我查看单个水晶报表的数据源(从文件系统打开)时,数据源似乎已缓存(只有数据源名称“Maximo”、用户名和密码)。
  • 我找不到这个难以捉摸的“Maximo”数据源所在的位置。我在 Crystal Report 文件、SAP BusinessObjects 网站或服务器上找不到任何内容真正指向数据库的实际位置,以便我可以更改它。

我搜索过的地方:

  • 服务器上的 ODBC 连接: 这可能很有希望,所以我会带头,但我不是从这里开始的。 oracle服务器上有一个ODBC连接,名为“MAXPROD”,但它也不指示服务器信息;它只是说服务器是“MAXPROD”,带有用户名和密码字段。没有任何其他有关连接的迹象。
  • 在 Crystal Reports (.rpt) 文件中:在数据源选择屏幕上,初始选项是选择数据源,但列出的数据源均与 Oracle 或 Maximo 无关(这是有道理的,因为我的计算机没有任何本地 DSN)。但是,如果单击“下一步”,我会看到缓存的服务器信息以及 SID(“MAXPROD”)以及用户 ID 和密码字段。没有提及服务器名称、端口、驱动程序、数据库类型等。它似乎是缓存的 ODBC 信息,但我不知道它存储在哪里。
  • 在 .rpt 文件的源代码中: 运气不好,因为它不是文本文件。我希望它可能是纯 XML。
  • 在 tnsnames 文件中:我认为由于它是 Oracle DB,因此它可能存储在 tnsnames.ora 文件中,这就是 ODBC 和 Crystal 可能查找的位置。但我发现的唯一 tnsnames 文件是示例或专门用于不相关的数据源(不同的服务器等)
  • 在 BussinesObjects XI CMC 网站配置部分:再次,在这里我能够找到数据库连接,它允许我选择一个 ODBC 连接,但似乎有一个名为“MAXIMO”的缓存连接,我无法编辑。

我已经无计可施了。谁能想到我没有看过的地方,或者问题实际上是我如何看待这种情况?任何帮助将不胜感激。

I'm flummoxed with (what I believe is) a seemingly-simple theoretical question about SAP BusinessObjects / Crystal Reports store their data sources, to help me change them to integrate with our new upgrade of Maximo.

One Sentence Summary: I can't find where SAP BusinessObjects or Crystal Reports cache their datasource information so I can change it; all I can see is a datasource name and nothing about its server/port, etc.

Brief background:

  • I'm new to Crystal Reports and Maximo, but not enterprise systems, development, or reporting in general
  • I came in to a company that uses crystal reports to integrate with IBM Maximo asset management (on an Oracle database)
  • The only guy who set it up is gone, with little or no documentation
  • I'm essentially cleaning up the mess but we're going through an upgrade and I have to understand this system to make it work post-upgrade.
  • I can't guarantee that anything about our setup is "standard" or anywhere near a best practice.

The Problem:

  • We are upgrading our Maximo system (5.2) to a new version (7.1).
  • We have ~150 Crystal reports querying these (older) systems that I need to point to the new database to test
  • When I look at the data source for an individual crystal report (opened from the file system), the data source seems to be cached (only the data source name "Maximo", username and PW are there).
  • I can't find where this elusive "Maximo" data source is located. Nothing I can find in the Crystal Report file, in the SAP BusinessObjects web site, or on the server really points me to the actual location of the DB so I can change it.

Places I've Searched:

  • For an ODBC Connection on the server: This could be promising so I'm leading with it, but I didn't start here. There is an ODBC connection on the server for oracle, called "MAXPROD", but it too doesn't indicate the server information; it just says that the server is "MAXPROD", with a username and password field. No indication of anything else about the connection.
  • In the Crystal Reports (.rpt) file: On the data source selection screen, the initial option is select data source, but none of the data sources listed are related to Oracle or Maximo (makes sense as my machine doesn't have any local DSNs). However, if I click "Next", I see cached server information with the SID ("MAXPROD") and a field for user ID and password. No mention of the server name, port, driver, DB type, etc. It appears to be cached ODBC information but I can't tell where it's stored.
  • In the source of the .rpt file: No luck, as it's not a text file. I was hoping it might be pure XML.
  • In a tnsnames file: I figured since it's an Oracle DB, it might be stored in a tnsnames.ora file which is where the ODBC and Crystal might be looking. But the only tnsnames files I found were samples or were specifically for unrelated datasources (different servers, etc.)
  • In the BussinesObjects XI CMC web site configuration section: Again, here I am able to find a database connection, where it allows me to select an ODBC connection, but appears to have one cached called "MAXIMO" that I can't edit.

I'm at my wits end. Can anyone think of anywhere I haven't looked, or is the problem actually how I'm looking at the situation? any help would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

窗影残 2024-12-18 14:58:19

不幸的是,这个答案更多地与我们的企业架构有关,而不是与水晶报表和报表有关。 BIRT。

由于缺乏文档且普遍依赖内存,直到今天我才得知所有数据库服务器都在组织的 LDAP 中注册,并以这种方式进行查找。解释了为什么我从未见过 tnsnames.ora,以及为什么没有配置信息没有显示在任何地方,但似乎没有被缓存。

世界又变得有意义了。

Unfortunately, this answer has more to do with our Enterprise architecture than Crystal Reports & BIRT.

Due to the lack of documentation and general reliance on memory, I was not informed until today that all database servers are registered in the org's LDAP, and are looked up that way. Explains why I never saw a tnsnames.ora, and why no configuration information wasn't displayed anywhere and yet didn't seem to be cached.

The world makes sense again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文