zoukankan      html  css  js  c++  java
  • ABPA UITriggering PAI manually

    Sometime, when you work with ABAP OO GUI objects like ALV grid, tree, HTML control, 
    etc, you want to trigger the PAI with a specific OKCODE without any interraction from
    the user. This is quite simple, you just have to call this small method :
    * Execute PAI of actual screen to update ALV
      CALL METHOD cl_gui_cfw=>set_new_ok_code
        EXPORTING
          new_code = 'DUMMY'.  "<<==-- Here you put the OKCODE that you want to dispatch
    * A flush is required to trigger the refresh 
      CALL METHOD cl_gui_cfw=>flush.
     
  • 相关阅读:
    内部类
    this关键字
    封装
    构造方法
    类图
    StringBuffer
    String
    导包
    包名规范
    带参数的方法
  • 原文地址:https://www.cnblogs.com/xiaomaohai/p/6157337.html
Copyright © 2011-2022 走看看