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

How To make parameter no edit

Former Member
0 Likes
4,831

I have a main program that the user selects a collective# and a master Requisition and those two field are passed to my program using a submit with. What I want is on the called selecion screen I don't want the parameters passed in editable but display only.

Can someone explain how I could do this.

Will award points as always.

Thanks

Richard

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,748

Hi

PARAMETER: P_1 MODIF ID 001,

P_2 MODIF ID 001.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = '001'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

endloop.

Max

ENDLOOP.

I have a main program that the user selects a collective# and a master Requisition and those two field are passed to my program using a submit with. What I want is on the called selecion screen I don't want the parameters passed in editable but display only.

Can someone explain how I could do this.

Will award points as always.

Thanks

Richard

6 REPLIES 6
Read only

Former Member
0 Likes
1,749

Hi

PARAMETER: P_1 MODIF ID 001,

P_2 MODIF ID 001.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = '001'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

endloop.

Max

ENDLOOP.

Read only

0 Likes
1,748

Just loop at the screen and make input = 0.

Read only

Former Member
0 Likes
1,748

Richard,

Use MODIF ID and LOOP AT SCREEN stmt.

Here is the documentation:

http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba70535c111d1829f0000e829fbfe/frameset.htm

Thanks

Kam

Read only

Former Member
0 Likes
1,748

Can you avoid showing the selection screen of the called program without using the option 'USING SELECTION SCREEN'?

Read only

Former Member
0 Likes
1,748

> I have a main program that the user selects a

> collective# and a master Requisition and those two

> field are passed to my program using a submit with.

> What I want is on the called selecion screen I don't

> want the parameters passed in editable but display

> only.

Sorry I may have jumped the gun here, you have a program A which has collective# and a master Requisition as its parameters. Once they enter and press excute, they call another program B to which these two values are passed. This is where I am little confused. Are you or are you not showing the selection screen of the program B? Do you want to show the selection screen B, but want the values to be display only, <b>yet editable</b>?

Please clarify with example.

Thanks,

Srinivas

Read only

0 Likes
1,748

problem solved .

Thanks