cancel
Showing results for 
Search instead for 
Did you mean: 

Call a custom Hana function from CDS view

former_member193202
Participant
0 Kudos

Hallo,

is it possible to create a function like (currency_conversion) , and to call this function like the currency_conversion form inside a cds view?

or is this only possible with currency and measure conversion ?

if so, will this someday be possible?

regards

oliver

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member193202
Participant
0 Kudos

so the 2 functions for currency and units that can be calles inside an cds view are special ones? is this correct? best regards oliver

Sean_Zhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

if the function could be called in a HANA object, e.g. HANA views, or Procedure, then it's possible.

but it's not straightforward to do that.

you have to use other part in the middle. e.g. the AMDP- ABAP Managed Database Procedure.

then with AMDP, you could use CDS table function to encapsulate the logic from the AMDP.

ABAP Managed Database Procedures

https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/abenabap_managed_db_proc_glosry.h...