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

Former Member
0 Likes
868

Hi all .

is this possible to make parameters field non modifiable (output field only).

if so how to do this .

please tell me .

regards

Prajwala.k

1 ACCEPTED SOLUTION
Read only

gopi_narendra
Active Contributor
0 Likes
851
PARAMETERS : p_file TYPE rlgrap-filename.
PARAMETERS : p_file2 TYPE rlgrap-filename.

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

See the above code

Regards

Gopi

8 REPLIES 8
Read only

FredericGirod
Active Contributor
0 Likes
851

Yep,

at selection-screen output.

you make a loop at screen. and a not input when you are in the field name. and don't forget to modify screen.

Read only

JozsefSzikszai
Active Contributor
0 Likes
851

hi prajwal,

you have to do something like this:

PARAMETER : para TYPE ... MODIF ID 01

AT SELECTION SCREEN OUTPUT.

LOOP AT screen.

IF screen-group 1 EQ '01'.

screen-input = 0.

MODIFY screen.

ENDIF.

ENDLOOP.

hope this helps

ec

Read only

kiran_k8
Active Contributor
0 Likes
851

Prajwal,

Do like this

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'B1'.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

K.Kiran.

Read only

gopi_narendra
Active Contributor
0 Likes
852
PARAMETERS : p_file TYPE rlgrap-filename.
PARAMETERS : p_file2 TYPE rlgrap-filename.

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

See the above code

Regards

Gopi

Read only

Former Member
0 Likes
851

Hi,

parameters: p_matnr like mara-matnr.

AT SELECTION-SCREEN OUTPUT.

loop at screen.

if screen-name = 'P_MATNR'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

endloop.

thanks & regards,

Venkatesh

Read only

Former Member
0 Likes
851

Hi,

HANDLE THIS AT THE EVENT <b>AT SELECTION-SCREEN OUTPUT</b>.

Assign a modif id to the parameter you want thisto be done.

Then pass the field screen-input = 0, for the assigned modif id.

Regards,

Rama Murthy.P

Read only

Former Member
0 Likes
851

HI

PARAMETER : P_WERKS TYPE MARA-WERKS MODIF ID S1

AT SELECTION SCREEN OUTPUT.

LOOP AT screen.

IF screen-group 1 EQ 'S1'.

screen-input = 0.

MODIFY screen.

ENDIF.

ENDLOOP.

REWARD IF USEFULL

Read only

Former Member
0 Likes
851

PARAMETERS : x type< > modif id sg1,

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-group1 = 'SG1'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

reward points if useful.

thanks

nayan