메뉴 건너뛰기

SAP 한국 커뮤니티

Report 프로그램 Application Toolbar 에 버튼추가

sapjoy 2006.12.29 07:17 조회 수 : 5297 추천:36

tables sscrfields.
data flag.
parameters test.
selection-screen function key 1.
selection-screen function key 2.

initialization.
sscrfields-functxt_01 = 'button1'.
sscrfields-functxt_02 = 'button2'.

at selection-screen.
if sscrfields-ucomm = 'FC01'.
flag = '1'.
elseif scrfields-ucomm = 'FC02'.
flag = '2'.
endif.

start-of-selection.
if flag = '1'.
write: 'selected number 1'.
elseif flag = '2'.
write: 'selected number 2'.
endif.

출처 : abap.wo.to