cancel
Showing results for 
Search instead for 
Did you mean: 

Date format in Request URL

former_member192971
Participant
0 Kudos

Hello Experts,

Can anyone let me know passing Date as Input Parameter in Odata Request URL. I tried with different formats . I am getting repsonse as "Invalid parametertype used at function 'eq' " . In structure declaration Date field Edm.Core Type is Edm.DateTime and for Abap type tried with both Data Element and InternalType . In Back-end, RFC with Input Date is having Date with type ERDAT. 

Appreciate your help.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

arunchembra1
Participant

Hi Uday,

Pass like this : /?$filter=(ToDate eq datetime'2013-12-23T00%3A00%3A00' ) .

Thanks,

Arun

ChandraMahajan
Active Contributor
0 Kudos

Hi,

Refer this thread on date format. also you can see blog where you will find how date is being passed to GW service.

I hope using this information, you will able to resolve your issue.

Regards,

Chandra