‎2008 Aug 22 12:07 PM
‎2008 Aug 22 12:23 PM
Some ways to process
- Use the [NO-DISPLAY|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=no-display&adv=false&sortby=cm_rnd_rankvalue] option of the PARAMETERS statement (deactivate)
- In the PBO ([AT SELECTION-SCREEN OUTPUT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=atSELECTION-SCREENOUTPUTLOOPATSCREEN&adv=false&sortby=cm_rnd_rankvalue]) hide (SCREEN-INVISIBLE = 1.) or deactivate the parameter (SCREEN-ACTIVE = 0.) in a [LOOP AT SCREEN|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=atSELECTION-SCREENOUTPUTLOOPATSCREEN&adv=false&sortby=cm_rnd_rankvalue] block.
- Create a [variant|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=reportvarianttransaction&adv=false&sortby=cm_rnd_rankvalue] which hides or protects the parameter and assign it to the transaction.
Deactivate parameter may only be filled by a calling program, invisible and input field will look like a password field.
Also make a [little search on sdn @sap.com|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=invisibleparameterselection-screen&adv=false&sortby=cm_rnd_rankvalue]
Regards
‎2008 Aug 22 12:10 PM
hi
at-selection screen.
loop at screen.
if screen-name = <name of parameter>
screen-display = ' 0'.
modify screen.
endif.
endloop.
Aditya
‎2008 Aug 22 12:11 PM
hi sia anjali
Use the Option NO-DISPLAY
eg parameters : var(10) type c NO-DISPLAY .
Regards
Deva
‎2008 Aug 22 12:12 PM
Hi,
do like this
PARAMETERS: p1 TYPE c LENGTH 10 no-display.
Regards,
Prashant
‎2008 Aug 22 12:13 PM
‎2008 Aug 22 12:18 PM
Hi,
u write in the following way:
PARAMETERS name(20) TYPE c NO-DISPLAY .
Thanks & Regards
Ashu Singh.
‎2008 Aug 22 12:18 PM
Hi
PARAMETERS :
p_temp1(20) TYPE c NO-DISPLAY,
p_temp2(20) TYPE c .Regards
Pavan
‎2008 Aug 22 12:18 PM
Hi Anjali
If it is module pool program use
at-selection screen.
loop at screen.
if screen-name = 'parameter'
screen-display = ' 0'.
modify screen.
endif.
endloop.
if it is excutable program use
parameters : 'var' type 'data type' no-display
Thanks,
Krish
‎2008 Aug 22 12:22 PM
As also said by others just make the addition NO-DISPLAY,
like:
PARAMETERS:
char1 ,
char2 no-display.
SELECT-OPTIONS:
CARRID for SBOOK-CARRID,
CONNID for SBOOK-CONNID NO-DISPLAY.and if you want to do it on the SELECTION-SCREEN itself,
then for the PAI event AT SELECTION-SCREEN OUTPUT,
here write the logic like loop at screen, make screen group invisible and modify screen.
With luck,
Pritam.
‎2008 Aug 22 12:23 PM
Some ways to process
- Use the [NO-DISPLAY|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=no-display&adv=false&sortby=cm_rnd_rankvalue] option of the PARAMETERS statement (deactivate)
- In the PBO ([AT SELECTION-SCREEN OUTPUT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=atSELECTION-SCREENOUTPUTLOOPATSCREEN&adv=false&sortby=cm_rnd_rankvalue]) hide (SCREEN-INVISIBLE = 1.) or deactivate the parameter (SCREEN-ACTIVE = 0.) in a [LOOP AT SCREEN|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=atSELECTION-SCREENOUTPUTLOOPATSCREEN&adv=false&sortby=cm_rnd_rankvalue] block.
- Create a [variant|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=reportvarianttransaction&adv=false&sortby=cm_rnd_rankvalue] which hides or protects the parameter and assign it to the transaction.
Deactivate parameter may only be filled by a calling program, invisible and input field will look like a password field.
Also make a [little search on sdn @sap.com|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=invisibleparameterselection-screen&adv=false&sortby=cm_rnd_rankvalue]
Regards
‎2022 Jul 28 7:05 AM
If you want to hide parameter from selection screen, use AT SELECTION-SCREEN OUTPUT event.
Code:
LOOP AT SCREEN.
IF screen-name = 'PARAMETER NAME'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards
Viktor