Skip to Content
0
Jun 12, 2009 at 09:31 AM

interactive alv..

37 Views

Hi

Kindly check my code below and suggest the changes to be done as it is not working..

FORM USECOMM USING UCOMM LIKE SY-UCOMM

FIELDS TYPE SLIS_SELFIELD.

DATA: FCODE TYPE SY-UCOMM.

CLEAR FCODE.

FCODE = UCOMM.

CASE FCODE.

WHEN '&Ic1'.

SET PARAMETER ID 'BES' FIELD 'GT_FINAL-EBELN'.

CALL_TRANSACTION 'ME23N'.

ENDCASE.

ENDFORM.

this form name 'USECOMM' goes to i_callback_user_command field of reuse_alv_grid_display function module..

GT_FINAL -EBELN is the field that is captured on the basic alv list.