Push down SELECT-OPTIONS to HANA
Hi all, I'm optimizing a long-running ABAP report that uses some SELECT-OPTIONS/RANGES for SELECTS that are currently implemented as OpenSQL queries in the ABAP report itself. Example: SELECT-OPTIONS:...
View ArticleRe: Push down SELECT-OPTIONS to HANA
Hi Thorsten, For Question 1 and on ABAP side: I've seen this question (and possible workarounds) a few times. Have a look at fm: RSDS_RANGE_TO_WHERE and FREE_SELECTIONS_RANGE_2_WHERE For the HANA side...
View ArticleRe: Push down SELECT-OPTIONS to HANA
Hermann, Thanks a lot - that's already quite helpful. RSDS_RANGE_TO_WHERE happens to have the restriction that the fieldnames must be valid as names of components of an ABAP structure, e.g. generating...
View ArticleRe: Push down SELECT-OPTIONS to HANA
Oh my, I missed the fact that both function modules convert RANGES to WHERE clauses that are OpenSQL compliant but not Native SQL (for HANA) compliant. This is obvious when the generated WHERE clause...
View ArticleRe: Push down SELECT-OPTIONS to HANA
Hi Thorsten, i used it a few times with native SQL and never stumbled about that (probaly i had no "not equal" there... hm... . Kind regards, Hermann
View ArticleRe: Push down SELECT-OPTIONS to HANA
Hi Thorsten, I had this post as bookmark just in case there would be more discussion on this. This is something i could come up with to convert Select Options into Native SQL for HANA. Probably you...
View ArticleRe: Push down SELECT-OPTIONS to HANA
Hi Thorsten It is a old post ( 2 months ) and I think you have already found the solution. If not , then you can check the below solution . There's a new class CL_LIB_SELTAB in the package...
View ArticleRe: Push down SELECT-OPTIONS to HANA
data: vint type int.SELECT-OPTIONS: S_NAME FOR VINT. DATA: VSTRING TYPE STRING. DATA: VCOUNT TYPE I LOOP AT S_NAME . CONCATENATE S_NAME-LOW VSTRING INTO VSTRING SEPARATED BY ',' ENDLOOP....
View ArticleRe: Push down SELECT-OPTIONS to HANA
Hi, We also had the same question but when checked with SAP, they mentioned that-- There is no difference in the Performance fetching data from Dictionary View and Fetching data from HANA View via...
View Article