As we all know, SAP implemented the /IWBEP/IF_MGW_EXPR_VISITOR interface to translate ODATA $filter expressions into OPEN SQL WHERE expressions, which comes in handy when implementing query methods to the persistence layer in the DPC class. The implementation has been done in class /IWBEP/CL_MGW_EXPR_OSQL_VISTR and is exposed via the method GET_OSQL_WHERE_CLAUSE in interface /IWBEP/IF_MGW_REQ_ENTITYSET which can be accessed via the object IO_TECH_REQUEST_CONTEXT, which is part of the signature of every GET_ENTITYSET method.
Does anybody know, whether SAP is planning to support the syntax for where conditions of internal tables to query and filter calculated data instead of persisted data?