2005 Nov 11 1:16 PM
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
2005 Nov 11 1:20 PM
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
2005 Nov 11 1:20 PM
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.
2005 Nov 11 1:25 PM
2005 Nov 11 1:25 PM
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
2005 Nov 11 1:25 PM
Can you avoid showing the selection screen of the called program without using the option 'USING SELECTION SCREEN'?
2005 Nov 11 1:30 PM
> 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
2005 Nov 11 1:35 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |