cancel
Showing results for 
Search instead for 
Did you mean: 

Using Authorization variable in i_step = 0

Former Member
0 Kudos

Hi Experts,

Our company has number of Fiscal variants. We would like to get Bex reports to automatically choose the Fiscal Variant based on a User's authorozation based on Company Code?. is it possible to used I_STEP = 0. If yes please explain with some example codes.

Thanks,


DV

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

For your scenario you don't need any code - just create authorization variable.

Regards.

Former Member
0 Kudos

Hi

This check can be performed either in i_step 1 or 2. Based on the user id, get the company code and fiscal variant and apply the variant to fiscal variant - exit variable.

Simple lookups would solve your purpose.

Regards

Murthy

former_member199691
Active Contributor
0 Kudos

I think you should use i_step = 2 as you will need to read the value of comany code from authorization variable and then perform a look up to get fiscal year variant.

Regards,

Gaurav

Former Member
0 Kudos

Is there a std fm to get authorzation values? Do we have any sample code?:

DV

Former Member
0 Kudos

use fm RSEC_GET_AUTH_FOR_USER or RSEC_GET_AUTHS_FILTERED

Former Member
0 Kudos

Hi Dave,

If you want to restrict query output with company code authorization, then you can create a variable for company code with processing as authorization.

Former Member
0 Kudos

Hi,

for validation , I_STEP =3  is used. You can give condition fiscal year with corresponding company code.

Regards,

Anand Mehrotra.