ITPub博客

首页 > Linux操作系统 > Linux操作系统 > SAP Control framework系列(11) 转

SAP Control framework系列(11) 转

原创 Linux操作系统 作者:ultraluck 时间:2019-04-12 07:12:05 0 删除 编辑

SAP Control framework系列(11)

3).调用flush方法,同步

* All methods that operates on controls are transferred to the frontend

* by a RFC calls. the method FLUSH is used

CALL METHOD cl_gui_cfw=>flush.

IF sy-subrc > 0.

* Display an error message

ENDIF.

4).在ok_code的处理的时候调用call_met->load_text

when 'IMP'.

create object call_meth_ref.

call method call_meth_ref->load_text.

5).测试结果:

点击import之后:

注意:因为每次调用的时候都会创建call_meth对象,所以会重新添加记录到内表,这样就避免了每次都要clear内表。


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/190059/viewspace-476646/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2004-12-03

  • 博文量
    170
  • 访问量
    176254