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

Read only field

Former Member
0 Likes
724

Hi friends,

I have to make one field in the selection screen(report) as a read only field. Can you suggest how to do it.

regards,

John

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
698

Hi,

Default the selectscreen with required value.

if user entered any value then give error message.

Thanks,

Sarala.

Message was edited by:

Sarala

5 REPLIES 5
Read only

Former Member
0 Likes
699

Hi,

Default the selectscreen with required value.

if user entered any value then give error message.

Thanks,

Sarala.

Message was edited by:

Sarala

Read only

Former Member
0 Likes
698

Hi,

Write code in at selection screen and use loop at screen and set the screen as only display mode

or declare like this

PARAMETERS P_VALUT LIKE KKBC-VALUTYP DEFAULT '00000' MODIF ID bl1 no-display.

Regards

Shiva

Read only

former_member194669
Active Contributor
0 Likes
698

Hi,


AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'XXXXXXX'.
screen-input = 0.
MODIFY SCREEN.
endif
ENDLOOP.
 

Thanks

aRs

Read only

Former Member
0 Likes
698

Hi,

You can refer to the following code:

AT SELECTION-SCREEN OUTPUT.

loop at screen.

if screen-name eq 'PNPS$MSL'.

screen-active = 0.

endif.

modify screen.

endloop.

Hope this helps.

Reward if helpful.

Regards,

Sipra

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
698

Hi,

Try this.

parameters p1.

at selection-screen output.

p1 = 'A'.

loop at screen.

if screen-name = 'P1'.

screen-input = '0'.

modify screen.

endif.

endloop.