2006 Dec 12 8:30 AM
Hi everybody,
is it possible to disable a <b>parameters</b> (like in HTML) ?
Thanks Ragards Mario
2006 Dec 12 8:32 AM
Yes you can do that
parameters: p_check type c.
parameters: p_group type c.
at selection-screen output.
loop at screen.
if screen-name = 'P_GROUP'.
screen-input = '0'.
modify screen.
endif.
endloop.
start-of-selection.
if sy-slset <> space.
clear p_group.
endif.Regards,
Santosh
Yes you can do that
parameters: p_check type c.
parameters: p_group type c.
at selection-screen output.
loop at screen.
if screen-name = 'P_GROUP'.
screen-input = '0'.
modify screen.
endif.
endloop.
start-of-selection.
if sy-slset <> space.
clear p_group.
endif.Regards,
Santosh
2006 Dec 12 8:32 AM
Yes you can do that
parameters: p_check type c.
parameters: p_group type c.
at selection-screen output.
loop at screen.
if screen-name = 'P_GROUP'.
screen-input = '0'.
modify screen.
endif.
endloop.
start-of-selection.
if sy-slset <> space.
clear p_group.
endif.Regards,
Santosh
2006 Dec 12 8:32 AM
hi
yes it is possible.
u have to declare MODIF ID for the parameters you want to disable
you have to write an event AT SELECTION-SCREEN OUTPUT.
and using LOOP AT SCREEN, you can disable the parameters.
pls refer to the following link for sample code:
http://help.sap.com/saphelp_nw04/helpdata/en/79/34a234d9b511d1950e0000e8353423/content.htm
thanks
pavan
2006 Dec 12 8:33 AM
try this code at the pbo of the screen i.e.
PARAMETERS : P_MATNR LIKE MARA_MATNR.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'P_MATNR'.
SCREEN-INPUT = '0'.
SCREEN-OUTPUT = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
REGARDS
SHIBA DUTTA
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |