2007 May 23 6:40 AM
Hi Experts,
when ever u create a parameter or select-options in selection-screen
u will have an execute button on Left-Top Corner ...... How to Deactivate that button .........is there any function modules for ressting that execute....i hope we need to do it in AT SELECTION-SCREEN OUTPUT.
Thanks & Regards
BHaskar Rao.M
2007 May 23 6:48 AM
REPORT ABC MESSAGE-ID ZZ.
DATA : V_REPID LIKE SY-REPID.
DATA : ITAB TYPE TABLE OF SY-UCOMM.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'ONLI' TO ITAB.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
P_STATUS = SY-PFKEY
TABLES
P_EXCLUDE = ITAB.
END-OF-SELECTION.
WRITE : 'Hi'.
Hi Experts,
when ever u create a parameter or select-options in selection-screen
u will have an execute button on Left-Top Corner ...... How to Deactivate that button .........is there any function modules for ressting that execute....i hope we need to do it in AT SELECTION-SCREEN OUTPUT.
Thanks & Regards
BHaskar Rao.M
2007 May 23 6:42 AM
yes we can do all the screen modifications in 'At Selection-screen Output' Event.
If u want to modify anything in GUI-Status(application toolbar or menu bar) copy the GUI-status from Menu bar at that particular into a neew GUI status and modify and use(using 'Set PF-Status' statement).
Hope this will solve ur problem..
<b><u>Please Dont forget to reward all the useful replies</u></b>
Sudheer
2007 May 23 6:44 AM
Hi Sudeer ,
Is there any function module for deactivating it ....
Thanks & Regards
Bhaskar Rao.M
2007 May 23 6:49 AM
there is no function module to deactivate anything in GUI-status (Menubar or application toolbar) at my knowledge.
2007 May 23 6:49 AM
2007 May 23 6:52 AM
REPORT demo_sel_screen_status.
DATA itab TYPE TABLE OF sy-ucomm.
PARAMETERS test(10) TYPE c.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'PRIN' TO itab,
'SPOS' TO itab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.
http://help.sap.com/saphelp_47x200/helpdata/en/e7/0eb237e29bc368e10000009b38f8cf/content.htm
2007 May 23 6:43 AM
Hai,
Yes,u r right.U have to write it in AT SELECTION-SCREEN OUTPUT.
Regards,
Padmam.
2007 May 23 6:44 AM
Hi,
You can set your own PF-status or use Function - keys
Thanks
Sandeep
Reward if helpful
2007 May 23 6:48 AM
REPORT ABC MESSAGE-ID ZZ.
DATA : V_REPID LIKE SY-REPID.
DATA : ITAB TYPE TABLE OF SY-UCOMM.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'ONLI' TO ITAB.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
P_STATUS = SY-PFKEY
TABLES
P_EXCLUDE = ITAB.
END-OF-SELECTION.
WRITE : 'Hi'.
2007 May 23 6:52 AM
Hi Chandra Sekhar,
Thanks for the valueble answer.........
Thanks & Regards
Bhaskar Rao.M
2007 May 23 6:49 AM
hi,
goto SE41 n create a menu for your screen by giving report name and selecting menu bar radio button. giv function codes for the buttons you want.
n in at selection-screen output [or] use at user-command event
loop at screen.
case sy-ucomm
when 'fc1'
screen-required = 0.
modify screen.
.........
...........
endcase.
if helpful reward some points.
with regards,
suresh babu aluri.
endloop.
2007 May 23 6:51 AM
Hi,
Use command :
SET PF-STATUS 'PFSTAT' EXCLUDING 'EXEC'.
Note that pfstat above is a pf status here u can disable a F code like Execute .
Hope this will help u.
Jogdand M B
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |