Authorization Hierachy Node Variable in Web Report

Hi friends,
I have a Authorization Hierachy Node Variable on 0COMPANY and this is placed in Free Characteristics in BEx Query.
Now i want to catch the value of this Company in Web Template either using Text Element web Item or etc. and then pass this value to the Print Layout of the same report.
Could some body help me on this.
Thank you very much advance.

Hello Aneesh,
these is how i have BUT NOT WORKING.
i am thinking, if it in free characteristics, then it wont give values !!..
var COMPNM  = '<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="GET_ITEM"/>
         <param name="NAME" value="TEXTELEMENTS_5"/>
         <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
         <param name="DATA_PROVIDER" value="DP"/>
         <param name="GENERATE_CAPTION" value=""/>
         <param name="WIDTH" value="453"/>
         <param name="BORDER_STYLE" value="NO_BORDER"/>
         <param name="SHOW_COMMON_ELEMENTS" value=""/>
         <param name="SHOW_FILTERS" value=""/>
         <param name="SHOW_VARIABLES" value="X"/>
         <param name="ELEMENT_TYPE_1" value="VARIABLE"/>
         <param name="ELEMENT_NAME_1" value="IVCMP_H"/>
         <param name="ONLY_VALUES" value=""/>
         ITEM:            TEXTELEMENTS_5
</object>';

