11-28-2005 11:14 AM
Hello,
I have built a query using SQ01 and I need to place an authorisation check against a particular field on the report.
Can anyone tell me how ths is done?
Thanks,
Allan
11-28-2005 11:23 AM
Hi,
you can insert coding-lines (with authority check) in your infoset
Andreas
11-28-2005 12:04 PM
Hi,
What is your aim? if the authority check fails, you do not want to display the whole report or you want to display only those lines where the authority check is successful?
Any way you can follow the steps below,
1. edit infoset
2. click on extras
3. click on create
4. select code radio button
5. enter the authority check code
6. use check sy-subrc = 0.
Ravi
11-28-2005 12:43 PM
Hi
For Authorization check, you can do it in initialization part by adding the code.
authority-check object 'V_VTTK_SHT'
id 'ACTVT' field '02'
id 'SHTYP' dummy.
if sy-subrc <> 0.
message e059(zz).
endif.
11-28-2005 4:33 PM
Hi,
Write a piece of code for authorization Check while you creating a Infoset i.e SQ02.
Regards
KER