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

Parameter no editable

mariano_gallicchio2
Participant
0 Likes
3,538

Hello experts!

There is a way to make a parameter not editable but show the parameter in the screen?

Thanks!

Edited by: Mariano Gallicchio on Dec 2, 2008 1:15 PM

1 ACCEPTED SOLUTION
Read only

LeonardoAraujo
SAP Mentor
SAP Mentor
0 Likes
2,110

Hi Mariano,

Use the program event AT SELECTION-SCREEN OUTPUT. and code it as it was a PBO module doing the following:

loop at screen.

If screen-name = 'P_WERKS'.

screen-input = 0.

modify screen.

endif.

endloop.

Good luck,

Leonardo De Araujo

6 REPLIES 6
Read only

Former Member
0 Likes
2,110

use RANGES.

Read only

Former Member
0 Likes
2,110

Add following code:

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-NAME = <PARAMETER_NAME>.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Read only

LeonardoAraujo
SAP Mentor
SAP Mentor
0 Likes
2,111

Hi Mariano,

Use the program event AT SELECTION-SCREEN OUTPUT. and code it as it was a PBO module doing the following:

loop at screen.

If screen-name = 'P_WERKS'.

screen-input = 0.

modify screen.

endif.

endloop.

Good luck,

Leonardo De Araujo

Read only

Former Member
0 Likes
2,110

make that into grey color.

use this logic.

loop at screen.

if screen-group1 = 'SCR'.

screen-input = 0.

modify screen.

endif.

endloop.

assign SCR to selection screen like this

parameters: var1(10) type c modif ID SCR.

Hopw it may helpful to u

Regards,

Ajay

Read only

0 Likes
2,110

Thanks a lot for the quick answer!!!!

Read only

Former Member
0 Likes
2,110

Do like this...


PARAMETERS : para TYPE ... MODIF ID 001.
 
AT SELECTION-SCREEN OUTPUT.
LOOP AT screen.
CHECK screen-group1 EQ '001'.
screen-input = '0'.
MODIFY screen.
ENDLOOP.