on 03-25-2015 9:05 AM
Hi ,
I am looking for a way to write back to BW cube using HANA stored Procedure and not use the traditional approach
where we fetch the data as output using stored procedure and write that to BW cube using traditional write back approach .
Is it possible to write back to cube considering it is not a flat structure using simple insert sort of statement which we can do with DSOs?
Best Regards,
Rakesh
Hi Rakesh
Inserting data to a cube (even if its hana optimized) is a bit more complex than inserting data to a dso. In case of a DSO a simple insert is enough, since it contains the actual values. The cube however and its fact table does not contain the values, but the SID-s of the corresponding characteristic values. This makes a data upload to a cube via direct SQL statements too complex.
br
Roland
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yepp exactly. Before the insertion all characteristic values are converted to SID-s.
The reality however is not that simple, since many checks are done during the cube update. One of these is the time consistency check, which checks if the data for the time dimension is consistent or not. In case of non-cumulative scenarios this is essential.
As of now, its not possible to check this purely with DB tools and therefore there is no stored procedure available to do this from DB level directly. For the same reason its not possible to use HANA executions on DTP-s whic has cubes as a target.
Do you really need to use a cube?
If it's a BW 7.4+ system, consider populating a table in HANA and creating an openODS on top of it and a composite provider if you want to emulate your old cube.
If you can't due to license issues, just write back to a regular aDSO and create the composite provider on top of it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rakesh,
Check this blog on how to consume procedures
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rakesh,
As far I know there is no simple way to write back to a cube.There are few options
1) Realtime enabled cube --> using Integerated Planning ,with your own custom planning function(your stored procedure) you can write back to cube.
2) As a workaround make your stored procedure to write to a table,then build open ODS on top of the table and consume the DATA.
Hope this helps..
Thanks & Regards
A.Dinesh
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.