2006 Aug 25 7:51 PM
Hi,
Can we restrict the selection screen variants for reports by user? For example my report is ZREPORT. Different users can save variants for the report. When they choose a variant for executing the report, they would like to see only the variants they created.
By default SAP lists all variants created (irrespective of who created).
Thanks
Anil
2006 Aug 25 11:14 PM
Hi,
If you want the other users doesn't want to execute (Not see) other variant..you can check if that user has created the variant in the AT SELECTION-SCREEN event..
By checking VARI-VARIANT against the table VARID and check if sy-uname <> VARID-ENAME.
Thanks,
naren
Hi,
If you want the other users doesn't want to execute (Not see) other variant..you can check if that user has created the variant in the AT SELECTION-SCREEN event..
By checking VARI-VARIANT against the table VARID and check if sy-uname <> VARID-ENAME.
Thanks,
naren
2006 Aug 25 10:38 PM
I think the variants are user specific.
If you login as user1, you cannot see the data/variants of user2.
Please correct me if I am wrong!!
2006 Aug 25 10:45 PM
2006 Aug 25 10:57 PM
I think you cannot hide the variants created by other user for the same report. All will be displayed. But let me check.
Thanks,
2006 Aug 25 11:03 PM
2006 Aug 25 11:14 PM
Hi,
If you want the other users doesn't want to execute (Not see) other variant..you can check if that user has created the variant in the AT SELECTION-SCREEN event..
By checking VARI-VARIANT against the table VARID and check if sy-uname <> VARID-ENAME.
Thanks,
naren
2006 Aug 26 4:17 AM
2006 Aug 26 3:07 PM
Thanks Rich. Displaying User Names along with Variant is one of the options I am looking for. I remember I saw it in my previous client. Didnt know about the number of variants needed for displaying user names.
Thanks everybody for the reply.
Regards
Anil
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |