有时候需要创建sm30来维护表
refresh
act_sellist.
clear
act_sellist.
"设置查询条件
act_sellist-viewfield
=
'ID'.
act_sellist-operator
=
'EQ'.
act_sellist-value
= P_ID.
append
act_sellist.
"设置功能类型
act_exclfun-function
=
'NEWL'.
append
act_exclfun.
act_exclfun-function
=
'KOPE'.
append
act_exclfun.
act_exclfun-function
=
'DELE'.
append
act_exclfun.
call
function
'VIEW_MAINTENANCE_CALL'
exporting
action
=
'U'
view_name
=
'ZTEST_01'
tables
dba_sellist
=
act_sellist
excl_cua_funct
=
act_exclfun
exceptions
client_reference
=
01
foreign_lock
=
02
invalid_action
=
03
no_clientindependent_auth
=
04
no_database_function
=
05
no_editor_function
=
06
no_show_auth
=
07
no_tvdir_entry
=
08
no_upd_auth
=
09
only_show_allowed
=
10
system_failure
=
11
unknown_field_in_dba_sellist
=
12
view_not_found
=
13.
有时候标准的sm30不能满足要求,需要加校验或者其他功能
首先创建了测试表,这里选可以维护的
生成表格维护生成器
填写Function group
我们修改屏幕列名
其他自己想实现的逻辑可以自己添加
调用函数直接进入sm30