用事务代码查看视图的函数
文章目录
- 1 Introduction
- 2 Code
1 Introduction
If we continue to see view with T-code. We can use the function for it .
2 Code
REPORT z_websrv_con.CALL FUNCTION 'VIEW_MAINTENANCE_CALL'EXPORTINGaction = 'U' "操作类型:U修改/S显示/T传输view_name = 'ZTPMCONFIG01' "维护视图名
* TABLES
* dba_sellist = gt_sellistEXCEPTIONSclient_reference = 1foreign_lock = 2invalid_action = 3no_clientindependent_auth = 4no_database_function = 5no_editor_function = 6no_show_auth = 7no_tvdir_entry = 8no_upd_auth = 9only_show_allowed = 10system_failure = 11unknown_field_in_dba_sellist = 12view_not_found = 13maintenance_prohibited = 14OTHERS = 15.
IF sy-subrc <> 0.
ENDIF.