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

selection screen in Non-EDIT mode

Former Member
0 Likes
661

In the selection screen user wants a field to be in Non-EDIT mode.

PARAMETERS : s_vkorg like vbrk-vkorg default '1000'.

(The above parameter shud be in non-editable mode)

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
606

Write the following code under event AT SELECTION-SCREEN OUTPUT.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-NAME = 'S_VKORG'.

SCREEN-OUTPUT = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

3 REPLIES 3
Read only

Former Member
0 Likes
607

Write the following code under event AT SELECTION-SCREEN OUTPUT.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-NAME = 'S_VKORG'.

SCREEN-OUTPUT = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Read only

Former Member
0 Likes
606

Hi,

Please try this.

AT SELECTION-SCREEN OUTPUT.

loop at screen.
  if screen-name eq 'S_VKORG'.
    screen-input = 0.
    modify screen.
  endif.
endloop.

Hope this will help.

Regards,

Ferry Lianto

Read only

suresh_s9
Participant
0 Likes
606

Hi Ram,

It is very simple.....

go to---se51 and open the program with the ur default sceeen no 1000.

For Example ur report name as ZXYZ and sceen no :1000

in se51 ..report name ZXYZ and 1000. we can see three Tabstrips: as

Attributes,Element List, Flow Logic..

in Elements list again so many tab strips...in general attributes...we can see our s_vkorg in that one beside Format one button called INPUT ...default it is checked.

If u uncheck it then it is refelcetd in ur report ....in the s.sceen of ur report it is disable mode...

just try it ...if u have any queries just contact me..

all the best...

Suresh S