码迷,mamicode.com
首页 > Web开发 > 详细

web dynpro message(备忘用)

时间:2015-10-08 17:59:58      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:

 1     DATA lo_api_controller     TYPE REF TO if_wd_controller.
 2     DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
 3 
 4     lo_api_controller ?= wd_this->wd_get_api( ).
 5     CALL METHOD lo_api_controller->get_message_manager
 6       RECEIVING
 7         message_manager = lo_message_manager.
 8 
 9     DATA lv_ebeln TYPE ebeln.
10     lv_ebeln = WD_COMP_CONTROLLER->cust_get_if( ).
11 
12 
13     IF lv_ebeln is INITIAL.
14 
15 * report message
16 
17       CALL METHOD lo_message_manager->REPORT_ERROR_MESSAGE
18         EXPORTING
19           message_text              = 请输入必要的字段!
20           show_as_popup             = X
21           cancel_navigation         = X
22 *        enable_message_navigation = ‘X‘
23           .
24     ENDIF.

 

web dynpro message(备忘用)

标签:

原文地址:http://www.cnblogs.com/mingdashu/p/4861527.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!