用事务代码查看视图的函数

文章目录

      • [1 Introduction](#1 Introduction)
      • [2 Code](#2 Code)

1 Introduction

If we continue to see view with T-code. We can use the function for it .

2 Code

sql 复制代码
REPORT z_websrv_con.

CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
  EXPORTING
    action                       = 'U'   "操作类型:U修改/S显示/T传输
    view_name                    = 'ZTPMCONFIG01'  "维护视图名
*    TABLES
*   dba_sellist                  = gt_sellist
  EXCEPTIONS
    client_reference             = 1
    foreign_lock                 = 2
    invalid_action               = 3
    no_clientindependent_auth    = 4
    no_database_function         = 5
    no_editor_function           = 6
    no_show_auth                 = 7
    no_tvdir_entry               = 8
    no_upd_auth                  = 9
    only_show_allowed            = 10
    system_failure               = 11
    unknown_field_in_dba_sellist = 12
    view_not_found               = 13
    maintenance_prohibited       = 14
    OTHERS                       = 15.
IF sy-subrc <> 0.
ENDIF.
相关推荐
不想上班的小吕2 天前
SAP EXCEL模板下载导入
excel·sap
大路谈数字化6 天前
SAP PP模块中离散制造
sap·制造·离散·pp
大路谈数字化6 天前
SAP PP模块中重复制造
sap·制造·重复制造·pp
DeveloperMrMeng6 天前
SAP使用abapGit在云环境中迁移开发包
sap·cloud·abapgit·op
拷斤锟7 天前
SAP 实施顾问全景指南
sap·hcm·successfactors
LgZhu(Yanker)7 天前
R/3 销售与分销
大数据·网络·数据库·sap·erp·销售
sinat_3751122612 天前
abap 通用发送邮件程序(获取alv数据,带excel附件)
excel·sap·abap·邮件
大路谈数字化16 天前
SAP 物料凭证和会计凭证的关联关系
sap·物料凭证·会计凭证
企业数字化建设者19 天前
SAP_MM_供应商寄售 ( Vendor Consignment ) 实施流程
sap·mm
放弃幻想_20 天前
S4和ECC或者不通CLIENT,不通HANA服务器互相取数
服务器·数据库·sap·abap·abap sap