SAP Query-SQ01,SQ02,SQ03
Hi,
One query was created in Development client and a transaction code was created for the same and transported to QA & production. But I am unable to see the same in QA cliet or production client. this was done by SAP implementation team and i do not know what mode of transportation they had used.
When i run the transaction code for this query in QA client it says the user Group has not been created. After analyzing the same in two clients we found that in Global area everything is same in these two clents but in Standard area the User Group is not showing.
Can anyone give some clue as to how to rectify this issue..is it an issue related to transport or do we have to manually create in each client.
Also let me know what is the difference between Standard area and Global area??
Regards,
SAPFICO
Hi,
sorry for using google to find the answer to your question. I must be afraid you do it next time yourself
[Transporting Query Objects|http://help.sap.com/SAPHELP_NW70EHP1/helpdata/EN/d2/cb467f455611d189710000e8322d00/content.htm]
[Query Areas|http://help.sap.com/saphelp_nw04/helpdata/en/7f/af0c36932211d194f60000e82de14a/content.htm]
Kind regards,
Clemens
Similar Messages
-
Question in SAP QUERY- SQ01,SQ02,SQ03
Hi SAP QUERY Experts,
I have a question for the query. Is it possible using a interface parameter for report-to-report interface? I mean when I double click on one the data record of query, I want to transfer the key information of this record to the query or report or transaction as parameters. Is it possible? If yes, could you tell me how?
This is on SQ01, SQ02,SQ03
Thanks and Regards
Saravanahi all,
i am having one abap standard query, i have to modify that one and i have to include another colum which needs the requirment.
07 Depreciation /SAPQUERY/AM07 ADA FIAA - DEPRECIATION
the above i mentioned is the query, how ever i tryed this standared to copy but i am not able to connect infoset and all stuff.
pls guide me how to insert additional colum in that standard report or query.
pls guide me
thanks and regards,
sai -
Transport request for SAP Query - SQ01, SQ02, SQ03
Hi Experts,
I have a doubt, Whether we can have request for SAP Query which have created from Transaction SQ01.If Yes then How to do that....?
Thanks in Advance,
Chetan JoshiHi,
Use the program RSAQR3TR
Thanks
Naren -
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 -
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 -
Question regarding SAP query (SQ01& SQ02)
Hello everyone,
I have been assigned a task of creating a SAP query in SQ01. The report requires me to incorporate a drill down functionality.
i.e. when I double click on a material I should be able to see the components of that material.
My question is "Is it possible to incorporate a drill down functionality in a Query through SQ01".
If yes then how.
Please provide me with some documentations or example codes for this.
Regards,
Deepti Jain.Deepti,
There are 2 ways to get the output From SAP query.
1.Under record processing :
if you don't write any code in Start of selection event for output
(WRITE statements) we can not have any control on that.
2. Under start of selection event :
If you write any code in START OF SELECTION event like
get the data in internal table and loop the internal table
In loop WRITE statement to display with format and try to use
Interactive report commands Here. I think it will work fine. -
Infoset Queries SQ01/SQ02/SQ03
Hi Experts,
I am designing query using SQ01/SQ02/SQ03 where I will input either installation or rate category (both present in table EANLH). But problem here is Installation is key field for EANLH while tariff type is not. Therefore, it returns multiple rate category for single installation. Now within these multiple rate category I need to retrieve only the latest rate category (this table does contain date field BIS & AB - Date fields by using which I can select latest record).
But my problem here is how to do this in Infoset Queries? Where I need to make changes or do some config?
Please let me know.
Thanks.Yes, but I am not able to figure exactly how to implement it? I mean I can do this same code in SE38 where I know names of the internal tables. But when in SQ02 we can't modify/read system tables (I found name of the system tables using report generated by SQ01). So how you will access them, then how you will reflect our changes in output ALV grid?
Example:
Data:
Rate Cat. Installation Date
71 60000984 20/10/2009
71 60000984 20/12/2009
71 60001101 10/09/2009
78 60000310 10/09/2009
78 60000315 10/09/2009
83 60000297 10/09/2009
so in this case I want output:
Rate Cat. Installation Date
71 60000984 20/12/2009
71 60001101 10/09/2009
78 60000310 10/09/2009
78 60000315 10/09/2009
83 60000297 10/09/2009
You will see 71 60000984 20/10/2009 is not the latest one, therefore I don't want that row. I can do the ABAP logic for this, but exactly what and how to implement in SQ02? -
Use of SQ01, SQ02, SQ03
Hai All,
May i know that what is the use of SQ01 , SQ02, SQ03.How to use this ? How to create it ? Can we write our requirement in this ( addition to generated one )?
Plz rely .
Thanks & Regards
Prashanth
Message was edited by: Prashanth KondaCheck this link
www.sappoint.com/abap/ab4query.pdf
Example
To write ur requirement choose the option
Data retrieval by program in SQ01.
First Step is to create a dictionary structure . Include all the fields in this structure that you want to output.
Then create a report program having the following structure .
Report XXX .
TABLES tab . Declare the already created dictionary structure also here.
Parameters x . Define parameters here
Select-Options: .
DATA : ..
DATA : BEGIN OF itab OCCURS xxx
END OF itab. Structure tab to hold the records to be evaluated.
*<Query_head> This comment must always appear after your data declarations
Code to define the table itab
Loop to retrieve each record and place it in itab.
SELECT,DO, LOOP , .
If necessary , code to format data
*<Query_body> This comment must always be the last statement in the loop.
End of loop
ENDSELECT , ENDDO, ENDLOOP ,
Following is an example report program. Here youtput_struct is the dictionary structure.
REPORT yqueryprg .
TABLES: bkpf,youtput_struct.
DATA : BEGIN OF itab OCCURS 0,
belnr LIKE bkpf-belnr,
gjahr LIKE bkpf-gjahr,
monat LIKE bkpf-monat,
bukrs LIKE bkpf-bukrs,
END OF itab.
SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE text-t01.
PARAMETERS: p_code LIKE bkpf-bukrs.
SELECTION-SCREEN END OF BLOCK input.
*Query head
<Query_head>
Start-of-selection.
SELECT belnr gjahr monat bukrs FROM bkpf INTO TABLE itab
WHERE bukrs = p_code.
LOOP AT itab.
CLEAR youtput_struct.
MOVE itab TO youtput_struct.
Query body
<Query_body>
ENDLOOP.
Save and Activate this report.
Then go to SQ02 transaction to create an infoset.
Select the option Data retrival by program
Enter datastructure name
Choose External program name as your report name.
Infoset ->Generate.
Go to SQ03 to create a user group.
Enter user group name and click on Create button.
Enter description and save it in your development class.
In the next screen , click on Assign Infosets button.
Here you select the infoset that you have created
Save it.
Go to SQ01. Select the user group that you have created.
Then enter the query name and create. It will show the list of infoset that you have created. Choose the infoset you want.
Choose BasicList Button.
In the right side of the screen you adjust the output field width, background color etc.
Go back and select the menu option Query -> Generate Program.
Then Execute this Query. -
Creation of SAP Query in SQ02 with Single Table With Condition
Hi All,
I want to Create SAP Query in SQ02 using single Table MCHA.
ii) I dont want all entries of MCHA Table I mean , I have to apply some Condition on this Table.
i.e Suppose I am having actual data in MCHA table is like this for Material M1.
Plant Material Batch BatchCreationdate
P1 M1 B1 20.06.2007
P2 M1 B1 04.05.2009
P3 M1 B1 04.05.2009
But I want the Output of SAP Query is like this:
Material Batch BatchCreationdate
M1 B1 20.06.2007
That is irrespective of Plant if Material & Batch are equal ---> 1st record with Lowest date shoud get at the output.
Please help me How write the code on single table in the SAP Query.
Thanks,
Kiran ManyamHi,
Your query should be like this:
Select MATNR CHARG HSDAT
from MCHA
into table t_mcha
where matnr = Materlal number from selection screen.
The structure of t_mcha should contain the fields that you select.
Then sort the table by date ascending
Sort t_mcha by HSDAT.
Hope this solves your problem.
Thanks,
Sowmya -
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 -
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 -
Difference bet SQVI & SQ01,SQ02, SQ03
Hi all
What is difference been SQVI and SQ01,SQ02, SQ03????
I hve alredy developed report using sqvi,
Please tell me about sq01,sq02, sq03??????
Regds
ssHi
SQVI is user specific whereas SQ01... are not user specific.
You write a qurey in SQVI and it is accessible only for you.
But the other way in SQ01...
Good Luck
Hari -
Hi
I have a generic question on whether transaction codes SQ01 to SQ03 should be allowed for modification every system ( Dev, QA, PRD) or should be set as "not modifiable" in any system other than DEV - such that changes follow the Transport route.
What is the general practice? What is recommended?
Thanks for your time..
Regards
Gayathrihi gayathri,
In general scenario dev server is for development where you can write the code and do the development then the object is moved in to the Quality server where testing is done, whether the object is doing what is required or not,how much time it is taking all the cases are checked in Quality server,then the object is passed to the Prod server.and all the server gets sync up.
So try to write the code in the development server.
Hope this will help you .
Thanks
Tanmaya -
Interactive report using Infoset quiereis with SQ01,SQ02,SQ03.
Hi,
I have to create a report by using the infoset query with SQ01,SQ02 and SQ03 Tcodes. But problem my requerment is that I have to create one interactive report with these quereis.
Can any body tell me how to create this interactive report using infoset quereis OR are there any standard quereis which are having interactive nature.
Pleas send me the solution and thanks in advance.
regards,
J.Yes, but I am not able to figure exactly how to implement it? I mean I can do this same code in SE38 where I know names of the internal tables. But when in SQ02 we can't modify/read system tables (I found name of the system tables using report generated by SQ01). So how you will access them, then how you will reflect our changes in output ALV grid?
Example:
Data:
Rate Cat. Installation Date
71 60000984 20/10/2009
71 60000984 20/12/2009
71 60001101 10/09/2009
78 60000310 10/09/2009
78 60000315 10/09/2009
83 60000297 10/09/2009
so in this case I want output:
Rate Cat. Installation Date
71 60000984 20/12/2009
71 60001101 10/09/2009
78 60000310 10/09/2009
78 60000315 10/09/2009
83 60000297 10/09/2009
You will see 71 60000984 20/10/2009 is not the latest one, therefore I don't want that row. I can do the ABAP logic for this, but exactly what and how to implement in SQ02?
Maybe you are looking for
-
Trouble restoring/formatting hard drive.
I maybe did this wrong, so let preface with that but from my basic experience reading on the forums about how to do everything. So let's start from the beginning. Been having issues with what I believe to be a hard drive issue, been hearing screechin
-
With clause in a stored procedure with update
create table TEMP_STAGE as (select '111111' student_id, 'N' TMP_TEST FROM DUAL UNION select '111111' student_id, 'N' TMP_TEST FROM DUAL UNION select '222222' student_id, 'N' TMP_TEST FROM DUAL CREATE OR REPLACE PROCEDURE TEMP_SEC_TEST AS BEGIN UPDATE
-
Genereate an android app with single edition ?
Hello to all How to Build an Android application with DPS Single Edition? I saw "Aquafadas solution" have the advantage of being able to generate Apps for any support, which makes sense! But then, I'm trained, perfected for months on the DPS, but it
-
Acrobat x will not act as default viewer
i can not get web browser adobe links to point to acrobat x as my default viewer. it will only open in reader.
-
Missing diagram components from component palette in Jdev11
I've been using JDeveloper 11 for a couple of months and today went to create a sequence diagram and found that I had no sequence components listed in the Component Palette. The only drop-down selection is "My Components" which is empty. I tried this