Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

disabling close button and execute button in dialog box screen

Former Member
0 Likes
1,910

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

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

3 REPLIES 3
Read only

Former Member
0 Likes
1,053

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

Read only

nirajgadre
Active Contributor
0 Likes
1,053

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

Read only

Former Member
0 Likes
1,053

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