如何查找DataSource和table的mapping?

本文介绍在使用BIContent时查找数据源与表之间映射关系的方法,包括通过数据源查找表和字段,以及通过表和字段名查找数据源的具体步骤。还提供了查找前台界面背后表和字段的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

相信,大家在使用BI Content的时候,经常需要查找DataSource和表之间的mapping关系,一些经验分享一下。

第一种情况,通过DataSource查找表和字段。

1. 标准数据源的话,直接去BI Content Library 搜索,一般都可以找到对应的表和字段。

2. Google 关键词: Datasource Name + "Table" or "Field",例如 搜索0customer_attr table 可以找到0customer对应的表

3. 自定义数据源,直接去RSO2里面看。

4. RSA3里进行模拟抽数,ST05打开SQL 跟踪。

5. LO的数据,直接去LBWE看extraction structure的定义

第二种情况,通过表和字段名查找DataSource

1. 在BI Content Library里搜索表和字段名

2. Google 关键词: Table/Filed Name +" Datasource"

3. 在R3中,SE16 查找表ROOSFIELD, 可以看到field和datasource的mapping。

4. 在R3中,SE16查找表ROOSOUCE可以看到所有DataSource的基本信息

5 .在BW中,SE16查找表RSOSFIELDMAP 可以看到DataSource的Field和InfoObject的mapping

补充:如何查找前台界面背后的表和字段?

在第二种情况中,有时用户是不会告诉你数据来自那张表那个字段的,他们只会告诉你前台操作上,他们用哪个t-code查看他们需要的数据。这个时候,有以下方法查找背后的表和字段:

1. 问function顾问,这个是最快的。

2. 按输入或显示界面按F1,然后查看tech. infomation,可以看到背后的Prgroam,表和字段

3. 2不好使的时候,可以分析program的源代码,然后看其访问的表。

4. SE11,在输入表名称的地方按F4,然后通过描述关键词找你需要的表和字段。这个需要你对业务有点了解,能提炼出正确的关键词。

5 Google是万能的

Sat Jul 12 13:54:18 CST 2025 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification. 2025-07-12 13:54:18 [INFO]-[Thread: main]-[com.alibaba.druid.pool.DruidDataSource.init()]: {dataSource-4} inited Can not create Table object, maybe the table sys_param is not exists. com.jfinal.plugin.activerecord.ActiveRecordException: java.lang.RuntimeException: Model mapping already exists : com.dream.model.SysParam at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:55) at com.jfinal.plugin.activerecord.ActiveRecordPlugin.start(ActiveRecordPlugin.java:226) at TESTAdminHomeCtrl.init(TESTAdminHomeCtrl.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.junit.runner.JUnitCore.run(JUnitCore.java:157) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:231) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55) Caused by: java.lang.RuntimeException: Model mapping already exists : com.dream.model.SysParam at com.jfinal.plugin.activerecord.TableMapping.putTable(TableMapping.java:39) at com.jfinal.plugin.activerecord.TableBuilder.build(TableBuilder.java:48) ... 26 more
最新发布
07-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值