04-30-2009 10:51 AM
Hi Can anyone please advice me how can we have PF Status in User Command in Object Oriented ALV Grid Display.
* display alv grid
CALL METHOD alv_grid_ob->set_table_for_first_display
EXPORTING
* IS_VARIANT =
* I_SAVE =
i_default = 'X'
is_layout = t_lay
* IT_TOOLBAR_EXCLUDING =
CHANGING
it_outtab =
it_fieldcatalog = t_field_catalog
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
04-30-2009 10:57 AM
Hi,
you can directly handle that in PBO module of the screen....
you can give a direct
set PF-status statement in any of the module in PBO...
and you can handle in PAI
Regards,
Siddarth
04-30-2009 11:00 AM
Hi,
Set the PF status in the PBO of the screen in which alv is called .