Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP 语法中用中文作为模糊查询的问题请教

在对供应商名称LFA1~NAME1字段用中文进行模糊查询,比如输入:,但是供应商名称中不含u201C欣u201D字的也会出来,这是为什么呢?

Former Member
Former Member replied

REPORT ZTESTLFA1 .

TABLES: LFA1.

SELECT-OPTIONS:S_NAME1 FOR LFA1-NAME1.

SELECT *

FROM LFA1 AS A

WHERE A~NAME1 IN S_NAME1.

WRITE: / LFA1-NAME1.

ENDSELECT.

我做了个这样的测试,没有问题啊

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question