2008 Aug 07 8:07 AM
Hi experts,
In alv output i am clicking a push button , a popup screen is coming as output. In that popup screen how to set my own PF_STATUS
thanks.
2008 Aug 07 8:15 AM
Hi experts,
In alv output i am clicking a push button , a popup screen is coming as output. In that popup screen how to set my own PF_STATUS
thanks.
2008 Aug 07 8:15 AM
2008 Aug 07 8:26 AM
Hi,
In order modify PF_STATUS of ALV grid report you need to perform the following steps:
1. Update 'REUSE_ALV_GRID_DISPLAY' FM call to include:
i_callback_pf_status_set = 'SET_PF_STATUS' statement.
2. Create 'SET_PF_STATUS' FORM
3. Create pf_status (i.e. 'ZNEWSTATUS'): - It is recommend that you copy standard status'STANDARD' from function group SALV and modify it accordingly. ALV standard function codes always start with '&'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE'
i_callback_pf_status_set = 'SET_PF_STATUS' "see FORM
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
i_save = 'X'
tables
t_outtab = it_ekko
exceptions
program_error = 1
others = 2.In PBO
*------------------------------------------------------------------*
* FORM SET_PF_STATUS *
*------------------------------------------------------------------*
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ZNEWSTATUS'.
"Copy of 'STANDARD' pf_status from fgroup SALV
ENDFORM.Hope this helps.
Thanks,
Dhanashri.
2008 Aug 07 8:27 AM
It would be better if you create a new GUI windows in screen painter and call that screen in your ABAP program
rgds
rajesh
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |