I am new to HANA and my requirment is Case insensitive Search functionality on group of custom tables which are in HANA DB. User enters the word(string) in UI5 screen and this will be available in some Z object in abap.
Using that string, case insensitive search must be applied on group of custom tables which are internally linked .
Issue with Joining the tables :
The problem is data type is not compatible when joining the two tables (Casting is possible while joining? It was giving error when creating cds view with join )
I started up with two approach :
(bottom-up approach ):
Create graphical hana view with combination of attribute view and simple calculation view (using joins and set the properties of attribute views columns as free style search as true)
To consume this view created external view and called in report . but problem is how to pass the string with wildcard in report or any other way to put wild card string search in hana studio?
I also created store procedure by combining the z tables but join is not executing because of data type is not matching in JOIN condition . In store procedure I tried to use UPPER function with string on ztable(not a view) the wild character search is happening.
Can I create a store procedure on calculation view? If yes please give some input.
In eclipse abap editor (top-down ):
I tried to create CDS view with joining two tables (but same issue with type compatible issue). So I tried just fetching data from z table without any join and activated the cds view.
Created ABDP procedure method in ZCLASS and tried to consume this CDS view . but facing some issues like cds view is not found.
So please give me some overview solution how can I proceed further for this functionality .
If any other way to implement this requirement ?
Kindly help me out in this.