2008 Aug 29 1:36 PM
hi all,
How to Create Pushbutton on Report output using ALV.
Can anybody send the code for that.
Regards
Reddy
hi all,
How to Create Pushbutton on Report output using ALV.
Can anybody send the code for that.
Regards
Reddy
2008 Aug 29 1:38 PM
2008 Aug 29 1:38 PM
Check the below comments
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_pf_status_set = 'STATUS' "<---this is must
i_callback_user_command = 'USER_COMMAND'"Setting here..
FORM status USING p_extab TYPE slis_t_extab.
"Set the Button using the staus
"Copy the Standard status from the program SAPLKKBL status
" STANDARD using SE41, and use that here.
"Pf status
SET PF-STATUS 'STANDARD' EXCLUDING p_extab.
ENDFORM. " STATUS"handling here...
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
"handling here...
ENDFORM.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |