cancel
Showing results for 
Search instead for 
Did you mean: 

Table functions vs Scripted views

vinayakgole
Active Participant
0 Kudos

Hi Everyone,

SAP has recently mandated that table functions are the way forward instead of scripted views for any development on HANA.

Could anyone please let me know the reason and the rationale behind this? When I converted a scripted view to a table function, the performance was nearly the same

Thanks

Vinayak

Accepted Solutions (0)

Answers (2)

Answers (2)

anindya_bose
Active Contributor
0 Kudos

In one case , I had to use a Scripted CV within a Graphical CV.  I was getting wrong results .  I migrated Scripted CV to Table function and got correct results.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>When I converted a scripted view to a table function, the performance was nearly the same

That's the point.  The Scripted Calculation view was essentially just a Table Function already.  Why maintain two development objects and separate editors for two things which are basically the same. Development options are good if they are differentiating. But if they become largely redundant, having multiple options just adds complexity.