Ramblings over Rank Node, ABAP vs HANA SQL Data types and Activation error for DSO with only Key Fields
Rank Node : We have new node type introduced in calculation views, Rank Node. This serves the same purpose of Exceptions from Bex. Instead of swamping user with lot of data, we could restrict to display only TOP N values. The value of N could be fixed or based on a input parameter. In addition to Calculated, Restricted Attributes/ Measures , Rank node will further enhance OLAP toolkit of HANA Appliance.
Temporal Join :
ABAP vs HANA Native Data Types : Every table in SAP will have two definitions. ABAP run time object and Database Object. From SE11, we can navigate to both and you can spot differences between them. reason being, ABAP Language comes with some native data types. Examples being DATS, TIMS, CUKY, UNIT, CURR etc. These data types will mapped onto underlying Database native data types. Hence we have two representations of same object. Database interface helps us in converting Open SQL queries into underlying Database SQL.
Lets shift our focus to Importing BW models into HANA Studio. While we import, ABAP data types will be converted to HANA native data types. DATS will be mapped to NVARCHAR of length 8. Also all the DSO active, Cube underlying tables contains DATS as NVARCHAR(8).
This hinders us form using Temporal join to model Transaction data based on Time-Dependant Master data. Example being connecting Time-dependent Customer master data from Q table and Sold-to Party from Sales Line items DSO Active table. As Temporal joins works only with Fields of type SQL Date, Timestamp.
Enriching these tables with Time Dimension(Generated Time data) doesn't help us, as Temporal join requires the Key field coming from Key table of data Foundation and DATE_FROM and DATE_TO coming from other single table.
DSO active table. generating external HANA view from RSA1(PUSH) and Importing BW models into Studio(PUSH); all the ways we have DATS as NVARCHAR8. We have gone ahead with Script based calculation to achieve.
DSO with only Key Fields(Weirdo):
This is peculiar situation we encountered. We have a DSO with only key fields and No data fields. As we moved onto BW 7.4 on HANA Rev 95, Change log started behaving differently, adding Before and after images although there is no change in key fields. As we are doing full load daily with 5 million records, it is adding daily 10 million records to change log and these 10 million will be considered while loading it to data target. This shot up run times from 20 min to 3 hours. Previously while on oracle, DSO activation used to identify delta records correctly and populates Before/After for only changed records. With the new DB activation procedure, it seems the peculiar case of DSO with only key fields doesn't work. However adding a constant data field make it works fine.
Temporal Join :
ABAP vs HANA Native Data Types : Every table in SAP will have two definitions. ABAP run time object and Database Object. From SE11, we can navigate to both and you can spot differences between them. reason being, ABAP Language comes with some native data types. Examples being DATS, TIMS, CUKY, UNIT, CURR etc. These data types will mapped onto underlying Database native data types. Hence we have two representations of same object. Database interface helps us in converting Open SQL queries into underlying Database SQL.
Lets shift our focus to Importing BW models into HANA Studio. While we import, ABAP data types will be converted to HANA native data types. DATS will be mapped to NVARCHAR of length 8. Also all the DSO active, Cube underlying tables contains DATS as NVARCHAR(8).
This hinders us form using Temporal join to model Transaction data based on Time-Dependant Master data. Example being connecting Time-dependent Customer master data from Q table and Sold-to Party from Sales Line items DSO Active table. As Temporal joins works only with Fields of type SQL Date, Timestamp.
Enriching these tables with Time Dimension(Generated Time data) doesn't help us, as Temporal join requires the Key field coming from Key table of data Foundation and DATE_FROM and DATE_TO coming from other single table.
DSO active table. generating external HANA view from RSA1(PUSH) and Importing BW models into Studio(PUSH); all the ways we have DATS as NVARCHAR8. We have gone ahead with Script based calculation to achieve.
DSO with only Key Fields(Weirdo):
This is peculiar situation we encountered. We have a DSO with only key fields and No data fields. As we moved onto BW 7.4 on HANA Rev 95, Change log started behaving differently, adding Before and after images although there is no change in key fields. As we are doing full load daily with 5 million records, it is adding daily 10 million records to change log and these 10 million will be considered while loading it to data target. This shot up run times from 20 min to 3 hours. Previously while on oracle, DSO activation used to identify delta records correctly and populates Before/After for only changed records. With the new DB activation procedure, it seems the peculiar case of DSO with only key fields doesn't work. However adding a constant data field make it works fine.
Comments
Post a Comment