As mentioned in the Thread, use the Syntax
SET Pf-STATUS 'STATUS' excluding itab
data: BEGIN OF MTAB_UCOMM_EXCLUDE OCCURS 0,
VALUE(4) TYPE C,
END OF MTAB_UCOMM.
PERFORM SET_PF_STATUS. ...
FORM SET_PF_STATUS *
Set up the menus/buttons for the report *
*-- Do not want any pushbuttons that point to items to the right
*-- since the list is at its rightmost position
MTAB_UCOMM_EXCLUDE-UCOMM = 'FRST'.
MTAB_UCOMM_EXCLUDE-UCOMM = 'PREV'.
*-- Do not want any pushbuttons that point to items to the left
*-- since the list is at its leftmost position
MTAB_UCOMM_EXCLUDE-UCOMM = 'LAST'.
MTAB_UCOMM_EXCLUDE-UCOMM = 'NEXT'.
*-- Want all pushbuttons to appear on any other page
SET PF-STATUS 'MAIN' EXCLUDING MTAB_UCOMM_EXCLUDE.
ENDFORM. " SET_PF_STATUS
Hope this helps