on 05-14-2009 2:28 PM
I am trying to do this really simple thing it involves taking my data from my infocube into an internal table in a routine.
I have gathered it is not good to refer to the Fact and Dimension table DDIC structures because at runtime these have not been activated and the routine will fail.
Does anyone have any really simple dynamic code in template format for getting data out of an infocube and into an internal table. Any example or actual code will help. Thanks!
Hi McCavoy ,
we can't get the data from the cube using routine because cube is not a flat structure .. and for a cube we will have the fact table and dim tables ... fact table contains the key figures and dim ids..
and dim tables contain dim ids and sids ....so what ever table u refer u cant get the data....
we can get the data from dso , master data infoobjects using routine into some other tables....so we can have a look up using a master data infoobject or a dso which is a flat structure but not from a cube,,,,,
Regards
vamsi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can create query on infocube and take all required data in query output. Create function module and write MDX on query and take required result in output which you can use in your internal table. I hope this will work.
Rgds,
Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.