Skip to Content
Aug 21, 2020 at 11:36 AM

Issue with LastChangeDateTime filter in Order Odata API


Hello Experts, I am trying to filter for the Orders that have changed since my last request. example: https://host/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder?$filter=LastChangeDateTime gt datetime'2020-08-01T00:00:00' But I get the error :"value": "Invalid parametertype used at function 'gt' (Position: 20)" If I try with CreateDate or withLastChangeDate it works the problem is thatLastChangeDate only captures actual changes to the document and does not capture status changes so I really need the LastChangeDateTime. I have tried multiple versions of the date time string I found on the web the majority gives wrong token or the same result. Any idea why this is happening ? Best regards,