user-command 中主要实现事件 比如双击事件 回车事件触发的动作 如:form usercommand using r_ucomm like sy-ucomm rs_selfield type slis_selfield.if r_ucomm = '&IC1'. ---双击事件 if rs_selfield-value = 'other'.perform pl_information using rs_selfield.endif.endif.endform.指令...
他触发的是 AT SELECTION-SCREEN这个事件 AT USER-COMMAND.Effect This statement defines an event block whose event is triggered by the ABAP runtime environment if, during the display of a screen list, a function with a self-defined function code was chosen.这个是需要一个自定义的functi...
p_selfield TYPE slis_selfield. "BREAK-POINT." 单击按钮时传递的命令追加设断点的语句。 CASE p_ucomm. WHEN 'CLOSE'. "当点击关闭时,退出程序 。 LEAVE PROGRAM."离开程序(退出程序) WHEN 'SAVE'. MODIFY sflight FROM TABLE gt_itab. "内表数据保存到数据库表 WHENOTHERS. ENDCASE." CASE条件结束。
1、跟踪调用关系列表 2、各个函数代码摘抄(红色为断点处) 第2步代码摘抄 function reuse_alv_grid_display. "#EC * ... if i_screen_start_column is initial and i_screen_start_line is initial and i_screen_start_column is initial and i_screen_end_line is initial. gt_grid-flg_popup = space....
abap里面的AT USER-COMMAND事件到底怎么用啊.SELECTION-SCREEN PUSHBUTTON /1(20) PUBU1 USER-COMMAND ABCD.SELECTION-SCREEN SKIP.SELECTION-SCREEN PUSHBUTTON /1(20) PUBU2 USER-COMMAND ABCE.AT USER-COMMAND.CASE sy-ucomm.WHEN 'ABCD'.MESSAGE I005(MsgClass) WITH '111'....
我是ABAP开发 定义了状态和user_command没有显示有以下可能(我想到什么说什么):首先你要确定user_command里面的代码没有问题(包括功能吗和状态里写的能对应上,不然肯定不响应的)你会出现这样的问题 估计是新手 代码应该是COPE过来的 不会有问题 问题应该出现在状态设置中 状态的设置也很简单 就是把功能...
SAP Managed Tags: ABAP Development user command is used when there is any event that must be triggred when a user does some action on it. for example a push button the tool bar. double click on a particular list etc. AT USER-COMMAND case sy-ucomm. when ' fct1' xxxxxxxx when 'fc...
SAP Managed Tags: ABAP Development Hi, I have a simple ALV grid display. When I right click on the line, I have an option called 'Details' which gives me that line details in the form of a pop-up. This has been done by setting the 'details_popup' in the layout.The requirement ...
SAP Managed Tags: ABAP Development Do this: CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_top_of_page = 'TOP-OF-PAGE' i_grid_title = 'Title goes here' i_callback_program = program i_grid_settings = grid_setting i_callback_user_command = 'DOUBLE_CLICK_ON_ALV' is_la...
SAP Managed Tags: ABAP Development Hi guys, I am using the CL_GUI_ALV_GRID class to display a report in SAP 4.7 When the user click on refresh, on the standard ALV toolbar, I need to delete some entries in my table. Also, I'm displaying the total number of lines in my GUI tit...