用事件类实现双击事件,实例化后使用set handler注册到ALV对象.斜体部分为事件方法的具体实现. 代码如下 CLASS lcl_tree_event_receiver DEFINITION. PUBLIC SECTION. METHODS handle_node_double_click FOR EVENT node_double_click OF cl_gui_alv_tree IMPORTING node_key sender. ENDCLASS. CLASS lcl_tree_ev…
原文地址:http://www.xuebuyuan.com/1666753.html 按层次显示WBS编码及描述,附加节点双击展开事件和Item双击跳转CJ03功能. 因为本人懒,本例代码都是从标准的BCALV_TREE_01和BCALV_TREE_02拷贝过来修改的,结构不好请别见怪. REPORT zmac_alvtree_test. DATA: g_alv_tree TYPE REF TO cl_gui_alv_tree, g_custom_container TYPE REF TO cl…
TABLES:MSEG,MAKT. "定义结构 TYPES:BEGIN OF TY_DATA, MJAHR LIKE MSEG-MJAHR, "物料凭证的年份 MBLNR LIKE MSEG-MBLNR, "物料凭证 BWART LIKE MSEG-BWART, "移动类型 XAUTO LIKE MSEG-XAUTO, "是否自动创建 MATNR LIKE MSEG-MATNR, "物料编码 MAKTX LIKE MAKT-MAKTX, &quo…
Category ABAP Programming Error Runtime Errors MESSAGE_TYPE_X ABAP Program SAPLOLEA Application Component BC-FES-OAC Date and Time :: Short text The current application triggered a termination with a short dump. 发生了什么? The current application program…