data: gv_ucomm like sy-ucomm.
form f_status_set using rt_extab type slis_t_extab.
  data: lt_exclude like table of gv_ucomm with header line.

  if sy-tcode eq 'ZMM_BULTEN002'.
    set titlebar 'T002'.
  else.
    set titlebar 'T002N'.
    append 'KOPYALA' to lt_exclude.
    append 'SIL' to lt_exclude.
  endif.

  set pf-status 'STANDARD' excluding lt_exclude.
endform. "set_pf_status


Serkan AKKAVAK
Computer Engineer
ABAP Developer & SAP MM SD Consultant
Contact : serkurumsal@yandex.com