Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2014 at 09:57 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.