自定义函数消息的抛出

来源:互联网 发布:python 字符串相等 编辑:程序博客网 时间:2024/05/24 05:08
    call function 'Z_PRT03'
      destination zcl_scpr=>dest_ex
      exporting
        i_ini                 i_ini
      importing
        st_011                st_011
        msg                   msg
      tables
        barcd_t               barcd_t
      changing
        st_010                st_010
      exceptions
        system_failure        1  message mess
        communication_failure 1  message mess
        resource_failure      2
        error                 3
        others                4.

    case sy-subrc .
      when 1.
        message e000(zswith mess.
      when 0.
原创粉丝点击