在给表创建了表的维护视图后,可以在程序中通过调用 VIEW_MAINTENANCE_CALL 函数,实现SM30的功能,并可在程序中为SM30增设过滤条件、按钮等功能。
report zhr_test2.
tables zhr_amb11.
data: gt_zhr_amb11 like table of zhr_amb11,
gs_zhr_amb11 like zhr_amb11.
""申明过滤条件所需变量
data:gs_vimsellist like vimsellist,
gt_vimsellist like table of gs_vimsellist.
data:wa_vimexclfun type vimexclfun, "隐藏表维护视图应用工具栏的按钮
it_vimexclfun type table of vimexclfun.
select-options:
s_postty for zhr_amb11-post_ty.
select * into table gt_zhr_amb11
from zhr_amb11
where post_ty in s_postty.
"设置过滤条件
loop at gt_zhr_amb11 int
1251




被折叠的 条评论
为什么被折叠?



