Authorization for BEX Query
Hi all,
I badly need your help.i need to give authorization for a particular query.As of now when i execute that query it gives me "No Authorization" message. what authorization object i need to include in that role? Am sure that there should be some business content authorization object for the current situation.
Thanks in Advance
Hi Nanda,
you need:
s_rs_comp -- for querries
s_rs_comp1 -- for querries including the username, this is usefull if you would like to allow a user to change and create only his/her querries
s_rs_hier -- if hierarchies used in the querrie
s_rs_icube -- if autorization is switched on for the Cube
s_tcode for rrmx of course
s_gui and s_rfc for workbooks
you can check the authorization process for a user with su53 and rssm
Regards
Pierre
Similar Messages
-
To create variants for Bex query
Hi Guys,
where and how do we create variants for Bex query.
Thanks,
Your help is appreciated.Hi Sheo,
There are several threads about this, check here:
/thread/297437 [original link is broken]
Hope this helps... -
Authorization in BEx Query Designer: "read only" for definitions of variables
Hello,
I`m developing a concept of authorizations for key user who should be able to maintain certain
objects in the query designer. For other objects they should have access “read only”.
The users have authorizations to design new queries. They should be able to use existing variables
(SAP Business Content ( 0*) and customer variables (z*). On this point, I have a problem: in the selection window of the query designer there are only buttons to create, to delete and to edit a variable.
The user must have authorizations for changing, although he just wants to look for the definition
of a variable (if he wants to see their basic or global settings before using the variable).
I can´t find a possibility to switch from “edit” to “read only”.
The users should only see and apply variables from others (SAP, collegues), but he mustn´t be able to
change them.
The user needs the following authorization objects: S_RS_COMP , activity =02 (change), also
authorization object S_RS_COMP1. If I give the users only activity 03 (display),
the user get the message: “display not allowed”.
Is there any possibility to give a key user the authorization to display all variables with
their definitions?
Best regards
Ricarda SeybHi raghukan,
This is may be due to the authorization but still you can check the consistency check for these queries using RSRV.
Regards,
Amit -
How can i check the authorizations for a query in sap bw 3.1c
Hi,
While running one query i am getting warning message is : you do not have authorization to read object ZVERSION and few column results also not displaying.
I would like to check is there any authorization check for this query and could you explain how we use the authorizations in our BW.
Thanks in advance....if you execute su53, the authorization check failed cannot be displayed for reports. because you are executing query in BEx is it?
for this you can trace the userid that executing query to check the authorization check failed. Go to st01 and find out the authorization check failed there.
And you can find in RSRT too. i am not sure that.
One more option is there to check the authorization with help of matrix that you prepared for assigning access/authorization to the users.
Hope this would help you. -
Short dump in report generation for bex query
Hi,
I have e newly installed SAP NetWeaver 7.3 and I'm not able to run BEx-Queries. When I start transaction RSRT and try to generate the report for the selected bex query, I get the following short dump:
Category ABAP Programming Error
Runtime Errors RAISE_EXCEPTION
ABAP Program SAPLRRSI
Application Component BW-BEX-OT
If I start the test in RSRV for that query I get:
Generation limits for the generated report
Unable to load report GPEM3XZBL2Y9VX9H6SN
Am I missing a profile parameter for that generartion limits or something else?
Thanks in advance!Hi,
Check whether your SAP GUI is activated and installed correctly.
check following threads
Runtime error RAISE_EXCEPTION has occurred
Dump when activating Business Content 7.35
Thanks and regards
Kiran -
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.
-JoelHi 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 -
User Authorization for a Query
Hi,
I have assigned a single role to a user, in which I have authorization for all the Infoproviders, including authorization for reporting. The user is able to access most of the queries, except one query. If there is a problem, he should not have accessed all the queries.
What problem could have prevented the user from accessing on particular query???
Any Ideas will be highly appreciated,
Thanks and Regards,
Ravi SankarSome possibilities:
The one query which the user is not able to run , who is the author of this query?
You need to give authirozation for the object S_RS_COMP1.
If the user has authorization for this object, then the next possibility is:
The query may have a filter or a characteristic value for which the value is not set for the user.
Ravi Thothadri -
Hello all,
Can I benefit a little from your experience with SAP Query(ABAP) and Adhoc Query(ABAP)?
My customer want to use both SAP Query and Adhoc Query.
And they want to separate for SAP Query as preset report program and Adhoc Query as general-purpose reporting tool.
And I want to know how to separate authorizations of SAP Query and Adhoc Query as below.
As for SAP Query, users can only execute and cannnot change or delete it.
As for Adhoc Query, users can save Queries they created or changed in Adhoc Query.
I know there is only one authorization object for SAP Query:S_QUERY
Is there any solution for that kind of request?
Thanks and Regards,
HanaeHello,
We have check in the abap program ask you functional to give the authorization object i.e. y_k_autchk
and ask him for which filed we have to give authorizaion.
AUTHORITY-CHECK OBJECT y_k_autchk
ID 'WERKS' FIELD y_wa_tvarv-low. -
How we create system for Bex query
Hi
I want to access Bex query in VC , I think we can do this by creating system in poratl. pls tell me how we create system in prtal for this.
Regards
AmitHi Naresh,
Pls send the Document for me also.
This is my mail id: [email protected]
Thanks & Regards
Prakash T -
Web Template for BEx Query?
Hello,
How to find if there is any Web Template exist for a given BEx Query?
Thanks,
Dona HillHi Dona,
You can find out by looking up the query in the metedata repository (RSORMDR) or by just pulling and collecting it in the transport connection.
Hope this helps... -
BW Accelerator for BEx query to be used in polestar
I'm using a Bex query in polestar after creating BWA Index.
The BEX query is suitable for Business Objects after checking it in the program RSR_QPROV_CHECK(which beomes infocube)
But the F-Table of the query is not Indexed and it ends dump after longtime, when activated in t-code RSDDTPS.
The BWA index is not created for the F-table of the query (which will be created as a Flat Table)
The error message i get in Business Objects is "2007:Error creating physical plan: Index does not exist;index=Query name in cube: query name_ps,scripted search: function 'ps_gnav_highlight.searchGN_v2' "
How to create BWA Index for the query (which is infocube of polestar).Hi Tansu,
Thanks for your response but I am looking at Query indexing and not indexing the Cube.
Still the data is huge and I get errors hence need to know if Delta indexing is possible in case of Query (snapshot) indexing. you may look at transaction RSDDV -> Explorer (button on top along with BIA).
Thanks,
Ameet -
Displaying dates as column headers for BEx Query
Hi all,
I have to display dates in sequence as descriptions for 15 columns based on the keyed in date in Bex Query Analyser. I'm able to display date as column heading for one column using text variable with replacement path.I could not able to increment date for other descriptions.Could you please help me to solve this issue.
Ex: Input Date 05/09/2007 then in the out put column headers should be 0509 0609 0709 ............ 1909
These are only column headers, values for the columns are quantities calculated using formulas.
It is urgent.
Thanks in advance.
Regards,
Mandadi.hi mandadi,
if u want dates as headers only then u should use a text variable .
as a rule u can not set off set for text variable so u create restricted key figure with date restricted and set off set.
now u use this rkf to populate the text variable using replacement path.
text variable can use replacement path for replacing from any variable and characteristics.
bye -
Transport Error For Bex Query to BW Production
Dear Experts,
We are facing an issue during transport of a Bex report.
The RC 16 error has taken place. After I did google; I found this as below, but not the exact steps to solve this:
Return code (16) indicates import is cancelled.
Ex: RC 16 error
1. Import cancelled due to system down while importing.
2. Import cancelled due to user expires whileimporting
3. Import cancelled due to insufficient roles.
Would you please suggest me how to encounter this error, solve the error and successfully transport the Bex Query?
Please help.
Regards, AparajitHi all,
The issue is resolved with Re transport.
The Query is in production now.
Thank you very miuch for your guidance Rama,
Ganesh and Nikhil
Regards- Aparajit -
Dear all,
I am working on a BEx query. I would like to show MTD and YTD actual & planned expenses. My questions are as follows:
(1) how can I set up variables or variants which can look up the system date to calculate the MTD and YTD date? For example, I execute the query without input the date and I would like the query automatically look up the date for YTD (e.g. 1/1/2009 u2013 2/20/2009) and MTD (2/1/2009 u2013 2/20/2009) for actual expenses?
(2) Since the planned data is by year and distribute 12 months equally and not by day, how can I set up variables which can look up the system date to calculate the number of the days from the beginning of the year up to today and beginning of the month update to today so I can calculate the MTD and YTD planned expenses based on the annual budget.
ThanksThanks Reddy,
Since my variable for planned data is not date variable anymore, it is a factor = current date / number of days in current month and I used this to multiple by the planned monthly data. If I used entire month and the plan data will be overvalue, I can't compare to the MTD actual data since actual date is updated by day. How can I create a variable for this and use it to caluclate in the BEx Query?
I believe the function will work but I don't know much about ABAP. I try to search sample code for the function. here is what I get but I don't think it is going to work. Can you point out what is missing? I believe I need to put it under 'ZXRSAU01'
Under CASE I_DATASOURCE
I put
WHEN 'ZMTDFACTOR'. #the variable name of the MTD factor
PERFORM ZMTDFACTOR_EXIT.
In ZMTDFACTOR_EXIT and here is the code I get so far
WHEN 'ZMTDFACOTR'.
DATA: SDT TYPE SY-DATUM,
MON_FACTOR TYPE N,
ST_CD(2) TYPE N,
ST_LD(2) TYPE N.
l_date_in type sy-datum,
l_date_out type sy-datum.
SDT = SY-DATUM.
*current date
ST_CD = SDT+6(2).
CONCATENATE l_v_calmonth '01' into l_t_range-low.
l_date_in = l_t_range-low.
CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
EXPORTING
day_in = l_date_in
IMPORTING
LAST_DAY_OF_MONTH = l_date_out
EXCEPTIONS
DAY_IN_NOT_VALID = 1.
*last date
ST_LD = l_date_out+6(2).
*Calculate the factor based on the MTD
MON_FACTOR = ST_CD / ST_LD.
How can I send MON_FACTOR to ZMTDFACOTR and back to the query?
Thanks again. -
Authorizations for adhoc query
Hi all,
I am facing a problem with authorization on adhoc query. The following is what I am trying to achieve: Power Users are able to design a query but they are only allowed to save the query with the prefix "p_"
In PFCG I have set this up in s_rs_comp and s_rs_comp1 but I am still able to save the query under z_...... The role I have setup is quite plain, it has s_rfc, s_tcode, s_rscomp,
s_rscomp1 en s_rsicube. Have I forgot to setup something else?
anyone any idea?
mcteamHello James,
I am trying to make it so my users can only save queries with the prefix "Y" I guess my problem is sort of the reverse of yours.
My SDN thread is:
Only save queries if name starts with Y
if you can help it'd be great!
Thanks,
Nick
Maybe you are looking for
-
In billing document line item coming in different way
Hi folks, When am creating billing with reference to contract to billing line itmes are coming 20 and 21. Where as in the contract the line are 10 and 20 what is the reason for that? Thanks & Regaerds rack29
-
Mail Now Shows GMAIL messages previously filed!
I am running the very latest version of Mavericks including the Nov. 8 Mail update. Now in GMAIL, my SENT box shows many emails which I'd previously filed into local folders. Now there are two copies: one in the local folder, the other in SENT. What
-
Hi All, I was trying to change the exchange rate in FB70 transaction. System picks the exchange rate maintained in OB08 and the field is greyed out. Could someone please let me know is there any possibility of making exchange rate field in FB70 edita
-
hi I'm trying to re-install Adobe Flash Player onto my Acer Aspire ONE 721 netbook(approx 6 mths old) after I had a new hard drive fitted quite recently to operate Oxford i pack DVD for my teaching job and I keep getting the run around. I have tried
-
What woiuld cause this under windows 7 ultimate-64bit, it worked for awhile using V 5.5.9195.0 it works on my other machine which is a windows 7ultimate-64bit. When I try to restart the service from the magic interface it comes up with a "platfor