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

文章目录

      • [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.
相关推荐
SAP-nkGavin8 天前
简单说一说Modern ABAP这个概念
sap·abap
爱喝水的鱼丶11 天前
SAP-ABAP:在DEBUG过程中修改内表中的数据的方法详解
运维·开发语言·sap·异常处理·abap·修改内表
爱喝水的鱼丶17 天前
SAP-ABAP:ABAP异常处理与SAP现代技术融合—— 面向云原生、微服务与低代码场景的创新实践
开发语言·低代码·微服务·云原生·sap·abap
爱喝水的鱼丶18 天前
SAP-ABAP:SAP的BAPI_PO_CHANGE功能详解
开发语言·sap·abap·bapi·采购订单修改
IT小白农民工24 天前
SAP Business One(B1)打开自定义对象报错【Failed to initialize document numbering:】
经验分享·sap
清风雅雨1 个月前
SAP 交货单行项目含税金额计算报cx_sy_zerodivide处理
sap
IT小白农民工1 个月前
如何用postman进行批量操作
测试工具·postman·sap
清风雅雨1 个月前
VPN访问SAP组服务器报登陆负载均衡错误88:无法连接到消息服务器(RC=9)
运维·sap
syounger2 个月前
Oracle在ERP市场击败SAP
oracle·sap
-样样-2 个月前
SAP系统交货已完成标识
sap