Smartforms 中更改默认编辑器的两种方法

来源:互联网 发布:php 静态调用 编辑:程序博客网 时间:2024/06/12 01:49
 Smartforms 中更改默认编辑器的两种方法(Tow Methods of smartform"s default editor modification)

Method 1:


T-code: I18N


I18N->I18N Customizing ->MS Word as Editor ->double click

去掉SAP script 和Smart form前的对勾 ->Activate


Method 2:


Use report .


T-code: se38


New report->code below.


report ztest_mod_editor01.


*更改SMARTFORMS编辑为SAP默认编辑器
call method cl_i18n_system_settings=>maintain_tcp0i
exporting
im_history = space
im_name = cl_i18n_system_settings=>c_tcp0i_name_smartforms_editor
im_value = SPACE.



report ztest_mod_editor02.
*更改SMARTFORMS编辑为MSWord
call method cl_i18n_system_settings=>maintain_tcp0i
exporting
im_history = space
im_name = cl_i18n_system_settings=>c_tcp0i_name_smartforms_editor
im_value = "MSWord".


Method 2 for I18N not useful or I18n have no such options.