‎2007 Mar 14 3:51 PM
Hello!
I added button to application toolbar in selection screen with SELECTION-SCREEN FUNCTION KEY 1. I want when push tish button to get a list with the content of table-which
is result from RFC.
Can you help me somebody?
Thanks.
‎2007 Mar 14 4:06 PM
chk this demo program and modify acoordingly
DEMO_SEL_SCREEN_PUSHBUTTON
‎2007 Mar 14 4:06 PM
chk this demo program and modify acoordingly
DEMO_SEL_SCREEN_PUSHBUTTON
‎2007 Mar 15 9:36 AM
Hi,
Try this code:
ZSAMPLE.
TABLES SSCRFIELDS.
*It can create max 5 buttoms (see the structure SSCRFIELDS).
SELECTION-SCREEN FUNCTION KEY 1.
*SELECTION-SCREEN FUNCTION KEY N.
*SELECTION-SCREEN FUNCTION KEY 5.
SELECTION-SCREEN FUNCTION KEY 2.
parameter: distance type spfli-distance.
INITIALIZATION.
MOVE: 'My button 1' TO SSCRFIELDS-FUNCTXT_01,
'My button 2' TO SSCRFIELDS-FUNCTXT_02.
...........................................,
'My button 5' TO SSCRFIELDS-FUNCTXT_05.
AT SELECTION-SCREEN.
CASE SSCRFIELDS-UCOMM.
WHEN 'FC01'.
**logic required
WHEN 'FC02'.
call transaction 'SE24'.
...................
WHEN 'FC05'.
ENDCASE.
Regards,
Beejal
**reward if this helps