on 02-03-2016 4:59 AM
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.