Authorization on Query Creation
Hi Experts,
I have a requirement wherein a poweruser is allowed to edit or create a query but can only save the created query in a prescribed naming convention of technical name (for example, a poweruser can only save a query if the technical name starts with ZPWRUSR_ , let's say the created query's technical name is ZPWRUSR_SALES). Otherwise, an error message is to be displayed.
How should I configure this Authorization in saving a created query?
Thanks.
Btup
btup,
Are you looking at something like ...
I have a query which is say ZSALES1 and a power user modifies the same and has to store the same as ZPWRSUSR or
I have a query called ZPWRSUSR1 which can be modified and saved as ZPWRSYSR2 ??
Arun
Similar Messages
-
Could anyone provide the complete manual of SAP Query Creation
Hi,
Now I am learning to create SAP Query.
I viewed many questions and answers about SAP Query.
Some mentioned this,and some did that...
Could anyone provide a complete manual of SAP Query Creation for developers.
I can create SAP Queries step by step with it.http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
Step-by-step guide for creating ABAP query
http://www.sappoint.com/abap/ab4query.pdf
ABAP query is mostly used by functional consultants.
SAP Query
Purpose
The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
Features
SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
All the data required by users for their lists can be selected from any SAP table created by the customer.
To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
use either SQ02 ans SQ01
or SQVI tr code
for more information please go thru this url:
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
http://goldenink.com/abap/sap_query.html
Please check this PDF document (starting page 352) perhaps it will help u.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
check the below link will be helpful for u
Tutorial on SQVI
once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
useful
http://www.erpgenie.com/abap/code/abap47.htm
regards,
Prabhu
reward if it is helpful -
Dear All ,
This is regarding Query Creation.
I want to create Query by Joinging Two tables.
I have created User Group, Created Infoset,
Now am creating Query by SQ01.
Going Step by step correctly.
I have Tick mark on Field group and selected .
Then By next screen i have marked for option for Parameter.
Then Clicked on "BasicList" Button.
Now after clicking Basic list button i am not getting screen of Basic list Line Structure
i.e Scrren with detais like with heading of type Field , Line ,Sequence, Sort Total etc. i am not getting.
Instead, After Pressing BasicList button i am getting screen like Query ...... layout Design.
So where /How cani get Scrren of Basic List Line struecture.
In which menu / option i have to check.
For Information we have SAP ECC 6. 0 with Application support Package no. 14.
PL help me for my probelm
Regards
SwatiHello,
I got solution of my probelm.
Removed Tick Marked from Menu option Settings --> Setting -
> Here removed tick mark from Graphical Query Painter.
Thanks to all.
Regards
Swati -
No authorization for the creation of resource WG10 00_1000_001
Dear All,
While checking SMQ1(Outbound queue), we found 2 displayed , pls check below details.
Queue Informationen
Number of Entries Displayed: 11
Number of Queues Displayed: 2
Cl. Queue Name Destination Entries
100 CFLDZ31CLNT100_0034 E06CLNT100 4
100 MCEX03 NONE 7
While Double clicking queue (CFLDZ31CLNT100_0034), Its shows Status SYSFAIL .
Please check details log.
Cl. Queue Name Destination Entries Status Date 1 Time 1 NxtDate NxtTim Wait for queue
100 CFLDZ31CLNT100_0034 E06CLNT100 4 SYSFAIL 22.09.2011 12:57:11 22.09.2011 13:16:32
Note : E06CLNT100 (SCM System).
While double clicking SYSFAIL Its shows No authorization for the creation of resource
00_1000_001.
Kindly Suggest.And also User not able to do activate Integration Model using Transaction CFM2 , it is giving error as below .
System: E06CLNT100 User: KAPGATEG 22.09.2011 12:57:11
Function/Q/SAPAPO/CIF_RES_INBOUND4
Text: No authorization for the creation of resource WG10
Kindly advise. -
Hello,
Our company is about to go live with B1 and E commerce. We are very much looking forward to getting the ball rolling: the old MOM system and Sitelink shopping cart is causing issues!
Anyway, before i go too much further i would like to get hold of some basic Query creation documentation. So far i have been unable to find any.
If i have posted this in the wrong discussion group i apologies.
I look forward to hearing your comments and becoming a regular in this group,
Thanks,
CharlieHi Charlie,
Beside this forum, you may also search and post here:
SAP Add-Ons
Thanks,
Gordon -
Authorization on Query Print Layout Report
Hi Experts,
Is there a way to limit users from generating Query Print Layout which they are not suppose to generate? Currently, all query print layout is exposed to all users, but I want to limit which users who can access specific reports only and to prevent from accidentally generating other confidential reports.
I tried grouping the queries per Query Manager and assigned the query number to designated users in Authorizations, but it seems that this does not apply in Query print layout generation.
Any help?
DonHi Gordon,
Yes, I gave the users authorization for the query print layout so that they can run one of the report, however, all the reports are exposed also, for confidentiality purposes, I don't want to allow the same users to generate other query print layouts.
Is there a way for this?
Thanks. -
Analysis Authorization and Query
Hi everybody,
while studying the new analysis authorization concept in BI7 I tested a little bit around. I was wondering how I can realize the following scenario:
A user should see "0VERSION" "2" and "0DIVISION" "01" as well as "0VERSION" "5" and "0DIVISION" "02" while executing the query with BEx Analyzer.
Am I right that I have to create two analysis authorizations? How do I have to model the query? I always get the message that my testuser does not have enough authority.
Thanks for your suggestions.Hi Anja,
Did you ever get a resolution to the question you asked. I am facing the same scenario now where i want to restrict a user to seeing seeing the following:
user must see:
Division = 001 and Area = A
Division = 002 and Area = B
But he must not see Division 001, Area B for example
Creating the analysis authorizations is not a problem, the problem is modelling the query to return this result. I always get no results due to lack of authorization as the authorization variables try to return All Division "001" and "002" and All "A" and "B"
As i see it, you cannot model the query to return the required result. What would be ideal is if the query would only return what the user is authorized to, rather than returning nothing and giving an auth error.
Thanks
Gavin -
Customization of "No Authorization" for Query in BI!!!
Hi,
Have a query on when we get a no authorization for a query in BI. Can we customize the error message or create pop up in analyzer to show the user that he does not have access to a particular value like a Company Code etc.
Also is it possible to show data to the user for which he is authorized even if he has put in fields to which he has no access.
Thanks,
YogeshMay be you can try Authorization Fill variable.
To see what the user ID is Authorized to see use RSECADMIN (Only in BI7.0) and see for Error Logs under Analysis.
AB -
Hi,
Can any one send me complete procedure for creation of query in SQ03. Please give me step by step procedure
Thanks,
Regards,
Mukulhi,
in sq02 define the infoset. here u define the tables and the join relation between them. generate the infoset. in sq03 create user grps (if not already existing) and then assign the infosets to them. assign user ids to the the user grps. in sq01 create the query in the infoset and define the list and selection fields. make sure u check the query area in which the infodset and the query is created (global or client sprcific).
saurabh -
ABAP Query: creation of local field (Subtraction between 2 dates)
Hi,
I want to create a local field which will calculate the number of days between 2 dates (for example, document date - posting date).
What I did:
1) Created the user group in SQ03
2) Created the infoset in SQ02
3) I'm stucked at the creation of the Query in SQ01. I'm at the «Create Query: Select field screen». I clicked on Edit --> Local Field --> Create. I selected the «calculation field» attribute. I clicked on the «Complex calculation button», but I don't know how to write my formulate DOCUMENT DATE - POSTING DATE.
Thanks a lot for your help.
JulienTry these FM's to calculate difference between two dates..
DAYS_BETWEEN_TWO_DATES
LEAP_DAYS_BETWEEN_TWO_DATES
HR_SEN_CALE_DAYS_DATE
ISB_DAYS_BETWEEN_TWO_DATES
FIMA_DAYS_BETWEEN_TWO_DATES
FIMA_DAYS_BETWEEN_TWO_DATES_2
FIMA_LEAP_DAYS_BETWEEN_2_DATES
SD_DATETIME_DIFFERENCE -
Authorization issue - Query is not working
Hi All,
I have creared an auth.object on zcomp_code. created a role and assigned to a particular user. I have included 20 comp.codes in this auth object. All is well except the query result
I have 2 variables in the variable pop-up screen. 1 is FiscYear and 2nd is zcomp_code (auth.variable). If i execute by not giving any value to comp.code, its showing "no autho". If I pass values then its giving proper result. Per my understanding, without input to comp.code it should display what and all are authorised to that particular role/user. Please correct me if I am wrong. I would like to show the result even there is no input to comp.code. Could anyone please suggest any approach to do this. Your assistance highly appreciable.
Note: the comp.code variable is of type auth. variable. optional, ready for input.
Thank you in advance!!!
Best Regards
Venkat....Hi Venkatesh,
Hope you did all necessary developments, however i guess there is something missing in assignment of authorization relevant obj. Please go through below link which has explained on possible errors for "No Authorization Error" during this type of development.
http://wiki.scn.sap.com/wiki/display/BI/Characteristic+Value+Authorization++BI+7.0
Hope this helps.
Regards,
Venu Gopal -
Field based authorization in Query SQ01
Hi SAP Gurus
I have made a query via SQ01 . Now i have assigned two users to execute the query but both these users are from different companies and able to execute the query for another company also which is not correct .
What i want to do is to restrict company code in accordance to user id of the respective person .
We do not have an abapper currently ? Can anyone help me with this ?
Regards
HiteshHi,
You can restrict the users from accessing the query from infoset with standard/custom authorization authorization for company code.
if company code selection field is defined inside the infoset,then authorization check can be implemented in at selection screen event inside the infoset.
if the company code selection field is defined in query level,then we can implement authorization check at start-of-selection event in infoset.
Regards
Shibino -
BI Authorization problem query in web
Hello Guru,
i have authorization problems to execute query on the Web.
When i try to execute query on web i have these messages:
- Missing display authorization msg R9 108
- Missing authorization to execute query msg R9 108
- User doesn't have authorization for selected component
Component selected can not be executed
Contact person responsible for the authorizations if user need authorization to execute this component
Function is checked with object "Business explorer - components" with these fields:
- InfoCube ZSD_007
- Component type ERP
- Component ZTEST_SD_007
- Activity 16
Message number BRAIN 800
In BI i have add to my usere all these profiles and role, but the problem still again:
Profiles:
SAP_ALL
S_A.SYSTEM System administrator (Superuser)
S_RS_ADMWB_A All Administrator Workbench Authorizations
S_RS_EXPL_A All Business Explorer Authorizations
T-BS590005 Profile for role Z_RS_RREPU
T-BS590006 Profile for role Z_RS_RREDE
Roles:
SAP_BW_CFO_ADMIN
Z_RS_RREDE (copy from template RS_RREDE)
Z_RS_RREPU (copy from template RS_RREPU)
I can not understand if this problem is related to BI authorization or maybe something in Netweaver
please help me
Kind regards
BorisHello,
i can execute query from transaction RSRT, anyway also from this transaction when select "ABAP WEB" , web page is open but i have same authorizations problem.
In transaction SU53 seems everithing correct (i have all authorizations) .... this is probably becouse my problem is in Portal or netweaver side and not in BI ???
any suggestion?
Thanks in advance
Boris -
Regarding the Query Creation Date
Dear All,
How Can I find the creation date of querries which I have done in query designer. Is there any Infoobject keeping track of this data (SAP DEFINED). Pls post msg as soon as possible.Welcome on SDN!!
In Bex analizer, open the query in modify mode, than choose properties and you will find creation date.
Hope it helps.
Regards
PS: assign points if helpfull -
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
Maybe you are looking for
-
"Hotel" wi-fi sharing single connection with multiple devices
Hi, Been reading lots of stuff on here over the last few days and bought 2 airport expresses the other day but I can't seem to get them working quite how I need: Ok, hotel wi-fi charges per connection - the wi-fi is unsecured (no key, yikes, no encry
-
Trying to Erase and Reinstall Yosemite from install drive
I am trying to prepare my 2009 Mac Pro for selling. I erased the startup disk from disk utility, and now I'm trying to reinstall Yosemite using an install file on an external hard drive. Every time I boot to the external hard drive, choose "Install O
-
The client will be using Oracle9i as their database (which has Real Application Clustering), and also Oracle9iAS as their application servers. Their architecture is 3-tier, and development will be done on the J2EE platform. They are using Oracle's JD
-
Purchasing Group in equipment BOM ( Item level)
At the time of creating equipment BOM , purchasing group in equipment BOM (item level ) will be in sync with material master purchasing data. When we change purchasing data (Purchasing group) in material master at that time system will not change pur
-
Once a month Drop/Recreate Sequence
Hello, I have very little experience with a stored procedure, but I'm working on learning. This is what I am trying to achieve: I have a sequence that I need reset once at the beginning of each month. I am using it as a monthly counter. I can code in