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. call screen 500. else. gt_grid-flg_popup = 'X'. call screen 70...
FORM F_USER_COMMAND USING R_UCOMM TYPE SY-UCOMM R_RS_SELFIELD TYPE SLIS_SELFIELD. * BREAK LZH. **将ALV显示数据更新进输出内表中 DATA: LR_GRID TYPE REF TO CL_GUI_ALV_GRID. CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR' IMPORTING E_GRID = LR_GRID. CALL METHOD LR_GRID->CHECK_CHAN...
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. call screen 500. else. gt_grid-flg_popup = 'X'. call screen 70...
SET PF-STATUS'Z_ALV_STATUS'. ENDFORM."F_SET_STATUS*&---* *&Form F_USER_COMMAND*&---* *text*---* * -->
'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_layout = alv_layout it_fieldcat = i_fieldcat_alv TABLES t...
Solved: Dear Friends, How to code the I_CALLBACK_USER_COMMAND = 'USER' in Reuse_Alv_Grid_Display in HR-ABAP
1. 通过TABLE:CDHDR 更改凭证抬头 CDPOS 更改凭证项⽬ 2. 通过FUNCTION:CHANGEDOCUMENT_READ_HEADERS 取得更改凭证抬头 CHANGEDOCUMENT_READ_POSITIONS 取得更改凭证项⽬ 如果不⽤OBJECTCLASS,查找过程会相当缓慢,下⾯是常⽤的OBJECTCLASS。不过有些OBJECTCLASS会对应多个T-code,另外那两个Table⾥显⽰的T-...
First of all, you'll need to call a Drill Down handling form, on the ALV Function Module call: CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_user_command = 'f_user_command' " Drill Down Form i_callback_pf_status_set = c_pfstat i_callback_program = vg_repid is_layo...
* Display ALV CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'CDPOS' is_layout = gs_layout it_sort = lt_sort TABLES t_outtab = lt_cdpos. ENDCASE. ENDFORM." USER_COMMAND *---* * Form CHECK_MARKED *---* * What has been marked in t_cdhdr *---...
g_user_command TYPE slis_formname VALUE 'USER_COMMAND', g_status TYPE slis_formname VALUE 'SET_PF_STATUS', gt_list_top_of_page TYPE slis_t_listheader, g_repid LIKE sy-repid, gf_pos TYPE i Data for ALV display CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = ...