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

Parameters - No edit

Former Member
0 Likes
3,438

Hi Friends,

How to stop the users changing parameters value?

(e.g)

PARAMETERS: P_BUKRS LIKE BSEG-BUKRS DEFAULT '0100'.

This '0100' should not be changed. Thanks in advance

Regards

Hari

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,622

Hi,

Check the below code


PARAMETERS: P_BUKRS LIKE BSEG-BUKRS DEFAULT '0100'.

at selection-screen output.
loop at screen.
if screen-name = 'P_BUKRS'.
screen-input = 0.
modify screen.
endif.
endloop.
endloop.

Hey you can also do this but on selection screen you will not dispaly your parameter.

PARAMETERS: P_BUKRS LIKE BSEG-BUKRS DEFAULT '0100' NO-DISPLAY.

Thanks

VIKRANTH

3 REPLIES 3
Read only

Former Member
0 Likes
1,623

Hi,

Check the below code


PARAMETERS: P_BUKRS LIKE BSEG-BUKRS DEFAULT '0100'.

at selection-screen output.
loop at screen.
if screen-name = 'P_BUKRS'.
screen-input = 0.
modify screen.
endif.
endloop.
endloop.

Hey you can also do this but on selection screen you will not dispaly your parameter.

PARAMETERS: P_BUKRS LIKE BSEG-BUKRS DEFAULT '0100' NO-DISPLAY.

Thanks

VIKRANTH

Read only

Former Member
0 Likes
1,622
Read only

Former Member
0 Likes
1,622

Thanks very much Khimavath Vikranth & Praveena.