使用LXE_SP_CHECKSPELLING_MS进行ABAP文本拼写检查
Created by Jerry Wang on Jun 11, 2014
使用如下代碼進行測試:
DATA: lv_string TYPE string VALUE 'thia is a text'. CALL FUNCTION 'LXE_SP_CHECKSPELLING_MS'EXPORTINGisolanguage = 'EN'CHANGINGbuffer = lv_string.WRITE: / lv_string.[外鏈圖片轉(zhuǎn)存失敗(img-CrX9VVCq-1562210632459)(https://user-images.githubusercontent.com/5669954/27283800-4c7e9318-54f6-11e7-9789-2305736060bf.png)]
利用OLE創(chuàng)建word application:
[外鏈圖片轉(zhuǎn)存失敗(img-rdEdNTMZ-1562210632460)(https://user-images.githubusercontent.com/5669954/27283840-7d359df8-54f6-11e7-9b23-df13965da723.png)]
彈出word界面:
[外鏈圖片轉(zhuǎn)存失敗(img-Xr2101Di-1562210632460)(https://user-images.githubusercontent.com/5669954/27283803-4c940090-54f6-11e7-8864-dcf767b6dd8b.png)]
點change button:
點change button:
report輸出:
用process monitor能觀察到word application以/Automation -Embedding的方式在后臺啟動:
總結(jié)
以上是生活随笔為你收集整理的使用LXE_SP_CHECKSPELLING_MS进行ABAP文本拼写检查的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Ubuntu系统如何安装与配置MySQL
- 下一篇: 如何查看其他人的ABAP authori