Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Publishing an oData from CDS View with Parameters

$
0
0

Hi experts!

 

I have a CDS View with parameter that i want to publish as an oData service.

 

My view have two parameters:

 

     - GJAHR:GJAHR --> CHAR 04   

     - AFABE:AFABE_D --> CHAR 02

 

How i publish this CDS View in SEGW?

 

When i used an import by reference, it recognize the parameters, but when generating the class, i have an error (the class is generated with a blank type).

 

Ex.:

TYPES:

BEGIN OF tt_zcds_parameters.

INCLUDE TYPE . "no type is specified, and this generated an error in the class activating

 

Thanks!

Matheus Goulart


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>