Re: Bex query assigment to Role

Hi All,
How to assign a query to user role.
We will do that directly in production right?
Regards,
Anand.

Hi,
You may do that in production or transport the same from dev to prod (depende on your landscape).
You just need to go to anlyzer and add/publish the same in user role. You may check the same pfcg tcode.
I hope it will help.
Thanks,
S

Similar Messages

  • Best Practice for BEX Query "PUBLISH to ROLE"?

    Hello.
    We are trying to determine the best practice for publishing BEX queries/views/workbooks to ROLEs. 
    To be clear of the process I am referring: from the BEX Query Designer, there is an option QUERY>PUBLISH>TO ROLE.  This function updates the user menu of the selected security role with essentially a shortcut to the BEX query.  It is also possible to save VIEWS/WORKBOOKS to a role from the BEX Analyzer menu.  We have found ROLE menus to be a good way to organize BEX queries/views/workbooks for our users. 
    Our dilemma is whether to publish to the role in our DEV system and transport to PROD,... or if it is ok to publish to the role directly in the PROD system.
    Publishing in DEV is not always possible, as we have objects in PROD that do not exist in DEV. For example, we allow power users to create queries directly in PROD.  We also allow VIEWS and WORKBOOKS to be created directly in PROD.  It would not be possible to publish types of objects in DEV. 
    Publishing in PROD eliminates the issues above, but causes concerns for our SECURITY team.  We would be able to maintain these special roles directly in PROD.
    Would appreciate any ideas, suggestions, examples of how others are handling this BEX publish-to-role process.
    Thank you.
    -Joel

    Hi Joel,
    Again as per the Best Practices.Nothing to be created in PRD,even if we create them in PRD for Power users its assumed as temprory and can be deleted at any time.
    So if there are already deviations then you can go for deviations in this case as well but it wont be the Best Practice.Also in few cases we have workbooks created in PRD as they cud nt be created in DEV due to various reasons...in such cases we did not think of Best Practice ,we had a raised an OSS on this aswell.
    In our Project,we have done everything in DEV and transported to PRD,in case there were any very Minor changes at query level we have done in PRD and immedialtely replicated the same in DEV so that they are in SYNC.
    rgds
    SVU

  • Cannot see BEx Query in user role profile in BEx query designer

    I assigned several BEx query objects into user profile menu via t-code PFCG first.
    Then expected - when I need and open them in BEx query designer I could find them after clicking "Role" button in  "Open" window. But unfortuantely I'm not able to do that.
    Do I miss anything to archive that? Is other customizing activity else neccessary?
    Thank you for any suggestion.

    Hi Brad.Ma,
    If you can open query from Area "button", after that, you publish it to roles you want assign.
    You try generate Authoriation in Role in Tcode PFCG.
    Hope help you to solve the problem.
    Dao
    Edited by: xuandao_sap on Sep 20, 2011 3:33 AM

  • No authorization for query/Web application assigment in roles

    Hi All,
    in order to clean/reorganize our roles, I have to clean some query/Web application/Workbook assignment in roles. After I have loged in into BEX Browser I have cleaned/moved some objects from roles. But it seem that I have not all necessary rights to do that.
    Which is the relevant authorization object which I need to change query assignemnt in roles?
    Is there an other way to add/remove queries/Web applications from roles?
    Any help would be great. Thanks in advance.
    Best regards,
    Stefanos from Munich/germany.

    Hi,
    try : S_USER_AGR
    hope it help's

  • BEx Query Designer: Option Publish to Role

    Hi Experts,
    Need to ask about publishing queries to Role. What are the roles that system display when we use this option? Does it pick from user master from the person creating queries?
    Alok

    Hi Alok,
    When you go to save a query in a role - it's the person who is saving the query whose roles are displayed.
    Regards
    Gill

  • Bex Query is not working in portal

    Dear Experts,
    i have uploaded BI master role into portal, By default Bex Queries are assgined to Master Role. when I clcik on preview for particular Bex Query, it's working fine. but after assigning the master role to end user, that same Bex Query is not working. it's showing Below error..
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 05:22_18/08/10_0002_7116150
    Refer to the log file for details about this exception.
    please give me suggetions...
    Regards,
    VENU

    Hi Venu ,
    Can you please check the logs for details -  http(s):<host>:<port>/nwa . This may be a permissions issue . Check if the iview has read permission for everyone group and then test . Also post the error details here .
    Regards
    Mayank

  • BEx query not shown in BO 4.0; BICS

    Hi,
    I have a sample BEx query designed in Query Designer 7.x; I would like to use this query with Web Intelligence of BO 4.0. However, the query is not being displayed.
    In CMC -> Authentication we have entered our SAP BW system and we are getting the roles imported. So the connection seems to work.
    In the query I have turned on the option "Allow External Access to this Query" (but I think this isn't necessary for BICS?).
    However, the query isn't displayed when creating a new WebI document based on BEx. Do I have to do some more steps?
    Thanks!
    Edit: I now created a new OLAP connection, our BO server can see the query and cube. But: I don't see this OLAP connection in Web Intelligence Rich Client. I am using the administrator login and have full access.
    Edited by: SteveXI on Sep 7, 2011 5:29 PM

    Hi,
    I have created 2 OLAP connection in CMC with SSO and Predefined. (does not work with prompt).
    I can see the list of queries from cube with predefined connection, but all are gredout!!. what could be the reason?
    With SSO connection i get following error -
    com.google.protobuf.UninitializedMessageException: Message missing required fields: bytesValue
    Any input is much appreciated.
    Thanks.
    Edited by: Rajan Patel on Oct 12, 2011 4:40 PM

  • User Missing Error while Executing a Bex Query.

    Hi,
    I created a query using BEx Query Designer, i'am trying to  execute the query. After giving the  Login ID and Password to execute in EP  it shows a exception called 'user' missing.Kindly help out regarding this issue.
    With Regards,
    Pradeep.B

    Hi Zoltan,
    How to opn it through Analyzer can you please tell me.If i'am unable to open after creatinga  new user as you said what roles i have to give or If am able to open thriugh Analyzer what is the Manditory role i need to check for the user in EP.
    Please let me know am new to this BI.
    Thnaks and Regards,
    Pradeep.B

  • Calling a BW Bex Query in Web Dynpro ABAP

    Hi Team,
    I'm trying to call a BW Bex query in my web dynpro screen. The Web Dynpro is written in our ERP (ECC 6.0) system. I have specific parameters and values in my web dynpro context which I want to pass to a BW query and then display the actual query in my web dynpro. I found an element BIApplicationFrame but don't know if that is the correct way to display the query. Some questions:
    1) How do I pass the username/password for the BW system in the Web Dynpro written in ERP?
    2) How do I pass the parameters to the query
    3) How is the security and roles managed. The web dynpro is enables as an iView in the SAP Portal.
    Thanks much for your guidance.
    Regards
    Sanjay

    Petr:
    I managed to pass the selection variables to the query through BIApplicationFrame. This is how I did it.
    1) Added the BIApplicationFrame UI element to the View of the Webdynpro application and named it ZBIQUERY with the following properties relevant to my system.
    - dataProviderStateName property is set to my query name which is 'ZPUR_M02_Q08'
    - dataProviderStateType is set to 'Query'.
    - server is set to 'housapdbw.noble.cc:8000'
    - templateId is set to 'ZPUR_M02_W02'
    - variableScreen is Unchecked.
    2) Added two attributes to the view under the attributes tab. They are
    M_APPL_FRAME RefTo CL_WD_BIAPPLICATION_FRAME
    M_METHOD_HANDLER RefTo IF_WD_BI_APPLFRAME_METHOD_HNDL
    3) Then add the following code in the method WDDOMODIFYVIEW.
    data:
    lt_parameters type if_wd_bi_applframe_method_hndl=>tt_name_value,
    ls_parameters type if_wd_bi_applframe_method_hndl=>t_name_value.
    define add_parameter.
    clear ls_parameters.
    ls_parameters-name = &1.
    ls_parameters-value = &2.
    append ls_parameters to lt_parameters.
    end-of-definition.
    if first_time = abap_true.
    wd_this->m_appl_frame ?= view->get_element( 'ZBIQUERY' ).
    wd_this->m_method_handler ?= wd_this->m_appl_frame->_method_handler.
    endif.
    Please note that the selection screen on my query has Select-options and its name is
    XREF_NUM0001. I am passing a value of '11111' to it as shown below.
    refresh lt_parameters.
    add_parameter 'CMD' 'PROCESS_VARIABLES'. " This is for Execute button
    add_parameter 'SUBCMD' 'VAR_SUBMIT'. " This one also for Execute Button
    add_parameter 'VAR_NAME_1' 'XREF_NUM0001'. " Name of my select-option
    add_parameter 'VAR_OPERATOR_1' 'EQ'.
    add_parameter 'VAR_SIGN_1' 'I'.
    add_parameter 'VAR_VALUE_LOW_EXT_1' '11111'. " Value for my select-option
    wd_this->m_method_handler->execute_command( lt_parameters ).
    endif.
    The above code needs to be added before the view is called in th is method.
    Hope this helps.
    Krishna Muppavarapu

  • How to add query to a role

    Hi!
    I created query in Bex Query Designer.
    I have to add this query to a Role Menu(query is implemented in BEx Web, I don't want to use WAD, Analyzer or Report Designer)
    which option i have to select in PFCG?
    Thanks in advance

    Hi,
       In the Query Designer tool bar, you will see Create, Open, save, save as, delete and Publlish Icon.Next to the publish Icon, you will see downward arrow. If you click that, then it will show Publish in Role, Publish in portal/.If you click 'publish In Portal' then it will show you roles available and choose the role and save it.
    Or else you can even do in PFCG.
    Assign Points if this solves your problem.
    Regards,
    PNK

  • Authorizations for Publishing a Query in a Role

    Gurus,
    I have S_USER_AGR (activity as: 01, 02, 03 06, 78)  and S_RS_TOOLS as webpublish and Themes...but my users are not able to Publish a Query to a Role from Query Designer in a Edit mode, but they were able to add the Query to a Role using "Enter in Role" button from BEx pop up screen...what Authorizations I am missing in my role?
    And also in QA and Production how can the Power Users can publish a Query or a Wrk book to a Role without editing a Query or Work book?
    Can some one share their thoughts..
    Thanks,
    KK

    Hi,
    I also facing same issue in Query designer. Unable to publish the roles in query designer. It is showing no roles assigned to you error mesg. I have added this object and given the * values. Then the problem is solved.
    Please user s_user_agr object with activity * and values *. They will get access to publish to roles, portals and broadcasting in query designer.
    Regards
    anil.

  • GetCellData error in WebI to SAP BEx Query

    Hi all,
    We have  multicube with a BeX query and and universe. We have created roles with authorizations and restrict users on Retun Line and Business Unit. We have created the authorization variables in the BeX query on Return Line and on Business Unit.
    When we create a query only using Return Line, the authorization works and returns the correct result. When we use only Business Unit we got no results which is incorrect, but when we use a query in Webi with both Return Line and Business Unit we get the following error:
    "A database error occured. The database error text is: Error in MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more details. (WIS 10901)"
    Any ideas where the issue can be? We have double checked the authorizations in BW and they seem fine. We have also assigned ALL BU's on Business Unit in so not to restrict anything.
    Any help would be appreciated.
    Jacques

    Hi Ingo,
    We are still having issues with the authorizations. I think this is where the root of all evil is...
    My account has SAP_ALL so I can run eveything just fine.
    An account has been created to test against... XUSER. This user belongs to roles, ZCBW_BARTN_100 to restrict data on the Return, ZCBW_BUPC_B00000 to restrict data in Business Unit and Profit Centre, and a 3rd role ZFBW_GEN_BU_ENDUSER that is used for general authorisations for the user - I think.
    When the report is refreshed an error is raised: Failed to retrieve data form the database.... Database Error:'BAPI error #: 0. Unknown error when executing MDX.' When I remove ZFBW_GEN_BU_ENDUSER from XUSER, Crystal 2008 raises and error in the line of "XUSER has no RFC authorization for function group SYST. So this is leading me to think the issue is in the setup of this ZFBW_GEN_BU_ENDUSER role and certain access/autthorization has been removed preventing the user from executing the MDX via BOBJ correctly.
    When one has a user account, what is the minimum authorization needed in a role to be able to execute queries from BOBJ using the MDX drivers? I think this may resolve the issue as the guys here have really locked down on a lot of stuff.
    Thanks
    Jacques

  • Cannot see BEx Query in Creating Universe Connection

    Hi,
    I have a BEx query based on Multiprovider
    I did check the box "Allow External Access to this query" from "Release for OLE DB for OLAP".
    When I come to Designer create a connection, that query does not show up.
    This has happened with some other query create on that Multi Provider too.
    I checked the query for operators.
    Note: Queries containing formulas with the operators %RT, %CT, SUMRT, SUMCT and LEAF cannot be released for OLE DB for OLAP. Mentioned in
    http://help.sap.com/saphelp_nw04/Helpdata/EN/07/0ab63c71f41d5ce10000000a114084/content.htm
    I cannot explain why.
    What could be possible reason?
    Thank you,

    Check to make sure the BW role that is used has auth obj S_RS_COMP that provides Display access to the InfoProvider that your query is built on.   The userid that runs the Bex query would also needs Execute access to that query.  You may need to get your SAP security person to run a trace when you start designer and try to create your connection if you find that your BW role already has the auth I mentioned.
    SAP made a recent change with 7.0 SP22 / 7.01 SP5 that applied BW security to the display of queries in the Designer.  We could no longer see out BEx quereis in Designer after we applied SP22 until we added Display access to the role we use for our Business Objects service acct we setup.
    From SAP Note 1364715 - MDX: Authorization check of BEx queries
    Symptom
    You use the BAPI "BAPI_MDPROVIDER_GET_CUBES" to read the BEx queries
    available in the BW server that have been released for OLE DB for OLAP
    (ODBO) (indicator "Allow External Access to this Query" is set in the Query
    Designer).
    Authorizations are ignored.
    Cause and Prerequisites
    The authorization check is ignored.
    Solution
    The authorization check is performed for the user that calls the BAPI. If
    an RFC is used to call the BAPI, the check is performed for the RFC user.

  • Re: BI BEx query in Portal

    Hi All,
    My user wants me to develop a report which to be displayed in portal.
    Kindly tell me what all the ways I can achieve this.
    Few questions,
    1. There is an option available in BEx query Designer publish to portal. How to use this. what will happen if i click that. where it will go. how to assign this to the portal user role.
    2. how to create an iview in portal for existing bi query?
    3. Iview, if i am creating an iview in portal using bi query. how to publish that to the user.
    Pls give me a complete picture on the above needs.
    Regards,
    Anand.

    Hi,
    If you have BEx poratl already available then there is no issue.
    When you will click on that it will ask for iView creation and folder name then select the appropprite one. Just continue with that.
    You need to have proper authorization for that.
    You may refer following document for the same.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/80955d0f-ae67-2b10-35a3-c2efec2ba42c
    I hope it will help.
    Thanks,
    S

  • BEX query: filter is not displayed in one of the users

    Hi,
    We created a BEX Query with a Month/Year filter.
    When I run the query with my user, it's working ok (photo 2).
    When I run it with another user, the filter is not dislayed (photo 1).
    I've checked the role with PFCG, bit i don't know what it's misssing. The infoarea, infocube and name of the query are included in the PFCG, as well as the activities: execute, visualize, etc. (Photo 3).
    Any ideas?
    Thanks in advanced!!
    Florencia

    Hi,
    Just compare assigned roles for My user and other user.
    Then you may know the missed authorizations.
    As my guess  your issue will authorization related one.
    Thanks

Maybe you are looking for

  • My macbook air camera does not work

    I have a macbook air 11" mid 2011   running OSX Yosemite 10.10.1   I need to use the facetime camera, but it says no camera is available.  what I have done (6 hours or research and grief later): After reading a plethora of forums,  I have tried: Migr

  • Does iTunes 11 supports 5.1 Speakers?

    Does iTunes 11 supports 5.1 Speakers? If yes which all speakers does it support and how to activate it on iTunes?I am able to play music in 5.1 surround mode using other players such as WMP 11, VLC, GOMP, WINAMP but when I play music using iTunes it

  • I have uploaded files in the cloud but they do not seem to open. (Movie files and other content)

    I uploaded content to the cloud without any problems or issues. (GREAT NEWS!) However the content appears as a gray box and does not open or do anything when you click on it. Can you help me? It looks like it uploaded completely but I am not sure how

  • Issue with layout on tablet size devices

    Hi All, Can anyone tell me why when the window size is reduced down or is opened on a tablet size device, that the 'maindiv' moves to the bottom of the page. I have tried changing, margins, widths, max-widths but nothing seems to work. It seems to me

  • SKYPE TOOL BAR ERROR

    EVERY TIME I TRY TO DOWNLOAD SKYPE IT ALWAYS SAY SKYPE TOOL BAR ERROR CODE 2738 HOW CAN I FIX THAT PROBLEM...