Can you create aggregate on ODS or multi provider?
Answer Posted / lam nguyen
I am inclined to say "yes". If you have an aggregate on an
InfoCube that is
an Involved InfoProvider in a MultiProvider, the aggregate
will be used if
you query on the MultiProvider.
Now, I know we're not in a "court of law" here, so if
anyone sees a flaw or
an error in my explanation, please feel free to correct
me. :-)
I am basing my answer only on my experience debugging the
SAP function
module RSDRI_INFOPROV_READ. This API contains many
parameters, including a
Boolean called "i_use_aggr_cubes" which automatically
defaults to TRUE.
Another parameter in this API is i_cubetype. If you have a
Basic cube the
value is 'B', if it's a MultiProvider the value is 'M'.
When RSDRI_INFOPROV_READ is called for i_cubetype = 'M',
the following
sequence will (or should) take place:
- Function RSDRI_INFOPROV_READ (i_cubetype = 'M',
i_use_aggr_cubes = TRUE).
- Function RSDRC_CUBE_DATA_GET.
- Form DATA_GET --> There is a "CASE i_cubetype" statement
here!
- Function RSDRC_MULTI_CUBE_DATA_GET --> because of the
CASE statement
above.
- Function RSDRC_MULTI_CUBE_DATA_GET_PARA (if parallel
processing is
allowed).
- Form GET_MULTICUBE_INFO --> This determines the Involved
InfoProviders and
which of these need to "participate" in the query.
At this point, there is a LOOP on the Participating
InfoProviders and a call
to Form ADJUST_INPUT_FOR_MULTICUBE for each of the
Participating
InfoProviders. If there is an aggregate on the Basic
InfoCube it should find
it and use it.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is high cardinality tell me brief
How will you add buttons to a template?
How can a cube have partitioned for which the data already exists?
What is authorization processing type?
What are conversion routines for units and currencies in the update rule?
Do you have any idea how to improve the performance of the bw?
How would you optimize the dimensions?
What is a content extraction?
What is the structure of infocube?
You have 3 cube for which you create multiprovider and a report. The data doesn't show up in the report. What went wrong?
How to gathering the requirement
What is data flow in bw/bi?
What internally happens when bw objects like info object, info cube or ods are created and activated?
What is rowlevel security ? can u please explain with real time example?
What is a validity determining characteristic?