on 10-14-2016 2:55 PM
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
@AbapCatalog.sqlViewName:'Z_TST11'
@AbapCatalog.compiler.compareFilter:true
@AccessControl.authorizationCheck:#CHECK
@EndUserText.label:'data defination with view'
@OData.publish:true
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,
b.afnam,
a.aenam
}
where a.matnr =$parameters.p_matnr;
Regards,User | Count |
---|---|
74 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.