Similar Messages

  • BEx Variable in Webi Report questions

    Hi Gurus,
    Here is my issue.
    I created a BEx Query 0SD_C03 Cube with following fields
    Two Columns
    One Key Figure:                   Subtotal1
    One Restricted Key Figure:  Subtotal with restriction " Sales Organization 1000"
    Two Rows                             Plant, Sales Organization
    One Variable with Sales Organization.
    When I ran this query in BEx Analyzer I can see all Sales Organization values in prompt list, How ever when I created a Universe and ran a webi query I can see 1000 in the Sales Organization list.
    Is this because I have restricted Key Figure with Sales Organization 1000 in the query?
    I removed my Restricted Key Figure from my query and tried again this time I see some 10 Sales Oraganizations but I didn't see all available Sales Organizations. Does BO Universe LOVs restricte the list?
    Thanks
    Sasi

    Identical entry so this is being closed:
    duplicate:
    BEx Variable in Webi Report questions
    Ingo

  • Passing hierachy node variable from BW to BO Webi Report in open doc link

    Hello All,
    We are working on BW-BO integration and creating Webi reports based on Bex queries.
    The question is regarding passing of a hierachy node value from BW to BO through open doc link.
    I see that when we pass hierarchy node value, we have to associate that with the corresponding infoobject technical name in the link but not sure in what format it has to be sent.
    For example, if ARM is the node value and 0HIERNODE is the infoobject , how should we send this value to BO.
    Please help.
    Thanks for your help,
    Regards,
    Tangudu S

    You cannot change anything here. You should really find out how the values are retrieved from the database
    THere is another option:
    1) Activate the tracing on your BOBJ server
      Check the following SAP notes (http://service.sap.com/notes) for that:
      Unix: Note 1235111
      Windows: Note 1260004
    2) Run your WebI report from the InfoView by choosing first the desired hierachy node value from the LOV of your prompt.
    3) Extract the MDX statement from the log file. It should contain the value for the hierarchy node. Copy this to the URL
    It is easier to find this out if you have access to a Crystal Reports Designer installation. Do you?
    Regards,
    Stratos

  • Hierarchy Analysis Authorization in BW and BOBJ Webi Report

    Hello,
    We have a scenario wherein we have implemented Analysis Authorizations (Hierarchy) on Organizational Unit info object (0ORGUNIT) and need to report on BOBJ WEBI. Our scenario is as following
    ORGUNIT    - L0 (Overall Enterprise Level)     
    -     L1 (Enterprise - Continent Wise Split)
    -     L2 (Enterprise u2013 Country Wise Split)
    -     L3(Enterprise u2013 City Wise Split)
    E.G- 
          LO (Company ABC) MANAGER 0 will have access to the entire organization
               -L1 (ASIA) MANAGER1 will have access to ASIAN Subcontinent
                      -L2 (India) MANAGER 2 will have Access to country India
                                -L3 (New Delhi) MANAGER 2.1 will have access to city Delhi
                                -L3 (Mumbai) MANAGER 2.2 will have access to city Mumbai
                       -L2 (Malaysia) MANAGER 3 will have access to Country Malaysia
                                  -L3 (Kuala Lampur)
                                  -L3 (pahang)
                 - L1 (Europe)
                                            u2026..
    The requirement is that the CEO of the company should be able to see the entire set of data ( L0-L4).We have continent managers who can see that data specific to their continent, similarly at L3 Level the city manageru2019s should see the data only for their specific city.
    In BI we have used analysis authorization based on hierarchies. We have created an authorization object say ZAUTH1 and have assigned the hierarchy L0 from RSECADMIN. Now, in Webi when we create a report a sample row comes as :
    L0 Org Unit     L1 Org Unit     L2 Org Unit     L3 Org Unit     SALES Key Figure
    Company ABC     Asia          India          Mumbai          1000
    Now, we have MANAGER 2.2 who has only access to the data specific to his city (Mumbai). There is an Analysis Authorization object created for him ZAUTH2, by ONLY assigning the org unit hierarchy L3 (for Mumbai). When we run the bex report with the user MANAGER 2.2 u2013 it correctly displays the result and the user is only able to see the data for L3 Org Unit (Mumbai). However when you bring this data to Webi u2013 the report comes in the below format:
    L0 Org Unit     L1 Org Unit     L2 Org Unit     L3 Org Unit     SALES Key Figure
    Mumbai                                           1000
    The L3 org unit has now got assigned to L0 Org unit , as this is the only org unit assigned to the MANAGER 2.2 user .
    In such a case we are not able to write any generic formulae for the report. Is there a way to correct this issue? u2018Mumbaiu2019 should either get assigned to the L3 OrgUnit column is webi report , or is there a workaround that is possible ?
    Thanks and Best Regards,
    Vj

    Hi Vijay,
    The problem you speak of is known and comes from the fact that the hierachy is flattened in the process of delivering it to WebI. Therefore there is no real 'solution' to the problem, just some work-arounds you can think of...
    1)
    Create a report variable that starts looking at the lowest level, if it is empty check one up, and so on until you found what you were looking for (the lowest leaf available), which by definition must be there (even if it is top level).
    Using similar logic you can also get a 'number of levels avaible' and so fill in the complete tree (duplicating the highest level).
    This is difficult to explain when end users create their own reports, though you could provide a template report with these variables in there already.
    2)
    Extend the hierarchy with duplicates below the lowest level.
    So i.e. L0 Company - L1 Continent - L2 Country - L3 City- L4 City - L5 City- L6 City.
    This will give back on the four levels for top authorization
    L0 Company - L1 Continent - L2 Country - L3 City
    For authorization on Continent:
    L0 Continent - L1 Country - L2 City- L3 City
    For autorization City
    L0 City- L1 City - L2 City- L3 City
    So in all situations the fourth level, the L3 Object will hold the City level.
    This you can then use in your report.
    Hope this helps,
    Marianne

  • Analysis Authorization in BO 4.0 Webi report

    Hi All,
    I am using BO 4.0 and creating connection from Information Design tool to a BW query using BICS client. This connection is then published to CMC.
    We are using SAP authentication and importing the roles from BW system. We have added profiles to this role and these profiles have Analysis Authorization set on Company Code. So one user can access data to one company code and vice versa. Now this works well in Bex Analyzer, but if I try to create a report in Webi, the analysis authorization fails. I went through the forum before posting this question and I found that is in 3.1 version and in most cases using SSO in universe connection solved the problem.
    However in 4.0 I am using BICS client and followed the same processes to create a connection but for some reason it doesn't work ? Is this suppose to work differently in 4.0 ?
    I have tried:
    1. To create connection in Information Design tool using SSO, selecting user ID and password. It doesn't work.
    2. Checked the Bex query and it already has Company code as a Characteristic restrictions (I have made it a mandatory variable).
    3. Publish the connection to CMC with my Enterprise and SAP ID and in both cases it doesn't work.
    Please let me know if anyone encountered a similar issue and what is the best method to resolve this.
    (BO 4.0 no service pack or fix pack installed on the system yet)
    Thanks - Appreciate your help !
    Prasad Rasam

    Ingo,
    1. To create connection in Information Design tool using SSO, selecting user ID and password. It doesn't work.
    >> Correct you need to setup you OLAP Connection with SSO.
    >>> What I meant was I created the connections using both the methods, Using SSO it allows me to create a connection. The ID which I am using to create a connection has Admin access to BOBJ system. When I login as a regular user to create a Webi report and select this new connection, it throws an error message 'The DSL Service returned an error: com.businessobjects.dsl.services.workspace.impl.QueryViewAnalyzer$CannotGetCubeFromConnectionException: Cannot get the cube from the connection'
    Using the other method to create a connection with User ID and password, I can create a connection and with the normal user login I can connect to the BW query but Analysis Authorization doesn't work.
    Ingo : Could you be more specific what you mean here with the different users ? When you say "regular" user are you referring to an SAP credentials or SAP BusinessObjects Enteprrise credentials ?
    2. Checked the Bex query and it already has Company code as a Characteristic restrictions (I have made it a mandatory variable).
    >> The variable in the BEx query needs to be an authorization variable.
    >>> This has already been set as Authorization variable. There is still a question here. If I select the variable as Authorization variable, I cannot set the other parameters in the query properties such as Mandatory variable (as this is greyed out).
    Ingo : What other parameters would you like to configure ? Could you perhaps describe the scenario with more details ?
    regards
    Ingo Hilgefort

  • Hiding variables in WebI report

    Hi,
    We have generated an Universe based on a BW query which has 5 user entry variables with user exit logic coded for each one.
    Based on this Universe we wish to create 2 WebI reports.
    However, for the both the reports all the 5 variables are displayed.
    Is there a way to hide the variables, so that on the first report we see two variables and on the second WebI report we are able to see the remaining three variables.
    For all 5 variables, we have some logic on the BW user exits and hence we want to leaverage the BW variables and not opt for the WebI variables.
    Rgds

    Hi Free Will,
    How did you manage to hide the variable, we have a similar issue,  I have created a BW variable that is populated by Customer Exit. The problem is, for the query to be filtered in the Webi Report it the variable has to be defined as "input ready", and this allows the users to change the data in the variable which I don't want them to do. If I don't make it input ready the WebI Report is not filtered.
    If we could hide the variable it would solve our problem
    Thanks in advance
    Lucien

  • Hierarchy variable in Webi report

    Dear all ,
    I'm expirence some problems in the Olap Universe , my question is :
    I can't see data in Webi report .
    Step 1 Create the webi report
    Step 2 Run the query
    Step 3 Select the Hierarchy variables in prompt parameter
    Step 4 Get the msg "No data to retreive "
    I can see the data in  BW with this Hierarchy variable so i don't understand what it's missing .
    Thanks a lot
    Bst Rgds
    Simon

    Dear Sanket ,
    Thanks for your response  , We are using the dimension it's a member of one hierarchy in the query panel without any filter .
    BOE release 3.1 Sp3
    BW 7.01 SP6 .
    Hope this helps , any further question please let me know .
    Bst Rgds
    Simon

  • Authorization Error ERR_WIS_30263 when creating WebI reports

    Dear all,
    I'm currently trying to setup all authorizations in BI4 for my key-users and I'm getting some issues with my WebI authorizations.
    Each time I logon to the WebI rich client, I get for all data sources which I can choose as the basis for my WebI reports the following error:
    Your security profile does not include permission to create documents. (Error: ERR_WIS_30263) (WIS 30263)
    I already checked again and again all available authorizations in my access level, but I can not get it to work.
    Any ideas, which authorization right might be missing?
    Thanks,
    Andreas

    Hi,
    As advised in previous answer, check the users access via the CMC.
    Central Management Console > Users and Groups > User Lists
    Double click on user concerned and check the Group the user belongs to. Maintain accordinlgy :
    Try the following
    Member Of > Join Group > Universe Designer Users
    Hope this helps,
    Hecham

  • BW-Hierarchy node variable in Crystal Report

    Hi crystal gurus,
    I am creating a report on top of BW-Query Using SAP toolbar. We are having a Hierarchy node variable for WBS Element in our Bw-Query.
    Now that hierarchy node variable is not behaving properly in crystal reports.
    When I execute Query at BW side it Provides me with proper result, say for example if i execute the query for a WBS element "X" and that element consists of other elements inside it like A, B, C etc then at BW side it gives me proper data considering all the WBS elements but in Crystal reports the Data returned is just for the Specified WBS element, i.e it return me data specific to WBS element "X" only.
    Any Ideas why this is happening and how to resolve this?
    Any help will be Appreciated.
    Thanks & regards
    Neeraj

    Hi Debi,
    thank you very much for your reply, but i am afraid that you may have misunderstood my Question.
    Actually I am using a hierarchy node variable, and as usual that hierarchy node has certain level. so when i m executing the report in CR say for node value/level  L1 then it provides me data specific for the node L1 only but logically it should provide me with data of node L1 and all other nodes below L1& that is not happening in my case. while whenever i m executing the same report with same values at BW Side it provides me proper result I.E. it provides me data for node L1 and all other nodes below it.
    Hope this makes my Ques clear.
    Thanks & Regards
    Neeraj

  • How to create dummy variable in Webi report in BO 4.0 with Bex query.

    Dear All,
    We have a requirement where we need to overlap multiple tables and based on user selection any one of the table should display in report.
    We are on BO 4.0 and source is BW Bex report, we dont have any Universe.
    To achieve this we plan to have dummy variable with some fix value and use it as report filter & based on selected value in filter the related table should be display.
    We have not found any way to have dummy variable directly in Webi.
    Is their any way we can create dummy variable directly in Webi?
    Thanks v much in advance,
    Regards,

    lets say u want to display following picture:
    sept$-----august$
    City
    -chicago123$--
    44$
    so in Query designer go to Default values section.
    Bring in Calendar month
    right click calendar month
    and hit Restrict
    now select variable
    use standard sap variable Current Month.
    hit okey
    now select Variable and hit Red button
    Result u restricted current month.
    in columns bring in keyfigure $
    right click and hit edit
    bring in time field calendar month
    right click and hit restrict
    bring in Current month
    right click and select - SET OFFSET FOR VARIABLE
    select -1
    hit okey
    repeat the above process
    and this time select offset = -2
    this way u restricted current month
    but displayed last 2 months for keyfigure values.

  • Variable in web report selecting '#'

    Hi,
    When I execute a BW report in Web, something really strange is happening.
    I have got an optional variable for calender month. Whatever value I select, it changes to '#' by itself. It works well in RSRT.
    If I type the value for e.g. 02.2007 manaully then it works well. But only when I select the variable value from the list (F4) then press "Add" and then "ok", it replaces the value with #.
    Does anyone know why this is happening and what the solution to this.
    Thanks,
    Waseem.

    Hello Aneesh,
    these is how i have BUT NOT WORKING.
    i am thinking, if it in free characteristics, then it wont give values !!..
    var COMPNM  = '<object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TEXTELEMENTS_5"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="WIDTH" value="453"/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             <param name="SHOW_COMMON_ELEMENTS" value=""/>
             <param name="SHOW_FILTERS" value=""/>
             <param name="SHOW_VARIABLES" value="X"/>
             <param name="ELEMENT_TYPE_1" value="VARIABLE"/>
             <param name="ELEMENT_NAME_1" value="IVCMP_H"/>
             <param name="ONLY_VALUES" value=""/>
             ITEM:            TEXTELEMENTS_5
    </object>';

  • BW Analysis authorizations issue in BO Webi Report

    Dear All,
    I have one webi report which is on BEx Query-universe.
    Query has 6 authorization variables with ready for input(optional).
    User has authorizations for all 6 fields.
    But when we execute the webi report it is throwing error message  like" query do not retrive data"
    One of the  6 authorization fields has only few values , when we give " * " to this field the user can able to execute the report.
    Could  anybody tell me what is need be done here
    regards
    mhreddy

    Hi!
    Probabily the combination of authoriztions funcions are executing considering "and".
    See your configuration to considerer "or".
    Test one by one.
    bye

  • Importing a text file with variable values into web reporting

    Hello,
    I'm looking for a possibility to import values from a text file into a variable selection in Web reporting.
    With BEx reporting in Excel this is possible, by clicking on the multiple selection button in the variable popup screen, and subsequently selecting the "Import from Text file" button.
    However, this function seems not to be available for web-reporting...
    It would be great if someone could help me out with this!
    Thanks & regards,
    Arvid

    Hi,
    we could resolve this issue, so i thought it may also be helpful for others:
    In our example we used a file with numbers for materials. This file is stored somewhere in a directory, to which SAP BI must have authorization to read.
    The file looks something like this:
    4711
    4712
    4713
    4714
    The file is named "import.txt" and lays in directory "/usr/sap/EC6/files/bi/"
    *&  Include           ZXRSRU01
    * global variables
    Data: intern_range LIKE LINE OF i_t_var_range,
          l_s_range    TYPE rsr_s_rangesid,
          line(100)    TYPE c,
          p_file(128)  TYPE c,
          length_rangelow  type i,
          tmp_rangelow     like l_s_range-low.
    * internal tables for selection-transfer from transaction
    * Data: BEGIN OF it_file occurs 0,
    *        it_p_file(128) TYPE c,
    *      END of it_file.
    IF i_step = 1.
    ** variables can be changed or set before pop-up appears
      CASE i_vnam.
    * take material from external file to selection-list
         WHEN 'ZSD_UPMA'.
    ** call of transaction, with which the path can be set
    *CALL TRANSACTION 'ZBW_VARIABLE' using it_file
    *MODE 'A'      " call should be visible, so that variable can be set
    *UPDATE 'S'.   " first transaction, then processing
    ** Der Pfad, der in dem Selektionsbild eingegeben wird, wird an die Variable übergeben
    ** Der Set-Parameter ist in Report ZSD_SELECT_VARIABLE
    *  get parameter id 'VAR' field p_file.
    p_file = '/usr/sap/EC6/files/bi/import.txt'.
    * further handling of variable in BI
          OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
          IF sy-subrc = 0.
            READ DATASET p_file INTO line.
            WHILE sy-subrc = 0.
              IF line(2) <> '//'.
                l_s_range-sign = 'I'.
                l_s_range-opt  = 'EQ'.
                l_s_range-low  = line.
    * fill with leading Zeros
    * in variable tmp_rangelow the value from l_s_range-low is taken
        tmp_rangelow    = l_s_range-low.
    * read the length
        length_rangelow = strlen( tmp_rangelow ).
    * in our case: material has 18 characters
        while length_rangelow lt 18.
          CONCATENATE '0' tmp_rangelow INTO tmp_rangelow.
          length_rangelow = length_rangelow + 1.
        endwhile.
    * initialize l_s_range-low
        clear l_s_range-low.
    * set with filled values
        l_s_range-low = tmp_rangelow.
    * transfer to structure
                APPEND l_s_range TO e_t_range.
              ENDIF.
              READ DATASET p_file INTO line.
            ENDWHILE.
          ENDIF.
          CLOSE DATASET p_file.
        ENDCASE.
    ELSEIF i_step = 2.
    ** in step 2 all variable values from pop-up input can be processed or
    ** User Exit variables can be derived
    * UserExit Ende.
    ENDIF.
    Hope i could help!
    Best regards,
    Tobias

  • Web Report - Selecting variable value

    Hi,
    I have web report, where one selection variable for company code is there.
    If i am running the report like compnay code 2000 it is working.
    The web report is having a facility to select multiple company code like >1000. Means before the text box to enter the company code 1000, there is another selection box where we can select =,>,< etc like that.
    If i am selecting > and company code 1000. Then report is not displaying any thing.
    But we have company codes > 1000 like 1001-1007,2000,3000.
    Could you please advise me what might be the wrong with this case.
    Thanks & Regards
    Srini

    One possibility would be that you are having a security issue. If you do not have authorization to see ALL companies > 1000, then your report will show no data (even if you do have authorization to see company 2000).
    Hope this helps...
    Bob

  • Authorization in Web reports

    Hi ,
    I amfacing a authorization problem when executing the query in web.plz consider the senario below
    there are 2 seperate roles ,one for web and other for bex version
    we are having an authorization object for one characteristics. We are restricting this with auth variable in the query.I have created a particular role wih restriction on certain values on authorization obj.If I am executing the web version with this role alone then i am get an authorization error.If I am executing the web with * auuth for the auth obj then it is getting executed without auth error.
    Can some body help me and explain how authorizatio works in case of web reports.There is also a precalculation job scheduled

    Hi,
    Sorry for the confusion in the earlier mail.plz read the below mail
    My requirement is to have user specific precalculation of webtempletes.ie different users should see values for which they are authorized to when they login with their id in Web.(after precalculation job is executed)
    I checked precalculate user -specificaly flag in the reporting agent setting and executed the precalculation job. But when I logon with any id added in the reporting agent setting it is showing the " Requested document not found".
    Can somebody help me in solving this ? Thanks

