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

logical database

Former Member
0 Likes
608

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
585

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.

4 REPLIES 4
Read only

Former Member
0 Likes
586

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.

Read only

Former Member
0 Likes
585

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.

Read only

Former Member
0 Likes
585

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************

Read only

Former Member
0 Likes
585

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..