cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization check problem

Former Member
0 Kudos

Hello,

I would like to know if somehow is it possible to add an extra authorization check into a transaction. When the transaction PA20 is executed the following authorization object are checked:

PLOG

P_ORGIN

P_PCLX

P_PERNR

None of these object allow to filter by company code. Could I modify the PA20, so it could check an extra object to filter by Comany code without writting any code?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jesus,

As Jose mentioned, using the org key (VDSK1) is the easiest and recommended way by SAP.

But, if you are already using it for some other purposes, some options are available to you:

1- use the standard string split option to use a part of the VDSK1 (IMG) to capture the company code.

2- You can modify PA20 in the user exit section, through transaction code PM01. But again, I would recommend to use the VDSK1, it is much more simplier, and well SAP Supported.

Hope the 2- answered your second part of you question Cheers

Jean-Michel

Former Member
0 Kudos

Jesus,

the easiest way would be customize the organizational key in order to have the company code in it.

In the IMG:

Personnel Management->Org. Data-> Org. Assigm.->Set up organizational key