Maybe you are looking for

  • My 2nd gen iPod Touch won't sync with itunes

    windows recognizes it- but itunes says "unknown error (0xE8000065)" everytime it's plugged into the USB. I seriously can't figure this one out.  Thank you a ton in advance for any help!

  • How to verify that standby and primary are working correctly  or not

    Hi, Oracle Version : 10.2.0.1.0 OperatingSystem : WindowsXp I have configured a stand by database on my local database.Here i would like to know weather by stand by is configured correctly and working fine are not. Please help me. Thank & Regards Poo

  • How to not add songs from Playlists to the library (duplicate entries)

    In my iTunes library, I have lots of songs showing up more than once. When I right-click Get Info it seems this is because I have them on playlists that are also in the library. Songs in multiple playlists can even show up more than twice. I know I c

  • SWF File not working after upload to server, but works on local system

    HELP PLEASE.....I have created a Fla and exported a swf file from Flash 8 and Export (Flash 6). I can preview the page in Dreamweaver just fine, but when i upload it and the html file, it isn't showing up. It leaves a blank spot on the page. It is ju

  • Download Speed CC-Products

    i try to download cc-software now for about 2 hours. acrobat xi pro has reached the 11% mark now ... after 2 hours ?? i wonder if its possible to download all i need in a week. we have 16 mbit internet. this little programm should take nothing more t