cancel
Showing results for 
Search instead for 
Did you mean: 

2 DTP's, how to read 1st DTP values in end routine of 2nd DTP

Former Member
0 Kudos

Hello All,

I am trying to do some changes in the cube values from 2 different DTP's

e.g. 1 DTP has 3 fields

F1     F2     F3

2nd DTP has

F1     F4     F5

My cube should have F1, F2, F3, F4, F5

How can I read 1st DTP's values already in the cube when processing 2nd DTP data. I am trying to do it in End routine but how can I get whats there in the cube already

Regards

Krishna

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Directly reading values inside cube is not possible, cube is nothing but different tables inter-related with each other like master tables (SID tables) and dimension tables (textual values with DIM ids for measures in cubes). Master and dimension tables are connected with each other through SID/DIM ids and Fact tables (where you have values for your key figures) are connected with DIM Ids with dimensions.

Here your requirement is not really clear if you want to have single line added with two DTPs, that is not possible since first DTP will add row with 3 fields and second DTP will append second row again with 3 fields.

You might want to work here with DSO which should be standard as you need to have keys to work on so that you can overwrite based on keys.

1. Create final(standard DSO with some key fields) DSO with these 6 fields.

2. Do a look up to fill these fields.

3. Do a one to one  mapping from DSO to cube.

Thanks & Regards,

Mahen