I am displaying the records in ALV grid report. In this report i have check box. I have done enable and disbling some rows. Now i required to catch that check box value and based on check box i have to process for one transaction.
<b>Here my problem is after executing the report i am selecting check box manually . But it is not coming into the user-command. Here i am attaching my small code in this message.</b>
this wht for layout i am adding fileds.
GS_LAYOUT-BOX_FNAME = 'CHECK'.
GS_LAYOUT-NO_ROWMARK = 'X'.
GS_LAYOUT-STYLEFNAME = 'CELLTAB'.
GS_LAYOUT-CWIDTH_OPT = 'X'.
GS_LAYOUT-SEL_MODE = 'A'.
In function module i have filled this info
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
I_CALLBACK_PROGRAM = W_REPID
I_GRID_TITLE = TEXT-003
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IS_LAYOUT_LVC = GS_LAYOUT
IT_FIELDCAT_LVC = GT_FIELDCAT
*IT_SORT_LVC = GT_SORT
IS_SEL_HIDE = GT_ALV
T_OUTTAB = GT_ALV
PROGRAM_ERROR = 1
OTHERS = 2.
LOOP AT GT_ALV WHERE CHECK = 'X'.
WRITE : 'success'.
Thanks in advance,