ABAP提示信息对话框

 1.  

 call function 'POPUP_TO_CONFIRM_WITH_MESSAGE'
        exporting
          diagnosetext1 '数据为空!'
          textline1     '请检查文件是否正确'
          titel         '警告'
        importing
          answer        = l_answer.
      leave to screen 0.

2.

        CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
          EXPORTING
            titel              '提示'
            textline1          = v_mess
            TEXTLINE2          = v_mess2
            start_column       25
            start_row          6.

 3.

    call function 'POPUP_TO_CONFIRM'
      exporting
        text_question         = l_mess
        text_button_1         '是'(001)
        text_button_2         '否'(002)
        display_cancel_button ''
      importing
        answer                = answer
      exceptions
        text_not_found        1
        others                2.

posted @ 2016-04-26 15:56  明大叔  阅读(830)  评论(0编辑  收藏  举报