2008 Jan 29 7:28 AM
hi,
pls send me a sample prog on alv grid display making use of set pf-status and fn mod xxl_full_api.
regards,
kb
2008 Jan 29 7:44 AM
hi,
if u use REUSE_ALV_LIST_DISPLAY copy the standard GUI-Status named STANDARD from function group SALV in your program
if u use REUSE_ALV_GRID_DISPLAY_LVC or REUSE_ALV_GRID_DISPLAY copy the standard GUI-Status named STANDARD_FULLSCREEN from function group SLVC_FULLSCREEN in your program
after that you cas set the pf-status in this way:
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_pf_status_set = 'STATUS'
i_callback_user_command = 'USERCOMMAND'
is_layout = st_layout
it_fieldcat = st_fieldcat
TABLES
t_outtab = outtab
or
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_callback_program = sy-cprog
i_callback_pf_status_set = 'STATUS'
i_callback_user_command = 'USERCOMMAND'
is_layout_lvc = wa_slis_layout
it_fieldcat_lvc = tb_slis_fieldcat
TABLES
t_outtab = tb_app
where USERCOMMAND and STATUS are 2 forms in your program.
FORM status USING pfstat TYPE slis_t_extab.
SET PF-STATUS 'STANDARD' EXCLUDING pfstat.
ENDFORM.
...
FORM usercommand USING okcode LIKE sy-ucomm
wa_selfield TYPE slis_selfield.
CASE okcode.
....
ENDCASE
ENDFORM.
Reward if useful.
2009 Jan 14 10:12 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |