‎2007 May 30 9:55 AM
We use
SELECTION-SCREEN PUSHBUTTON (10) Multiply USER-COMMAND BUTMUL.
But I want to position this button at position 50, What should I do?
Thanks in advance.
Deniz.
‎2007 May 30 10:05 AM
‎2007 May 30 9:58 AM
Hi,
SELECTION SCREEN PUSHBUTTON [/]<pos(len)> <push>
USER-COMMAND <ucom> [MODIF ID <key>].
Regards
Sudheer
‎2007 May 30 9:59 AM
PUSHBUTTON 2(10) but1 USER-COMMAND cli1,
PUSHBUTTON 12(10) text-020 USER-COMMAND cli2,
try using in the above format where 2 and 12 indicating positions
u can use the position u want
‎2007 May 30 10:00 AM
Hi
Hi,
To place a pushbutton on the selection screen, u need to define the PF-STATUS.
PF-STATUS needs to be called in the AT SELECTION-SCREEN OUTPUT.
e.g.
Define the selecvtion screen.
then write the following code :
AT SELECTION-SCREEN OUTPUT.
SET PF-STATUS 'ZTEST'.
Double click on ZTEST. It will take u to the GUI Status Creation screen.
In the application toolbar, define a pushbutton and assign a function code say 'FUNC1' to it.
activate the GUI Status.
Now, in ur program,
Write the following piece of code :
CASE SY-UCOMM.
WHEN 'FUNC1'.
Write the logc.
Hope it helps.
Regards,
Sree
‎2007 May 30 10:00 AM
SELECTION-SCREEN PUSHBUTTON <u>50(10</u>) Multiply USER-COMMAND BUTMUL.
‎2007 May 30 10:01 AM
selection-screen begin of line.
SELECTION-SCREEN PUSHBUTTON 50(10) MULTIPLY USER-COMMAND BUTMUL.
selection-screen end of line.
‎2007 May 30 10:04 AM
Hi,
Refer to the following link:
http://www.sapdevelopment.co.uk/reporting/selscr/but_buttons.htm
Hope this helps.
Reward if helpful.
Regards,
Sipra
‎2007 May 30 10:05 AM
‎2007 May 30 10:24 AM
Hi,
Try with this code just copy paste n run.
TABLES sscrfields.
SELECTION-SCREEN PUSHBUTTON 50(10) mul USER-COMMAND abcd.
INITIALIZATION.
MOVE 'Multiply' TO mul.
AT SELECTION-SCREEN.
IF sscrfields-ucomm = 'ABCD'.
ENDIF.
regards,
Sudha
reward points if useful.
‎2008 Aug 29 4:34 PM
Hi Deniz,
If you want a Push Button to be placed at the 50th colomn.Just write the following code.
selection-screen pushbutton 50(40) but1 user-command c11
visible length 40.
Wher '50' specifies the colomn from which the Push button should start and the number 40 specifies the length of the Push Button.
I think this will answer this query.
Cheers
Navy