Conversion of where clauses should not split SAP system variables like "sy-datum"
说明
Steps to reproduce:
Create a user defined extension selecting data from a table using a where clause like this:
<?xml version="1.0" encoding="UTF-8"?><SAP> <Tables> <TABLE Definition="TableHRP1000" TableName="HRP1000" Key="OBJID,BEGDA,ENDDA" X500="CN,OU,OU" SQL="MANDT EQ sy-mandt AND OTYPE EQ 'O' AND LANGU EQ 'E' AND (ENDDA BETWEEN sy-datum AND '99991231') AND BEGDA LE sy-datum" Load="OTYPE,LANGU,STEXT"/> </Tables> <SAPExtendedSchematypes> <SAPExtendedSchematype DeleteObjectDefinition="" InsertObjectDefinition="" ReadObjectDefinition="TableHRP1000" ListObjectsDefinition="TableHRP1000" DisplayPattern="%OBJID% - %STEXT%" Name="CCC_HRP1000" Bem="Table HRP1000"/> SAPExtendedSchematypes> </SAP>
That results in the following Error message:
A condition specified at runtime has an unexpected format.
原因
This is a product defect (36869).
解决办法
WORKAROUND:
None
STATUS:
This will be fixed in a future release of the product. If you require this immediately corrected, please contact support for a hotfix referencing the defect ID 36869.