選擇螢幕上做按鈕

2021-04-19 05:02:16 字數 501 閱讀 6092

report demo_screen_button.

tables sscrfields.

selection-screen begin of block scr1 with frame title text-001.

parameters: p_path type rlgrap-filename

default 'c:/upload.txt' obligatory.

selection-screen end of block scr1.

selection-screen: function key 1.

selection-screen: function key 2.

at selection-screen.

case sscrfields-ucomm.

when 'fc01'.

write 'fc01'.

when 'fc02'.

write 'fc02'.

endcase.

選擇螢幕上做按鈕

report mysap fi04 tables sscrfields selection screen begin of block scr1 with frame title text 001 parameters p path type rlgrap filename default c up...

選擇螢幕加按鈕

report yhk1.tables sscrfields.selection screen begin of block sc with frame title text 001.parameters p bukrs type bukrs.selection screen end of block...

選擇螢幕上增加自定義按鈕

sap的選擇螢幕的標準工具欄上系統預先定義了5個按鈕,他們對應的功能碼是fc01 fc05,預設是不啟用的。使用者可以使用selection screen function key i.來啟用這5個按鈕 這裡的i必須是1 5 這五個按鈕的文字放在sscrfields的對應的functxt 0i中。當...