Application Development 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: 

Parameters

Former Member
0 Kudos

Friends,

I am having a parameter field in which I display a default value.

I should prevent users from editing the field-This field should be used only for display.

Is there any parameter options through which we can acheive the same.

Regards,

Usha

1 ACCEPTED SOLUTION

Former Member
0 Kudos

In your AT SELECTION-SCREEN OUTPUT event have this code.


LOOP AT screen.
  IF screen-name = 'MYPARAM'.
    screen-input = 0.
    MODIFY screen.
  ENDIF.
ENDLOOP.

Please reward and close the post if resolved.

3 REPLIES 3

Former Member
0 Kudos

In your AT SELECTION-SCREEN OUTPUT event have this code.


LOOP AT screen.
  IF screen-name = 'MYPARAM'.
    screen-input = 0.
    MODIFY screen.
  ENDIF.
ENDLOOP.

Please reward and close the post if resolved.

0 Kudos

Parameters : P_field1 like <....>

At selection-screen output.

LOOP AT SCREEN.

Check screen-name = 'P_FIELD1'.

screen-input = 0.

MODIFY screen. EXIT.

ENDLOOP.

regards

gv

Bema
Active Participant
0 Kudos

Hi Usha,

Parameters : p type c default 'B'.

At selection-screen output.

LOOP AT SCREEN.

Check screen-name = 'p'.

screen-input = 0.

MODIFY screen.

ENDLOOP.