‎2008 Feb 11 2:15 PM
hi,
How to Create a Push Button on Selection Screen
???
Thx,
Shashi..
‎2008 Feb 11 2:25 PM
hi,
look at this
selection-screen:
begin of screen 500 as window title tit,
begin of line,
pushbutton 2(10) but1 user-command cli1,
pushbutton 12(10) text-020 user-command cli2,
end of line,
begin of line,
pushbutton 2(10) but3 user-command cli3,
pushbutton 12(10) text-040 user-command cli4,
end of line,
end of screen 500.
at selection-screen.
message i888(sabapdocu) with text-001 sscrfields-ucomm.
case sscrfields-ucomm.
when 'CLI1'.
flag = '1'.
when 'CLI2'.
flag = '2'.
when 'CLI3'.
flag = '3'.
when 'CLI4'.
flag = '4'.
endcase.
<REMOVED BY MODERATOR>
Gaurav J.
Edited by: Alvaro Tejada Galindo on Aug 15, 2008 3:34 PM
‎2008 Feb 11 2:18 PM
Hi,
Please refer to the SAP standard demo program demo_sel_screen_pushbutton.
Thanks,
Sriram POnna.
‎2008 Feb 11 2:22 PM
Declare as follows ...
SELECTION-SCREEN: PUSHBUTTON 2(10) PB1 USER-COMMAND ucom.
‎2008 Feb 11 2:25 PM
hi,
look at this
selection-screen:
begin of screen 500 as window title tit,
begin of line,
pushbutton 2(10) but1 user-command cli1,
pushbutton 12(10) text-020 user-command cli2,
end of line,
begin of line,
pushbutton 2(10) but3 user-command cli3,
pushbutton 12(10) text-040 user-command cli4,
end of line,
end of screen 500.
at selection-screen.
message i888(sabapdocu) with text-001 sscrfields-ucomm.
case sscrfields-ucomm.
when 'CLI1'.
flag = '1'.
when 'CLI2'.
flag = '2'.
when 'CLI3'.
flag = '3'.
when 'CLI4'.
flag = '4'.
endcase.
<REMOVED BY MODERATOR>
Gaurav J.
Edited by: Alvaro Tejada Galindo on Aug 15, 2008 3:34 PM
‎2008 Aug 15 6:00 PM
> How to Create a Push Button on Selection Screen
Not sure actually... it says "Delete" on it... well, there's only one way to find out then...