10-18-2007 4:03 PM
Hello All,
We are trying to hide a check box on the selection screen for a standard sap report transaction (s_alr....). We can hide it by creating a variant but then if the users don't select it, the checkbox will be visible. We can't use transaction variant to hide this since its not a dialog transaction.
We don't want any users to select that option by clicking on the checkbox and then running the report. Any suggestions or help is much appreciated.
Thanks,
Sal
10-18-2007 4:12 PM
Hi Salman,
Go to transaction SHD0, create Screen variant and activate it.
<b>Reward for helpful answers</b>
Satish
10-18-2007 4:25 PM
Satish,
Thanks for your response but I can't create a screen variant since its a report transaction. I get the following error in SHD0..."Variants are possible only for dialog transactions. MS417".
Sal
10-18-2007 4:37 PM
Did you think about modifying the standard report by adding NO-DISPLAY to the parameter option?
If you are not allowed to modify another option - although much more effort - would be to replicate the standard selection screen in an own Z-report and at the end do a SUBMIT standard report WITH parameter
In your won report you can easily hide that parameter and always pass a space to the standard report.
To submit data to the standard report just use
DATA: lt_par TYPE TABLE OF rsparams.
build the selection table based on the selection criteria the user entered and do:
SUBMIT rep USING SELECTION-SCREEN 1000
WITH SELECTION-TABLE lt_par.
Then just remove access to the standard transaction and create an own transaction for your custom report which is added to the users authorized transactions.
Not the easiest way to do it, but it does work.
Regards,
Michael