cancel
Showing results for 
Search instead for 
Did you mean: 

How to use dynamic sql procedure inside odata service

0 Kudos

Hi,

     I have created one catalog procedure with dynamic sql statements. I need to use this procedure inside ui5 control so i need to use the procedure with odata service. Is there anyway to use the procedure call inside odata service definition.

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>Is there anyway to use the procedure call inside odata service definition.

No, there is no direct way.  Instead you wrap your procedure in a calculation view and then use the calculation view as the source of the OData service.  XSODATA only supports tables and views as the entity source.

sreehari_vpillai
Active Contributor
0 Kudos

Hi sujitha, are you using netweaver gateway to expose OData or XS services ? sree

0 Kudos

Hi Sreehari

     I am not using any netweaver gateway