一个选择屏幕程序分配多个TCODE时,需要显示不同的title,
实现方法如下:
at selection-screen output.
perform frm_set_title.
form frm_set_title .
case sy-tcode.
when 'ZFI040'.
set titlebar 'TITLBAR' with text-029.
when 'ZFI041'.
set titlebar 'TITLBAR' with text-030.
when others.
endcase.
endform.
创建 TITLBAR