Quantcast
Channel: SCN : Discussion List - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 6437

Validity period merging issue for time dependent master data

$
0
0

Hello All,

 

 

I am trying to load the data from DSO ZDSO1 to Master data object ZCASE1. Attribute "ZATR1" of ZCASE1 is the time dependent attribute of ZCASE1.

 

ZDSO1 contains "Changed On" field which defines the "Valid From" period for attribute "ZATR1" of case ZCASE1.

 

For eg.

 

ZDSO1 contains below records for Case 'C1':

 

Case ID     Changed On ZATR1

C1              01.01.2014     01

C1              02.01.2014     01

C1              02.15.2014     07

C1              02.17.2014     07

 

My transformation from ZDSO1 to infoobject ZCASE1 contains below mapping:

 

Case ID - Direct Mapping - ZCASE1 object

Constant value '12/31/'9999' - VALID TO field

Changed on - Direct Mapping - DATE FROM field

ZATR1 - Direct Mappint - ZATR1 object

 

 

After loading the data from ZDSO1 to ZCASE1 below results are obtained:

 

Case ID     VALID FROM VALID TO   ZATR1

C1             01.01.1000    12.31.2013  BLANK

C1             01.01.2014    01.31.2014  01

C1             02.01.2014    02.14.2014  01

C1             02.15.2014    12.31.9999  07

 

 

Time-Dependency is define correctly however my concern is why second and third records were not merged together. Instead of having four records, I should have ideally received THREE records. As shown above, third and fourth record (value 07) from ZDSO1 are merged into SINGLE record in infoobject ZCASE1.

 

For the subsequent data, it again does the same thing.

 

For eg. If I receive below Delta record from ZDSO1:

 

C1   03.01.2014 07

 

I get FIVE records in infoobject ZATR1 as shown below:

 

Case ID     VALID FROM VALID TO   ZATR1

C1             01.01.1000    12.31.2013  BLANK

C1             01.01.2014    01.31.2014  01

C1             02.01.2014    02.14.2014  01

C1             02.15.2014    02.28.2014  07

C1             03.01.2014    12.31.9999  07

 

In my understanding, BW system should have merged this Delta record with the last record present in infoobject because both the records have same ZATR1 value.

 

I would really appreciate your help/suggestions to understand/resolve this issue.

 

Thank You,

Nilima


Viewing all articles
Browse latest Browse all 6437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>