由于一些数据表的数据比较重要,不允许直接查看数据表中的数据或者通过SM30进行维护,
故可以通过新建一个视图簇的方式来实现,然后通过程序调用这个视图簇,来进行数据的维护。
- 运行事务码SE54
最后通过可执行程序调用视图簇
1 CALL FUNCTION 'VIEWCLUSTER_MAINTENANCE_CALL' 2 EXPORTING 3 viewcluster_name = 'YDEMO_VEIW' 4 maintenance_action = 'S' 5 EXCEPTIONS 6 client_reference = 1 7 foreign_lock = 2 8 viewcluster_not_found = 3 9 viewcluster_is_inconsistent = 4 10 missing_generated_function = 5 11 no_upd_auth = 6 12 no_show_auth = 7 13 object_not_found = 8 14 no_tvdir_entry = 9 15 no_clientindep_auth = 10 16 invalid_action = 11 17 saving_correction_failed = 12 18 system_failure = 13 19 unknown_field_in_dba_sellist = 14 20 missing_corr_number = 15 21 OTHERS = 16. 22 IF sy-subrc <> 0. 23 MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno 24 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. 25 ENDIF.
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/18400.html