‎2008 Apr 14 1:53 PM
Hi experts,
What does it mean if in the authority check there is a dummy? The program cannot absolve this authorization check successfuly, what is the problem. I have full authority for all components, could it caused by the dummy?
I have the following code:
AUTHORITY-CHECK OBJECT 'P_TRAVL'
ID 'bukrs' FIELD w_header-bukrs
ID 'authp' DUMMY
ID 'persa' DUMMY
ID 'kostl' DUMMY
....
....
....
‎2008 Apr 14 2:03 PM
DUMMY -- means you don't want to check/include
this field for authorization check ...
‎2008 Apr 14 2:03 PM
DUMMY -- means you don't want to check/include
this field for authorization check ...
‎2008 Apr 14 2:18 PM
Why do we use Dummy instead of leaving out the field from the authorization check?
‎2008 Apr 14 3:56 PM
Hi, some code checking routines (e.g. checkman) would write an error for that statement (SLIN_AUTH - you might have forgotten it),
Regards, Norbert
‎2008 Apr 14 4:53 PM
Hello Norbert,
Could you make it clean? What should I check?
‎2008 Apr 14 4:00 PM
Hi,
Instead of ID name FIELD f, you can also write ID name DUMMY. This means that no check is performed for the field concerned.
The check can only be performed on CHAR fields. All other field types result in 'unauthorized'.
Thanks,
Sriram Ponna.
‎2008 Apr 14 7:08 PM
Basically same authorization object is used for many programs, so for example 3 fields 'a','b','c' are added to an authorization object. this auth obj is used in two programs .
in the first program you want to put a check on 'a' so you will keep 'b' and 'c' as dummy .
so bottom line is auth obj becomes reusable.
‎2008 Apr 21 1:18 PM