SAP Knowledge Base Article - Preview

3433467 - Edm.DateTime : "Invalid token detected at position X" or "Invalid parametertype used at function..."

Symptom

$filter Edm.DateTime property caused error.

Example 1:

?$filter=XX eq '2021-01-05T10:16:23'
error message:

Invalid parametertype used at function 'eq' (Position: 4) 

Example 2:

$filter=C2 eq 2021-01-05T10:16:23
error message:

Invalid token detected at position 6 



Read more...

Environment

SAP Gateway

Product

SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

Invalid token detected at position, Invalid parametertype used at function, datetime, Edm.DateTime , KBA , OPU-GW-COR , Framework , OPU-BSE-SB , Service Builder , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.