‎2009 Sep 10 7:17 AM
hi all ,
Is it possible to show only Execute button on the selection screen but nothing else ?
Main purpose is to create a Z-transaction which only contain an Execute button but nothing else, if i click this button , an program is executed.
so, please help .
best regards
Kevin
‎2009 Sep 10 7:21 AM
You can try to NO-DISPLAY(do an F1 on this & check SAP documentation)the selection-screen element. Try & revert back.
BR,
Suhas
‎2009 Sep 10 7:22 AM
Hi,
I think so why dont you try putting a dummy parameter with no-display.
parameter : p_para no-display.
Regards,
Himanshu
‎2009 Sep 10 7:27 AM
hello ,
thanks for the replies , i have tried . but i still cannot get the selection screen .
parameters: p_temp type c no-display.
this doesn't work .
any other idea?
Regards
Kevin
‎2009 Sep 10 7:31 AM
Hello,
Then AT SELECTION-SCREEN OUTPUT try to make that dummy param INVISIBLE by LOOP'ing AT SCREEN.
BR,
Suhas
‎2009 Sep 10 7:38 AM
Hi,
I am not sure how much this will help you.. But this is one option which i see.
TYPE-POOLS icon.
SELECTION-SCREEN:
BEGIN OF SCREEN 500 AS WINDOW TITLE title,
PUSHBUTTON 2(10) but1 USER-COMMAND cli1
VISIBLE LENGTH 10,
END OF SCREEN 500.
START-OF-SELECTION.
title = 'Push button'.
but1 = 'Button 1'.
CALL SELECTION-SCREEN '0500' STARTING AT 10 10.
This will create a push button in the screen .. this can be used for execution.. use the function code.
Regards
Ansari
‎2009 Sep 10 7:46 AM
Hi,
Adding to the above reply..
PARAMETERS p_mat type matnr.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
if screen-name = 'P_MAT'.
screen-invisible = 1.
screen-active = 0.
MODIFY SCREEN.
endif.
IF screen-name = '%_P_MAT_%_APP_%-TEXT'.
screen-invisible = 1.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
It workks fine.
Regards
Ansari
‎2009 Sep 10 7:53 AM
hi all ,
thanks for your answers ! especially the ones who give this kind of tips !
the code below works . just like I expect .
PARAMETERS p_dummy TYPE c.
AT SELECTION-SCREEN OUTPUT .
LOOP AT SCREEN.
screen-active = '0'.
MODIFY SCREEN.
ENDLOOP.
Best regards
Kevin
‎2009 Sep 10 7:45 AM
Goto se80->choose program RSSYSTDB->GUI Status %_00->right click copy->.
give your program name and GUI status name.
Goto se41->program name and GUI name->change->delete the functions which ever not required->activate
In your program initialization event set your new pf status
‎2009 Sep 10 7:46 AM
Hi Kevin,
Try this way. It works.
Thanks
Venkat.O REPORT ZVENKAT_MAIL_SIMPLE.
PARAMETERS :P_DATA.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'P_DATA' OR
SCREEN-NAME = '%_P_DATA_%_APP_%-TEXT'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
‎2009 Sep 10 7:46 AM
Yes it is possible do like this
Example
PARAMETERS: p_par1 TYPE c MODIF ID gr1,
p_par2 type c MODIF ID gr1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'GR1'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Now create a t-code for report and when u execute the t-code you will see only the exexute icon.
Hope this will help u.