2008 Jun 12 12:45 PM
i have displayed the po details in teh basic list. I have used the double clicking functionality. It worked well. Now instead of double clicking, i will place the cursor on the po and click a push button. then it should show the other details.
Can anyone please guide me how to create the pushbuttons on the basic list ?
i have displayed the po details in teh basic list. I have used the double clicking functionality. It worked well. Now instead of double clicking, i will place the cursor on the po and click a push button. then it should show the other details.
Can anyone please guide me how to create the pushbuttons on the basic list ?
2008 Jun 12 12:48 PM
Hi,
You create your own GUI status.Pass the name of GUI status to FM REUSE_ALV_GRID_DISPLAY.
e.g.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
CALLBACKPF_STATUS_SET = 'PF'
i_callback_user_command = 'USER_COMMAND'
i_grid_title = text-020
is_layout = wa_layout
it_fieldcat = it_fieldcat[]
TABLES
t_outtab = it_basic
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
FORM PF.
SET PF_STATUS 'P1'.
ENDFORM.
On pressing that button go to secondary list.
2008 Jun 12 12:56 PM
Hi,
Go to se41 , create pf-status and provide a button in the application tool bar.
then pass it to reuse_alv_list_display.
and also write the coding in user_command event.
u can get all the events in reuse_alv_events_get or directly u can pass it to user_command parameter in reuse_alv_list_display.
Hope this solve ur problem.
Rgds.,
subash.
2008 Jul 15 4:47 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |