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

文章目录

      • [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.
相关推荐
study_小达人1 天前
sap部署安装
sap·hcm
Henry-SAP1 天前
SAP计划策略对SAP MRP运算影响业务解析
人工智能·sap·erp
Henry-SAP6 天前
SAP ERP 策略组差异业务解析
sap·erp
Henry-SAP6 天前
SAP MRP例外场景业务解析
sap·erp
SAP小崔说事儿8 天前
SAP B1 批量应用用户界面配置模板
java·前端·ui·sap·b1·无锡sap
SAP小崔说事儿8 天前
SAP B1 &钉钉集成解决方案—采购申请单审批
钉钉·sap·hana·无锡sap·sap和钉钉集成·sap集成开发·erp集成开发
study_小达人11 天前
hana一体机/hana数据库
sap·hana数据库
study_小达人11 天前
SAP--S4/HANA
sap·s4/hana
LilySesy14 天前
【与AI+】英语day1——ABAP基础与数据类型
开发语言·ai·sap·abap
LilySesy14 天前
【案例总结】震撼巨作——SAP连接钉钉WEBHOOK
运维·人工智能·ai·钉钉·sap·abap·webhook