01-05-2005 5:31 AM
I need to have a selection field , But the user should not be able to see it. How to hide the same from the selection screen ?
01-05-2005 5:54 AM
Hi,
Perhaps you could use the NO-DISPLAY addition for select-options.
If you intend to use the field only for internal processing, you could use RANGES as well.
Regards
Message was edited by: Shehryar Khan
01-05-2005 5:54 AM
Hi,
Perhaps you could use the NO-DISPLAY addition for select-options.
If you intend to use the field only for internal processing, you could use RANGES as well.
Regards
Message was edited by: Shehryar Khan
01-05-2005 6:14 AM
Hi,
u can try out following code:
parameters: param1,
param2.
at selection-screen output.
loop at screen.
if screen-name = 'PARAM1'.
screen-invisible = 1.
screen-active = 0.
endif.
modify screen.
endloop.
01-05-2005 6:23 AM
Hi,
The previous code segment I gave, does not hide the name(text) of the parameter..so make following change in the if condition:
if screen-name = 'PARAM1' or
screen-name = '%_PARAM1_%_APP_%-TEXT'.
01-05-2005 6:41 AM
Hello,
You can try the following code:
TABLES: MARA.
PARAMETERS : p_werks1 TYPE werks_d MODIF ID bk1,
p_werks2 TYPE werks_d MODIF ID bk1'
SELECT-OPTIONS SO_MATNR FOR MARA-MATNR MODIF ID bk1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'BK1'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards,
Jeff
01-06-2005 4:24 AM
i think the way Jeffrey and Tejal suggested the invisible fields will become visible if you create a variant and then fill the selection screen fields with the variant. NO DISPLAY is the best option but you cant use this for check boxes etc.