Hello,
i will discuss several points around Rolap cubes here
- Documentation
- example for SAP/4 HANA relational table including writeback
- my questions regarding writeback to relational database
Documentation (Board manual)
I found only partial information in the board manual regarding RDB cubes and writeback topics in the board manual (https://www.boardmanual.com/2021/summer/data-modeling/2_Database_design_functions/3_Cubes/creating-cube.htm). The topic “writeback” is only documented in relation with Nexel formulas, but not in relation with RDB cubes, unfortunately.
Therefore i had a look in the old board manual, where the section “rolap cubes” has more information (https://www.boardmanual.com/prev-man/Rolap_Cubes.htm)
My point of interest is: where is explained a) how to configure a RDB cube reading data from my relational (SAP/4 HANA) database and b) how i can use this cube to both:
- let the Board user enter data manually which is then directly stored in the relational (SAP/4 HANA) database
- set a dataflow which copies data from a MDB cube into the RDB Cube so that at the end the data from MDB cube is inserted into the relational (SAP/4 HANA) database.
The old manual tells well how to set up the RDB Cube to read data from the relational database, but i miss one point regarding the writeback ability: the relational table must have a primary key set on all dimension columns. Otherwise the user can write something in a dataview in the rolap cube, but when saving the entry, the old value comes again and has not been updated.
@ all who update the manual, i would suggest to make the hint visible. I got this “idea” of primary key only through the workaround of creating the relational table in the underlying relational database direct from the RDB cube interface (Tabelle erstellen on the picture below)
I suggest to indicate directly in the manual something like:
“⚠️ if the relational table already exist, make sure it has a primary key defined by the combination of all relational columns which are later in Board the dimensions of the RDB cube, otherwise the writeback Board → relational database won't work”
example for SAP/4 HANA relational table including writeback
i have one table in the source database (SAP4/HANA) having only 1 record. the column VALUE is the one later shown by the RDB cube in Board:
I can:
- see this value in Board.
- If the user updates the value in the dataview (the RDB cube is "Rueck_T_FLOW_PNL_MOVEMENTS", it is updated back in the SAP/4 HANA table ✅
- But i am not able to insert any new data while drilling down to the lowest level. I write the value 123465 in a call, click on save.
but after refreshing, the cell is empty again and no value is inserted in the relational database.
I tried another way for inserting data, namely by using an easy dataflow RDB cube (Target) = MDB cube (source)
This doesn't work either.
if it helps your analysis, here the Writeback option of the RDB cube
Questions
how is it possible to enter data
- manually in Board as a user in a screen
- per procedure via Board dataflow (RDB cube receives data from MDB cube)
in a RDB cube which is therefore directly inserted in the relational table behind the RDB cube?
—
My current Board version is 12.2.0.0.67608
Many thanks for your help