ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ALV OO

ALV OO

原创 Linux操作系统 作者:shyy1231 时间:2010-08-21 15:08:24 0 删除 编辑
 call method g_grid->set_table_for_first_display
      
exporting

       is_layout            = gs_layout
       it_toolbar_excluding = lt_exclude
       i_save                        = 
'A'
*       i_buffer_active               = 'X'
      
changing
*      IT_SORT          = GB_SORTFLD
       it_outtab            = []
       it_fieldcatalog      = gt_fieldcat[]
       it_sort              = gt_sort .

  
call method g_grid->set_ready_for_input "处于非编辑状态
          
exporting
            i_ready_for_input = 
1.
     
call method cl_gui_control=>set_focus    "设置焦点在go_grid 上

         
exporting
           
control = g_grid .
          [] = [].

  
CALL METHOD
 cl_gui_cfw=>flush
    
EXCEPTIONS

      cntl_system_error = 
1
      cntl_error        = 
2.

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

下一篇: ALV 标准范例介绍
请登录后发表评论 登录
全部评论

注册时间:2009-08-18

  • 博文量
    12
  • 访问量
    16417