Query (SQ01): Variant authorization
Hello experts,
I made a query from SQ01.
I want create a variant on this query but with only authorization to specific user.
How can I restric authorization to one variant of query in order that can only be executed by specific user ?
Example:
SQ01 query name: Z_QUERY_1
Variant name: V1_Q_1
User: USER1
Only user USER1 must have authorization to execute variant V1_Q_1
Regards,
Juan
Hi
Refer the below url
[User-specific Selection Variables |http://help.sap.com/saphelp_nw70/helpdata/en/c0/98039ee58611d194cc00a0c94260a5/content.htm]
[Query|http://goldenink.com/abap/sap_query.html]
Similar Messages
-
Posting period variant authorization
Hi
We have a issue with posting period variant authorization. Say for example we have 4 company code and 4 posting period variants and we want to restrict one particular user should have authorization to open and close for one posting period variant only. Because mistake other company posting periods are getting opened. so as we have one posting period variant for one company, we want to restict one particular user responsible for one particular posting period variant not for all OB52 transaction code. Please advise how to achieve this.....
Regards
PadmaHi
I am not finding any thing called authorization field in OB52, where it is? please advise..
Padma -
Hello SAP Gurus
Can anyone provide me with SQ01 documentation or any links regarding SAP query concept like how to create and copy things....
Thanks for your help
KishoreRe: Query SQ01
Posted: May 5, 2007 8:39 PM in response to: Chandra Reply E-mail this post
Hi Chandra,
can you send me the same documentaiton please.
My mail Id : [email protected]
Thanks in advance.
Kris -
How to Hide Empty Column In SAP Query (SQ01)
I was crated a report in sq01 based on business requirements , but there are some fields without any content , in sq01 if you select one of output fields in the right side of the screen in the left side you can see "List Fields" T in the list fields there is a check box , the name is "Only display field if <> 0 " , but when i check it, it doesn't work , guys is there any one to help me to eliminate column without content , in the result of sap query (sq01) ??
Please give reference (or hyperlink) to 10 Useful Tips on Infoset Queries (original document)
Regards,
Raymond -
Hi guys,
I want to make a ABAP Query via SQ01on SAP ECC.
First i had created an infoset, that only based on one table.
My requirement is to fetch alle data from this table grouped by customer number.
Using an sql statement is this very easy to do, but in i had trouble making this in SAP (SQ01):
SELECT CUST_ID, COUNT(ORDERID)
FROM
TABLE
WHRE CONDITIONS
GROUP by CUST_ID
HAVING COUNT(ORDERID) > 1
My question is where to put my requirement in order to get result using standard ABAP query SQ01.
I will really appreciate your help.
nabilHi,
Welcome to SDN.
This is not possible exactly with ABAP Query but can be easily done by ADHOC query. Using Set operation A-B.
Check the links for ADHOC Query -
<a href="http://www.sap.cmich.edu/fihr/hr/adhoc-query.doc">http://www.sap.cmich.edu/fihr/hr/adhoc-query.doc</a>
Regards,
Amit
Reward all helpful replies. -
Interactivity in ABAP Query [SQ01]. Working on ABAP 4.6C version.
Hi,
I have created a Infoset[SQ02]( basically selecting data from VBAK and VBAP for Sales Order) and assigned this infoset to user group[SQ03]. Using this i have created a Query [SQ01].
In the output i have the "<b>SALES ORDER NUMBER</b>".
Once the sales order number is double-clicked on i have to display the VA03 transaction with the sales order number in it.
My doubt is, how is this interactivity acheived. I am working on ABAP 4.6C.
Thanks in Advance for your esteemed replies.
Regards,
Raghavendra Goutham P.AT LINE-SELECTION.
case sy-cucol.
when 16 OR 17 . "Col No
DATA: BDCDATA TYPE TABLE OF BDCDATA.
DATA: ITAB TYPE TABLE OF BDCMSGCOLL.
DATA: PROGRAM LIKE SY-REPID,
WA_BDCDATA TYPE BDCDATA.
WA_BDCDATA-PROGRAM = 'SAPMV45A'.
WA_BDCDATA-DYNPRO = '0102'.
WA_BDCDATA-DYNBEGIN = 'X'.
WA_BDCDATA-FNAM = 'VBAK-VBELN'.
WA_BDCDATA-FVAL = IT_ITAB-VBELN.
APPEND WA_BDCDATA TO BDCDATA.
CLEAR WA_BDCDATA.
CALL TRANSACTION 'VA03' USING BDCDATA MODE 'A'
MESSAGES INTO ITAB.
Regards
Ravi -
ABAP Query (SQ01) Challenge
I asked this question last time as well but with no positive/helpful answer. I need to develop a query ( SQ01) in which the user just wants to see when was the most recent posting done in the given G/L account. If i pull posting date it will give me all the dates in chronical order or so which i dont really want.
Lets get your gray/sap matter working
THankssameer
if you know how to create query.
code is
Select requred data from BSIS into internal table (I_BSIS).
Sort I_BSIS by key field date desending.
when you sort this you will get the latest record in first by date.
take that date in one temp field.
LOOP AT I_BSIS.
AT END OF key field
SUM amount .
move both date and sum amount to final internal table.
ENDLOOP.
At last take final internal table and use in below FM
WS_EXCEL.
you will get output.
Pls. reward if helpful -
Costing Variant authorization Error
Dear Experts,
While creating Sale Order (MTO scenario) system is throwing a error "No authorization for Costing Variant XXXX in Company
Code XXXX. understand that system will calculate Sale Order Costing in this scenario. So, user should have Costing Variant authorization in his user profile.
Basically SD related users doesn't have authorization for Product Costing Objects.
And Basis guy has maintained the authrn by costing variants object level not by the T- Codes level.
How can I allow SD Users to Costing Variant authorizations?
is this the correct way?
Please help me.......
Regards,
Balaji Bhonsle.Dear Ajay,
Firstly thanks for your help.
Is this possible to give t-code authorization by without giving costing variant authorization?
Because Client is not ready to give entire costing variant authorization.
I strongly hope that, it doesn't work any t.code autr without CV Authn related to PC Object :K_KEKO.
Is there any possibility to do this t code autrn.
Regards,
Balaji Bhonsle. -
SAP Query (SQ01) who and when to use the report
HI Experts!!!
Is there somewhere recorded information: who and when to use the report from SAP Query (SQ01)?
ThanksHi
This topic doesn´t belong to the Service Marketplace Area.
regards Martin -
SAP Query (SQ01/SQ02/SQ3)
Hi Experts,
I have created query (SQ01/SQ02/SQ03) to display below fields: Hazard Code, Device Location Number, Hazard Code Description, Loc. Created by, Loc. Created on Date.
Now in the output list I want to display a summary of all the count of records by the key characteristic for the query. For example, the Device Location by Hazard Codes query should give us a summary of the count of all device locations per each hazard code.
Practical Scenario:
Device Location Hazard Code
40002748 01
40002751 05
40002481 07
40002746 04
40002749 04
40002994 01
Then in this case it should either display additional third column or additional row saying:
Device Location Hazard Code
40002748 01
40002994 01
Total Hazard Count: 2
40002746 04
40002749 04
Total Hazard Count: 4
40002751 05
40002481 07
or
Device Location Hazard Code Total Count
40002748 01
40002994 01 2
40002746 04
40002749 04 2
40002751 05 1
40002481 07 1
I checked statistic tab present in SQ01 also URL [http://help.sap.com/erp2005_ehp_02/helpdata/en/d2/cb4256455611d189710000e8322d00/frameset.htm] but still I am not able to figure out how to display this data.
Please let me know.
ThanksHi,
If you're getting the output in ALV Display, you can simply click on the location column & then click on the Sub-Total button on the ALV toolbar, it will sort all the records according to the location (1 or 2 or...) & give you the total/count of the particular location.
For any further clarification, let me know.
Prateek -
Hide columns for ALV list output in SAP Query SQ01/SQ02
Hi All,
I have a requirement to hide the columns which are empty in sap query SQ01 alv list output.
Please let me know this functionality available in Query (SQ01) like normal reports
Regards,
VenkatHi,
We just can't make changes in this case as this are all system generated programs.
WE have to write our own reports to make things flexible to match our requirements.
Things you are asking is not possible.
Regards,
Suvendu -
Export & import of query (SQ01/SQ02/SQ03)
Hi,
How to export/import SAP Query (SQ01/SQ02/SQ03) without any transport request.
waiting for ur reply.
Thanks in Advance,
PranabHi,
If you dont want to create any transport request number then you need to download/upload the query instead of import/export.
Please follow the below steps for downloading/uploading the query
(Go to the system from where you wnat to export the query)
1. Goto transaction SQ02.
2. Click on ' Transports' icon (CTRL+F3).
3. In 'Transport action' select 'Download'.
4. Select 4th radio button 'Transport Queris'.
5. Enter the name your user group and query and click on execute.
6. Give the file name and location where you want to save the query backup and click on save.
(Now goto the system where you want to import your query)
1. Goto SQ02 and click on 'Transports' .
2. In 'Transport action' select 'Upload' and click on execute.
3. Enter/select the name of the file which you have downloaded before and click open.
Please let me know if this is helpful.
Regards,
Priya Bhat -
Add calculated field (Query - SQ01)
Hi to all,
I would know how can i add a calculated field to a Query (SQ01) ?
Can you give me an example of abap code to insert in CODING section ?
thksHi,
My understanding about your question is you want to display the total for two standard fields in a table,
1) Personalize the table and make true for the property Total.
2) If you want to calculate both the column total,
Add a MessageStyledText via personalziation to the page, and extend the controller
and in the ProcessRequest
Get the handle of the AM and then ur attributes VO Attributes and traverse through the VO rows and get the total of both the columns
and set the value to the newly created MessageStyledText.
Let me you want any sample code for the second step.
Thanks.
With Regards,
Kali.
OSSi. -
Transaction of Query(SQ01) SAP 4.7
Hi
I created a query in SQ01(SAP 4.7), I need create a transaction for this query.
How create transaction for query(SQ01) in sap 4.7, help-meHi
select the query and go to QUERY in the menubar then goto more functions where you have an option display report name it will give you the report name.
Menubar ---> Quer ---> MoreFunctions ----> Display Reportname.
Now GOTO SE93 to create the transaction code and give the transaction name what you want and give the report name and try to give the screen number as 1000. As 1000 is the default screen for the SAP generated programs.
give the GUI support as SAP GUI for Windows if the operating system is Windows.
or
GOTO SE80 and select the program and give the program name you will find the screen number there right click on the report name and got to the context menu
Create ---> Transaction
Fill the required fields.
this will definitely work
thanks
sarves -
Is it possible to use top_of page in SAP query SQ01
Can I use a top_of page in my Query SQ01???
If is yes, how can I do that???Hi Alvaro,
Header and footer are provided for these sort of requirements.
Please check the menu options.
Maybe you are looking for
-
any suggestions for simple graphic photo enhancement apps?
-
Error when trying to create Pollers in HUM
I am getting an error while trying to create Pollers in HUM. I am selecting All Devices, All Available Templates, and checking the box for Poll all Instances. After choosing all these options, I click next, then it Poll's the devices to fetch insta
-
Merge two iPhoto libraries into an Aperture library for my Macbook Air
Hey, I've searched around a bit for this but can't seem to figure out how to to it. I'm trying to manage my ~140GB photo library on my Macbook Air which has 128GB of HDD. On top of that, you can imagine that most of that 128GB is filled with system
-
Will i loose all my stuff on my computer hard drive?
if i update to mavericks will it format my computer? will i loose my files?
-
Lookup two objects list values in one object are not in the other object
Hi, I have two sources of reference numbers that ties our whole system together. Let's call them RefCodeSystemA and RefCodeSystemB. I would like to build a webi report that shows the Values in RefCodeSystemA that a NOT in RefCodeSystemB. I can easily