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

文章目录

      • [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.
相关推荐
Henry-SAP14 小时前
SAP MD04库存与需求字段业务解析
sap·erp
yang982262 天前
MT940银行对账单格式说明
sap
MTC麦汇信息3 天前
中信重工SAP数字化 | MTC获评中信重工2025年度优秀供应商
sap·智能制造·数字化
SAP小崔说事儿4 天前
SAP B1 FP 2602 Highlights & Road Map Update
sap·sap b1·business one·b1·思爱普
SAP_LO5 天前
CO11N/CO13报工系统报错“Open SQL array insert produces duplicate records”
sap·co11n·co13·工单报工异常·note 1640636·zpcon_131d·zpcon_051
小狼Solar6 天前
SAP Business Partner WebService 使用问题大全
sap·bp·mdg·数据分发·业务合作伙伴
HeathlX8 天前
SAP-Fiori:系列(5)Gateway ODATA (V2) CURD之Update
sap·abap
HeathlX9 天前
SAP-Fiori:系列(4)Gateway ODATA (V2) CURD之Delete
sap·abap
小田的博客13 天前
SAP ABAP 上传EXCEL文件报错
sap
Henry-SAP14 天前
SAP MRP销售订单与预测驱动的业务解析
人工智能·sap·erp