Skip to Content

CDS Odata generation with paramter without @odata.publish = true

Oct 14, 2016 at 01:55 PM


avatar image
Former Member

Hi team,

I have developed few CDS with paramters and not using the annotation @Odata.Publish = true.

I have generated the Gateway service with SEGW using Map to data source CDS option.

Any idea how paramter can be called with the entityset.

Code for CDS is as follows




@EndUserText.label:'data defination with view'


defineview Z_Test_12

withparameters p_matnr : abap.char(40)

asselectfrom mara as a

innerjoin eban as b

on a.matnr = b.matnr


key a.matnr,




where a.matnr =$parameters.p_matnr;

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers