BW:Read Master Data:如何规避Slowly Changing Dimension
2012-07-18 16:46
417 查看
正在装虚拟机,准备搞个Solution Manager给BW升升级,先尝试下。
凑这个功夫写点儿东西。
前段时间关注过TR(transfer rule)里面的read master data。
我们把一般的Rule Type 改成Read Master Data,会弹出个错误。
InfoObjects must be assigned to the DataSource fields
Message no. RSTRAN120
Diagnosis
Some source fields do not have an InfoObject assigned to them. However, you are using a rule type for which InfoObjects are mandatory sources, or you are using a unit conversion type or currency translation type.
Procedure
In the Source Fields area, fill the InfoObject Assignment field for each field that is being used as a source for this rule.
也就是说必须配合Data Source使用。
找一个带DataSource的,试试。
这是为啥呢,先说说这个Read Master Data啥意思吧
Read Master Data: The InfoObject is updated by reading a master data table of a characteristic, where the source contains a key and a value, and the corresponding InfoObject as an attribute.
来测试一下,先把0SOLD_TO的0INDUSTRY放进维度里。激活
这下清楚了,这个0INDUSTRY属性,可以走导航,在取数据的时候通过主数据的S表,读取P表中的数据。也可以在上载的时候,就去读P表,至于读谁的P表呢,就需要选一下了,我这里选0SOLD_TO,检查一下,SOLD_TO就被自动带过来,放在Field下面。之后呢,0INDUSTRY属性就被写死在这条数据里,即使以后发生变化,这里也不会随之变动了。
总结:
一般来说,我们如果把IO的属性放在维度里,就会变成Slowly Changing Dimension,就是说这个属性会随时变化,也就是今天是今天。
如果要存留今天是昨天的数据,就需要使用Read Master Data。不得不感慨,想得真周到啊…
之前我还以为这种情况要去增强呢~~~不过为啥不直接用导航呢,maybe..maybe...
凑这个功夫写点儿东西。
前段时间关注过TR(transfer rule)里面的read master data。
我们把一般的Rule Type 改成Read Master Data,会弹出个错误。
InfoObjects must be assigned to the DataSource fields
Message no. RSTRAN120
Diagnosis
Some source fields do not have an InfoObject assigned to them. However, you are using a rule type for which InfoObjects are mandatory sources, or you are using a unit conversion type or currency translation type.
Procedure
In the Source Fields area, fill the InfoObject Assignment field for each field that is being used as a source for this rule.
也就是说必须配合Data Source使用。
找一个带DataSource的,试试。
这是为啥呢,先说说这个Read Master Data啥意思吧
Read Master Data: The InfoObject is updated by reading a master data table of a characteristic, where the source contains a key and a value, and the corresponding InfoObject as an attribute.
来测试一下,先把0SOLD_TO的0INDUSTRY放进维度里。激活
这下清楚了,这个0INDUSTRY属性,可以走导航,在取数据的时候通过主数据的S表,读取P表中的数据。也可以在上载的时候,就去读P表,至于读谁的P表呢,就需要选一下了,我这里选0SOLD_TO,检查一下,SOLD_TO就被自动带过来,放在Field下面。之后呢,0INDUSTRY属性就被写死在这条数据里,即使以后发生变化,这里也不会随之变动了。
总结:
一般来说,我们如果把IO的属性放在维度里,就会变成Slowly Changing Dimension,就是说这个属性会随时变化,也就是今天是今天。
如果要存留今天是昨天的数据,就需要使用Read Master Data。不得不感慨,想得真周到啊…
之前我还以为这种情况要去增强呢~~~不过为啥不直接用导航呢,maybe..maybe...
相关文章推荐
- BW:Read Master Data:如何规避Slowly Changing Dimension
- BW:建模:Slowly Changing Dimension
- BW: 在Infoset中使用Read Master Data
- BW: Delete Master Data时的注意事项
- HR数据抽取:经过 Read Master Data 转换规则读取时间相关主属性数据HR数据抽取:通过 Read Master Data 转换规则读取时间相关主属性数据
- Reading Time Dependent Master Data using 'Read Master Data'
- 在循环中读取sqlDataReader.Read()中的所有列,数据类型如何转换?
- 数据仓库系列 - 缓慢渐变维度 (Slowly Changing Dimension) 常见的三种类型及原型设计
- CHECK DQ Issue in Slowly Changing Dimension
- [数据仓库--ETL]渐变维度(Slowly Changing Dimension)及其处理方法
- SSIS+数据仓库系列--- 缓慢渐变维度 (Slowly Changing Dimension) 常见的三种类型及原型设计
- Automate Master Data Loads from BW to BPC
- SSIS--- 数据仓库中实现 Slowly Changing Dimension 缓慢渐变维度的三种方式
- 大数据和人工智能如何改变网贷(How Big Data And Artificial Intelligence are Changing Online Lending)
- 缓慢变化维----slowly changing dimension 处理 办法
- How to handle Slowly Changing Dimensions (SCDs) in data model design?
- 如何阅读英文数据手册(How to read a datasheet)
- 缓慢渐变维度 (Slowly Changing Dimension) 常见的三种类型及原型设计
- 渐变维度(Slowly Changing Dimension)及其处理方法
- how to read data from web service ?(如何使用BMC Remedy Administrator 从Web Service获取数据?)