2010 Jan 14 8:57 AM
hi all.
i have just created one dialog screen in se51 but i just want to know on how we can disable the close(icon) button and exectue(icon) button in this dialog screen.
will be waiting for your response.
regards.
Varma
In PBO module write the following code
loop at screen.
check screen-name = 'P_BACK'. "Name of the push button you have given while creation
screen-input = 0.
modify screen.
endloop.
Thanks
Sikha
2010 Jan 14 9:04 AM
Hi,
In module of PBO..
LOOP AT SCREEN.
IF SCREEN-NAME = <Pass the fields you want>
SCREEN-INPUT = 0
MODIFY SCREEN.
ENDLOOP.
Nag
Edited by: Naga Mohan Kummara on Jan 14, 2010 10:06 AM
2010 Jan 14 9:08 AM
Hi,
Try to use below logic in PBO module of the dialog screen.
pass the FCODE of the close and execute button to internal table T_EXTAB.
DATA :BEGIN OF t_extab occurs 0,
fcode like rsmpe-func,
END OF t_extab.
REFRESH T_EXTAB.
MOVE 'SAVE' TO T_EXTAB-FCODE.
APPEND T_EXTAB.
CLEAR T_EXTAB.
SET PF-STATUS 'STATUS' EXCLUDING T_EXTAB
2010 Jan 14 9:33 AM
In PBO module write the following code
loop at screen.
check screen-name = 'P_BACK'. "Name of the push button you have given while creation
screen-input = 0.
modify screen.
endloop.
Thanks
Sikha
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |