Authorization Variable doesn't work in Workbook

Hi all,
I have defined authorization variable for a characteristics in Query. When I run the query, the variable's value can be derived from user's authorization. But when running in workbook, it doesn't work. The value is empty and workbook shows "No Authorization". Does anyone have the same problem?

Dear Eric,
Are you sure that you have enabled the authorization object for your InfoProvider? This is something that has to be done in transaction RSSM after an authorization object as been created.
Greetings,
Stefan

Similar Messages

  • Drill down doesn't work in Workbooks

    Functionality of Navigation Pane /List of filters in workbooks doesn't work.
    Some Insight ( how the workbook was built ) - RRMX - New Worksheet - Select Cells & Insert Buttons ( Change Variables & Refresh ), Navigation Pane, List Of filter, Analysis Grid - All others work excepting the Navigation Pane & List of filters.When I do "drill down " or " select filter value " , the functionality doesn't seem to be working...though the drill down works on Query Result Area ( like on right clicking " Cost Center " - Drill Down Cost Center Down ).
    Anything to do with Macros ????
    We are on  BI 7.0 - SP 13 , has anyone encountered a similar issue ???
    Any applicable OSS notes ....
    Message was edited by:
            Jr Roberto

    After opening a workbook did you refresh the sheet/query?
    When you open a saved workbook it will not have the OLAP information that is needed for
    drilldowns.
    Good luck, BB

  • USER Exit variable doesn't work in BSP

    Hi gurus
    I made a characteristic variable with user-exit replacement type.
    It get the user id from sy-uname. It works well in Gui version. But when I execute the layout in BSP (WI), it doesn't work.
    But If i do the hard-coding the line from (l_eto_charsel-low   = uid.) to (l_eto_charsel-low   = '4012121'.) it works well.
    The following is my coding.
    Please give me any comment.
      CLEAR eto_charsel.
      DATA l_eto_charsel TYPE upc_ys_charsel.
      DATA  uid type c. "(also I have tried 'data uid type sy-uname')
      uid = sy-uname.
      l_eto_charsel-chanm = i_chanm.
      l_eto_charsel-seqno = '0001'.
      l_eto_charsel-sign  = 'I'.
      l_eto_charsel-opt   = 'EQ'.
      l_eto_charsel-low   = uid.  ++++>
      INSERT l_eto_charsel INTO TABLE eto_charsel.
    ENDFUNCTION.
    Message was edited by: Bryan Lee

    Hi,
    Your patch level seems to be OK.
    pls. try the declaration as 'Data: uid like syst-uname' or you could try directly assigning the sy-uname.
    Try to debug and see the content of the sy-uname, when it hits this code.
    HTH,
    Regards,
    Nataraj.

  • [BUG]: af:commandButton rendered with requestScope variable doesn't work

    This took me two days to figure out, and I wonder if it is a bug:
    I have a page that can be navigated to on two occassions, let's call them "left" and "right". I want the page to know what side I came from, so I set a requestScope variable on the buttons that navigate to this page, a bit like this:
    <af:commandButton action="toPage">
      <af:setActionListener from="left" to="#{requestScope.sideFrom}"/>
    </af:commandButton>I have two buttons on the page, one is to navigate back to the left and one to navigate back to the right. Only one is rendered, depending on the requestScope.sideFrom variable.
    One says rendered="#{requestScope.sideFrom eq 'left'}" and the other says rendered="#{!requestScope.sideFrom eq 'left'}"
    Only one button works, namely the one for which the rendered property evaluates to true <b>when the button is pressed</b>!! My requestScoped variable doesn't exist anymore when I press the button to navigate back so it's behavior is changed. How weird is that?
    Should I file a bug?
    I refuse to make it a sessionScoped variable and change it back with the return buttons Imho this is what requestScope is for.
    I am on JDeveloper 11.1.1.6

    Wendy,
    To amplify what Timo rightly says: as JSF goes through its merry lifecycle, one of the steps is to rebuild the component tree in memory. When you use the rendered property, that particular component is not in the component tree - it's as if it doesn't even exist according to JSF. Then, when it comes time to deal with events, the event isn't seen or is ignored (I don't know which) because JSF doesn't think that component is present. As Timo also rightly says - this behaviour is why the "visible" attribute was created.
    John

  • Query variable doesn't work

    Help, I have a query with a variable that doesn't work, if I substitute a valid value for the variable it works correctly. What am I doing wrong here?
    SELECT     T1.FormatCode, T0.Account, MONTH(T0.TaxDate) AS Period,
                          CASE MONTH(TaxDate) WHEN 1 THEN SUM(Debit - Credit) END AS January,
                          CASE MONTH(TaxDate) WHEN 2 THEN SUM(Debit - Credit) END AS February,
                          CASE MONTH(TaxDate) WHEN 3 THEN SUM(Debit - Credit) END AS March,
                           CASE MONTH(TaxDate) WHEN 4 THEN SUM(Debit - Credit) END AS April,
                           CASE MONTH(TaxDate) WHEN 5 THEN SUM(Debit - Credit) END AS May,
                          CASE MONTH(TaxDate) WHEN 6 THEN SUM(Debit - Credit) END AS June,
                          CASE MONTH(TaxDate) WHEN 7 THEN SUM(Debit - Credit) END AS July,
                          CASE MONTH(TaxDate) WHEN 8 THEN SUM(Debit - Credit) END AS August,
                          CASE MONTH(TaxDate) WHEN 9 THEN SUM(Debit - Credit) END AS Sept,
                          CASE MONTH(TaxDate) WHEN 10 THEN SUM(Debit - Credit) END AS Oct,
                          CASE MONTH(TaxDate) WHEN 11 THEN SUM(Debit - Credit) END AS Nov,
                          CASE MONTH(TaxDate) WHEN 12 THEN SUM(Debit - Credit) END AS Dec
    FROM         JDT1 AS T0 INNER JOIN
                          OACT AS T1 ON T0.Account = T1.AcctCode
    WHERE     (T0.TaxDate > '12/31/2007') and T1.segment_1 = [%0]
    GROUP BY T1.FormatCode, T0.Account, MONTH(T0.TaxDate), YEAR(T0.TaxDate)
    ORDER BY T1.formatcode
    Segment_1 is the value I what to let the user enter.
    This query also groups by month, so there is a row for each month, each GL account. Is there a way I can collapse this to one line per account? And show each the GL amount of each month across?
    The purpose of this query is to give a report of each GL account with a column amount for each month.
    Thanks

    Peter,
    Using a fully qualified table reference helps.  I mean [dbo\].[xxxx\]
    Check this out
    SELECT T1.FormatCode, T0.Account, MONTH(T0.TaxDate) AS Period,
    CASE MONTH(TaxDate) WHEN 1 THEN SUM(Debit - Credit) END AS January,
    CASE MONTH(TaxDate) WHEN 2 THEN SUM(Debit - Credit) END AS February,
    CASE MONTH(TaxDate) WHEN 3 THEN SUM(Debit - Credit) END AS March,
    CASE MONTH(TaxDate) WHEN 4 THEN SUM(Debit - Credit) END AS April,
    CASE MONTH(TaxDate) WHEN 5 THEN SUM(Debit - Credit) END AS May,
    CASE MONTH(TaxDate) WHEN 6 THEN SUM(Debit - Credit) END AS June,
    CASE MONTH(TaxDate) WHEN 7 THEN SUM(Debit - Credit) END AS July,
    CASE MONTH(TaxDate) WHEN 8 THEN SUM(Debit - Credit) END AS August,
    CASE MONTH(TaxDate) WHEN 9 THEN SUM(Debit - Credit) END AS Sept,
    CASE MONTH(TaxDate) WHEN 10 THEN SUM(Debit - Credit) END AS Oct,
    CASE MONTH(TaxDate) WHEN 11 THEN SUM(Debit - Credit) END AS Nov,
    CASE MONTH(TaxDate) WHEN 12 THEN SUM(Debit - Credit) END AS Dec
    FROM [dbo\].[JDT1\] T0 INNER JOIN
    [dbo\].[OACT\] T1 ON T0.Account = T1.AcctCode
    WHERE (T0.TaxDate > '12/31/2007') AND T1.segment_1 = '[%0\]'
    GROUP BY T1.FormatCode, T0.Account, MONTH(T0.TaxDate), YEAR(T0.TaxDate)
    ORDER BY T1.formatcode

  • Customer exit variable doesn't work

    Hi,
    I tried to create customer exit for my query but  iam not getting the right result.
    My requirement is to create a Key figure variable that displays Q1 - Q4 based on fiscal year/period (001.2008) entered by the user.
    steps I have taken
    1. created variable MD_VAR for fiscal year/period
    2. created key figure variable MD_VAR_KF where I have the description as Q1 .
    and the result I have is Q&MD_VAR_KF& but I would like to get Q1
    my code
    data: lv_month type n length 3.
    CASE I_VNAM.
    WHEN 'MD_VAR_KF'. "KF variable
    IF I_STEP = 2.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM ='MD_VAR'.
    lv_month = LOC_VAR_RANGE-LOW+6(3).
    IF lv_month = '001' OR lv_month = '002' OR lv_month = '003'.
    L_S_RANGE-LOW = '1'.
    ELSEIF lv_month = '004' OR lv_month = '005' OR lv_month = '006'.
    L_S_RANGE-LOW = '2'.
    ELSEIF lv_month = '007' OR lv_month = '008' OR lv_month = '009'.
    L_S_RANGE-LOW = '3'.
    ELSEIF lv_month = '010' OR lv_month = '011' OR lv_month = '012'.
    L_S_RANGE-LOW = '4'.
    ELSE.
    L_S_RANGE-LOW = 'wrong values'.
    ENDIF.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDLOOP.
    ENDIF.
    ENDCASE.
    What did I do wrong and  how do I achieve my requirement
    thanks

    When you variable result displays the variable name inside &...& means the variable is not deriving a value.
    Make sure the variable &MD_VAR_KF& is defined as a Text variable and as an Exit variable. Otherwise it won't process it in the exit.
    If Fiscal Period is dependent on Fiscal Year Variant (I can't remember off-hand) then the variant key will preceed the Fiscal Period value in the variable, and the value is always processed based on internal format YYYYMMM.  So your substring will be +6(3) if FYV dependent, and +4(3) otherwise.
    You have focused the issue on the code but didn't clarify how you defined the variable itself. If these settings are correct then you need to debug the code to see what part works and what doesn't, then provide more details.

  • Currency conversion type by customer exit variable doesn't work

    Hi all.
    In my query I need amounts by quarter, applying quarters last date rates as currency conversion.
    Query has Year parameter. Based on this parameter, by customer exits I calculate every quarters last date and use them as currency conversion types.
    The problem is that query DOESN'T APPLY currency conversions!
    I checked TCURR table - currency conversions do exist for applied days
    I checked my customer exits - the date calculation works fine
    I suppose where is something wrong in query processes (customer exits/currency conversions) sequence before running it.
    Someone knows anything 'bout that?

    Check these docs.. and check again.
    [Creating Currency Translation Types|http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6813e07211d2acb80000e829fbfe/content.htm]
    [Use Variables for Currency Conversion|http://www.scribd.com/doc/7061035/How-to-Use-Variables-for-Currency-Conversion]

  • Url variable doesn't work in IE

       Hey guys, my page, www.powerhouse.com/Products/Inventory.php I have a bunch of links that reload the page with a url variable.  If FF 3, this works fine, yet in IE 8 the page does not load.  My error log has the following error:
    script '/var/www/powerhouse/public_html/Products/inventory.php' not found or unable to stat
    what stupid IE Hack do I need to get this to work?

    PHE Admin wrote:
    My error log has the following error:  
    script '/var/www/powerhouse/public_html/Products/inventory.php' not found or unable to stat
    what stupid IE Hack do I need to get this to work?
    You don't need any IE hack. I have just tested the page in both FF and IE8. It works just fine in both.
    However, it's very noticeable from your error log that it refers to inventory.php (all lowercase), whereas the actual page is Inventory.php (initial cap). The other thing that's noticeable is the path, which indicates your server is running on Linux, which is case-sensitive.
    From this, I conclude that you originally coded the page using inventory.php, and later updated it. This suggests that IE8 is probably still using a cached version. Clear your cache, and the problem will probably go away.

  • Why assign variable doesn't work

    In my test in sqlplus:
    variable testa number;
    select max(length(name)) into :testa from myschema.tabletest;MAX(LENGTH(NAME))
    6
    print :testa;TESTA
    ----------

    You have to assign the value in pl/sql:
    SQL> begin
      2  select 5 into :testa from dual;
      3  end;
      4  /
    Procedura PL/SQL completata correttamente.
    SQL> print testa
         TESTA
             5Max
    http://oracleitalia.wordpress.com

  • Melt Variables doesn't work.

    Hi everybody,
    I have a web template having one query and two query view (from same query). I have a variable to be selected before web template runs. This variable exists in all queries in the web template. I checked the  "melt variables" option, but it still shows three fields.
    Have any idea, how can I show one variable on the variable selection screen?
    Thanks in advance...
    Yasemin

    Latest version of yaourt?

  • I installed adobe digital editions but when I want to authorize a device (an e-reader) it doesn't work, I receive an error message that digital editions cannot connect with the activation server. what can I do?

    I installed adobe digital editions but when I want to authorize a device (an e-reader) it doesn't work, I receive an error message that digital editions cannot connect with the activation server. what can I do?

    Please quote the exact error message, word-for-word, verbatim.
    What is your operating system?
    What version of Lightroom?

  • I'm trying to use use the variable Evaluate, but doesn't work

    Hi!
    I need to use in the Evaluate of a variable, the condition where is the variable is > of another variable.
    I wrote after that I checked the condition:
    #VARIABLE or '#VARIABLE'
    But it doesn't work. Both of variable is numeric.
    What I have to do?
    I hope to have soon a support because is really important.
    Thanks in advance
    Bye

    I suggest that you must find out what the variables are, as I have tested the two variable EQUALS and NOT and it has worked, so it is a subtlety. Can you add a procedure step which uses a Jython step to print the variable value to the console of an agent so you see what it is comparing.
    In my package I have the steps:
    Declare variable A
    Declare Variable B
    Assign value to A
    Assign valkue to B
    Evaluate Variable A: equals #PROJECTCODE.B
    On true step TRUE
    On False step FALSE
    I tried assigning B the same and different values, each time I ran I got the expected response.

  • The variable exit doesn't work

    Hi,All
       i have create a exit type variable and assign to a query as filter.
       and in CMOD add code to program: EXIT_SAPLRRS0_001
       But the exit doesn't work , i set break-point but it doesn't stop at all.
    CASE I_VNAM.
      WHEN 'ZFISYEAREXIT1'.
          READ TABLE I_T_VAR_RANGE INTO L_S_VAR_RANGE WITH KEY VNAM = 'ZFISYEAREXIT1'.
          IF SY-SUBRC = 0.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW = sy-datum(4).            "low value, for example, 2007
            L_S_RANGE-HIGH = sy-datum(4).          "high value = input
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
          ENDIF.
    ENDCASE.

    Terry,
    Just make the below change and check. Will check your code clearly again. Again is it a formula variable you are using? Also is that a year infoobject or any other object on which you are restricting?
    CASE I_VNAM.
    WHEN 'ZFISYEAREXIT1'.
    DATA year(4) type c.
    READ TABLE I_T_VAR_RANGE INTO L_S_VAR_RANGE WITH KEY VNAM = 'ZFISYEAREXIT1'.
    IF SY-SUBRC = 0.
    CLEAR L_S_RANGE.
    year = sy-datum+0(4).
    L_S_RANGE-LOW = year. "low value, for example, 2007
    L_S_RANGE-HIGH = year. "high value = input
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    ENDCASE.

  • Seconds_between doesn't work with variables in SQLScript

    There is a sample procedure:
    create procedure testproc
    language SQLSCRIPT
    as
    l_curtime timestamp;
    l_timedelta integer;
    begin
      select systimestamp into l_curtime from dual;
      select seconds_between(:l_curtime, systimestamp) into l_timedelta from dual;
    end;
    It should return seconds between 2 timestamp values.
    The code returns an error:
    Could not execute 'create procedure testproc language SQLSCRIPT as l_curtime timestamp; l_timedelta integer; begin ...'
    SAP DBTech JDBC: (at 160): inconsistent datatype: line 8 col 10 (at pos 160)
    With «time» and «date» datatypes that's the same. So, seconds_between doesn't work with SQLScript variable (in this example, l_curtime). Is it a normal behaviour or supposed to be a bug?

    Hello,
    I can confirm same behavior - using variable inside seconds_between function leads to error. If you put there static string it is ok.
    Of course you can always create "dummy" table (having 1 row with 1 column) where you will store the result of first call and then you will reference in second. But of course it is not that clean and it will be slower (especially if called many times).
    But I would suggest to wait few more days - there should be SP03 released and everything can be different.
    Tomas

  • After upgrading to iOS 7.0 my iMessage doesn't work and it says it is "waiting for authorization". When I try to activate it, it won't connect.

    I upgraded to iOS 7.0 and now my iMessage doesn't work. My phone reads "waiting for activation" When I try signing in I get a message "Could not sign in. Please check your network connections and try again". My network connection is fine for all other applications. Any help?

    Hello Remundy,
    Thank you for the details of the issue you are experiencing with iMessage.  I recommend reviewing the following article:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for