cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR: No key property 'IP_DATE' exists in type 'ABC.DEMANDPLAN.InParameterType'

Former Member
0 Kudos

Hi Experts,

I have created a service on a calculation view with input parameter and while executing the service i have getting the below error.

No key property 'IP_DATE' exists in type 'IEVCS_PE.SERVICE_DEMO2.SRV_DEMANDPLAN.InParameterType'


SERVICE DEFINITION:


service {

  "IEVCS_PE.MODELS.CALC_VIEWS_DEMO2::CLV_DEMANDPLAN" as "DEMAND"

  key generate local "ID"

  parameters via entity "InParameter";

        }

URL:

xsabchana.ondemand.com/ABC.DEMANDPLAN.xsodata/InParameter(IP_DATE='2016-02-02')/Results?.

Calculation View:

Accepted Solutions (1)

Accepted Solutions (1)

former_member221711
Active Participant
0 Kudos

Hi Sanjeev,

First the error means your input parameter does not exits. Please be aware that the variable is case sensitive so use $metadata at the end of your ODATA URL to find out the input variable(upper or lower case).

Second in ODATA you are required to use datetime just before providing the value to your input parameter

eg: /InParameter(IP_DATE=datetime'2016-02-02')

Regards

Madhusudan

Answers (0)