Skip to Content
author's profile photo Former Member
Former Member

Using Authorization variable in i_step = 0

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 08, 2012 at 07:56 AM

    Hi,

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

    Regards,

    Anand Mehrotra.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 08, 2012 at 06:59 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 08, 2012 at 07:08 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 09, 2012 at 08:28 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2012 at 01:09 PM

    Hi,

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

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.