I wrote a CDS view like below
define view z_cds_09 with parameters pon : ebeln as select from ekko join ekpo on ekpo.ebeln = ekko.ebeln and ekpo.ebelp = 10
And it has error ' Data type confilct for EKPO.EBELP', I also tried 'ekpo.ebelp = '10'' and still not working. So what's the correct way to compare a NUMC field? Thx.