Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Authorization with DUMMY

Former Member
0 Likes
10,790

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

....

....

....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
5,285

DUMMY -- means you don't want to check/include

this field for authorization check ...

7 REPLIES 7
Read only

Former Member
0 Likes
5,286

DUMMY -- means you don't want to check/include

this field for authorization check ...

Read only

0 Likes
5,285

Why do we use Dummy instead of leaving out the field from the authorization check?

Read only

0 Likes
5,285

Hi, some code checking routines (e.g. checkman) would write an error for that statement (SLIN_AUTH - you might have forgotten it),

Regards, Norbert

Read only

0 Likes
5,285

Hello Norbert,

Could you make it clean? What should I check?

Read only

Former Member
0 Likes
5,285

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.

Read only

Former Member
0 Likes
5,285

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.

Read only

Former Member
0 Likes
5,285

Thanks