‎2007 Jul 11 10:59 AM
Hi
I want to disable one of the items in standard selection screen of logical database.
can i do it through writing a code in my program.
How do i do it?
Regards,
Quavi
‎2007 Jul 11 11:02 AM
Hi abadul,
1. u can do like this.
2.
<b>AT SELECTION-SCREEN OUTPUT.</b>
LOOP AT SCREEN.
if screen-name = 'FIELDNAME'.
screen-input = 0.
screen-invisible = 1.
modify screen.
endif.
ENDLOOP.
regards,
amit m.
‎2007 Jul 11 11:02 AM
Hi abadul,
1. u can do like this.
2.
<b>AT SELECTION-SCREEN OUTPUT.</b>
LOOP AT SCREEN.
if screen-name = 'FIELDNAME'.
screen-input = 0.
screen-invisible = 1.
modify screen.
endif.
ENDLOOP.
regards,
amit m.
‎2007 Jul 11 11:03 AM
Use the following code in the AT SELECTION-SCREEN OUTPUT Event.
LOOP AT SCREEN.
IF SCREEN-NAME EQ 'FIELD1'.
SCREEN-ACTIVE = 0.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
‎2007 Jul 11 11:04 AM
Hi,
please check out the following link it might help you
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
*******************please reward points if the information is helpful to you************
‎2007 Jul 11 11:09 AM
check include DBPNPSEL,
u can set values for different parameters and select-options to disable / enable them.
or u can use
Loop at Screen.
Endloop.
as posted by others.
reward if useful..