Hi,
I am not able to get the alv output when i select a display pushbutton in selection screen, and when i select a line and pree a change button there is no action in the code,Below is the way of code i did
======================================================================
At Selection Screen Output
======================================================================
AT SELECTION-SCREEN OUTPUT .
Have two buttons create and display.
SET PF-STATUS 'ZTEST1'.
**======================================================================
*
At Selection Screen
**======================================================================
*
AT SELECTION-SCREEN.
have 2 buttons change and delete
SET PF-STATUS 'ZTEST2'.
IF sy-ucomm = 'CREATE'.
PERFORM create_screen_3.
ENDIF.
IF sy-ucomm = 'DISPLAY'.
PERFORM create_screen_2.
ENDIF.
&----
*& Form USERACTION
&----
FORM useraction USING ucomm LIKE sy-ucomm
r_selfield TYPE slis_selfield.
CASE ucomm.
WHEN 'DELETE'.
DELETE gt_final WHERE select NE 'X'.
ENDCASE.
ENDFORM. "useraction
Call ALV
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gv_wrk_repid
i_callback_pf_status_set = 'ZTEST2'
i_callback_user_command = g_command
it_fieldcat = gv_wrk_fieldcat[]
i_save = 'A'
TABLES
t_outtab = gt_final
EXCEPTIONS
program_error = 1
OTHERS = 2.
Thanks,
Deesanth