使用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.[外链图片转存失败(img-CrX9VVCq-1562210632459)(https://user-images.githubusercontent.com/5669954/27283800-4c7e9318-54f6-11e7-9789-2305736060bf.png)]
利用OLE创建word application:
[外链图片转存失败(img-rdEdNTMZ-1562210632460)(https://user-images.githubusercontent.com/5669954/27283840-7d359df8-54f6-11e7-9b23-df13965da723.png)]
弹出word界面:
[外链图片转存失败(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的方式在后台启动:
总结
以上是生活随笔为你收集整理的使用LXE_SP_CHECKSPELLING_MS进行ABAP文本拼写检查的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: Ubuntu系统如何安装与配置MySQL
- 下一篇: 如何查看其他人的ABAP authori