Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

PF Status and User Command in CALL METHOD alv_grid_ob->set_table_for_first_

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.

Not what you were looking for? View more on this topic or Ask a question