Report SQ01
Can anyone mail me the configuration steps for report using SQ01, SQ02, SQ03 and also moving the query to the production client.
maid id: [email protected]
Regards
BALAJEE
Dear Balaji
Step 1 : Create User Group SQ03
Follow the menu path SAP Menu > Tools > ABAP Workbench > Utilities > SAP Query > User Groups
a) In the User Group : Initial Screen -
Enter User Group Code (self named)
Click on Create
b) In the User Group (Code) : Create or Change pop-up window -
Enter the User Group Description
Click on Save
c) In the Create Object Directory Entry pop-up window -
Ö Click on Local Object button
Ö The User Group Created is Saved
Step 2 : Create User Group SQ02
Follow the menu path SAP Menu > Tools > ABAP Workbench > Utilities > SAP Query > Infosets
a) In the Infoset : Initial screen -
Ö Enter Infoset Code (self named)
Ö Click on Create button
b) In the Infoset : Title & Database Screen -
Ö Enter Description of Infoset in the Name field
Ö In the Data Source selection : Select appropriate Data Source by clicking
the radio button
· Source the data can either be multiple tables OR single table. There are 4
options for the user to select from
Ö Click on Continue (Enter)
Ö Selected Table gets displayed in the Infoset : Initial Screen
c) In the Infoset : Initial Screen -
Ö Click on Insert Table button
d) In the Add Table Screen -
Ö Enter the Table Name that is to be inserted
Ö Click Continue (Enter)
e) In the Infoset: Initial Screen -
Ö Click on Back button
f) In the Field Group Defaults pop-up Screen -
Ö Select Appropriate Field Group Option by clicking on the radio button
· There are 3 options to select from. User can select Empty Field Group
option and then select the data fields in the steps explained further.
Alternatively, User can select an option which clubs all the data fields
From all the tables selected
Ö Click Continue (Enter)
g) In the Change Infoset Screen -
· The left side lists the Tables that the user has selected in step b, c & d
· In the right side, system creates field groups, one for each table listed in the
left part. Initially, the Field Groups are empty
Ö In the Left Side, Click on the arror next to the table name and expand and
display all the data fields in the table
Ö Select a Data Field from the expanded Table view, which is to be added to
the Field Group on the right.
Ö Select a Field Group on the right side, in which Data Field selected above
has to be added
Ö Right click on the Data Field selected and click on Add Field to Field Group
Ö The selected Data Field gets added to the selected Field Group, which is
indicated by an arrow next to the Field Group.
Ö Carry out the steps above to add the required Data Fields to the respective
Field Groups
Ö After transferring Data Fields to Field Groups click on Generate button
h) In the Create Object Directory Entry Screen -
Ö Click on Logical Object button to generate the infoset
i) In the Change Infoset Screen -
Ö Click on the Back button
j) User is taken back to the Infoset: Initial Screen which displays the
created Infoset record.
Step 3 : Assigning User Group to Infoset SQ03
Follow the menu path SAP Menu > Tools > ABAP Workbench > Utilities > SAP Query > User Groups
a) In the User Groups : Initial screen -
Ö Enter the User Group for which Infoset is to be assigned
Ö Click on Assign Users & Infosets button
b) In the User Group: Assign Users Screen -
Ö Click on Assign Infosets button
c) In the next screen, select the Infoset, which needs to be attached to the
User Group selected
d) Click on the Back button
Step 4: Creating Query SQ00 & SQ01
Follow the menu path SAP Menu > Tools > ABAP Workbench > Utilities > SAP Query > Queries
a) In the Query from User Group: Initial Screen -
Ö Click on Other User Groups button
Ö In the pop-up screen, User Groups, select the User Group for which the
Query has to created. The pop-up screen closes.
Ö Enter the Query Code in the Query field
Ö Click on Create button
b) A pop-up screen Restrict Value Range shows the list of Infosets assigned to
the User Group
Ö Select the Infoset for which Query has to be created
c) In the new screen Create Query: Title, Format -
Ö Enter the Description of the Query in the Title field
Ö Click on the Next Screen button
d) In the Select Field Group screen
Ö Select the Field Groups from which Data Fields have to be selected for the
Output
Ö Click on the Next Screen button
e) In the Select Field screen -
Ö Select the Data Fields which should appear in the output
Ö Click on the Next Screen button
f) In the Screen Selection -
Ö Select the Data Fields for the selection criteria
Ö Enter the sequence in which the selected fields would appear in the input
screen of the query.
Ö Define if the selection criteria should be Single Value or Multiple Value Range
by clicking in the appropriate check boxes
Ö Click on the Basic List button
g) In the screen Query Layout Design -
Ö Select the Output Fields from the Data Fields section by clicking the
appropriate check box
Ö Change the sequence of Data Field columns if required
Ö Click on the Test button to test the query created
h) On the Test Query screen click Continue
i) In the Query screen -
Ö Enter the selection criteria
Ö Click on Execute button
j) Save the Query created
Step 5: Running the Query SQ00
a) In the Query From User Group: Initial screen
b) Click on Other User Groups button to select the User Group
c) In the pop-up screen User Groups select the User Group
d) System lists all the queries created for the User Group
e) Select the appropriate Query
f) Click on Execute button
g) User is taken to the Selection screen
h) Enter the selection criteria and click on Execute button
i) System runs the query and gives the output
Thanks
G. Lakshmipathi
Similar Messages
-
Hello all
I want to create new sap query in sq01 , the requirement is like this eg:- customer a/b/c , I want to generate the list of last created sales order for the customers a/b/c here I have given 3 customers but I have to execute for 1500 customers
If customer A creates 3 sales order in that 3 sales orders I want to pick last sales order on 12.09.2010 / 15.09.2010 /17.09.2010 in that I wnat to pick the last sales order 17.09.2010
So in query report sq01 how to create, plz provide step by step procedure with this logic
With regards
Rahul
Moderator Message: Search.
Edited by: kishan P on Sep 17, 2010 4:47 PMHi,
better search in Google with the keyword 'SAP query tutorials',
you will get lots of tutorials in the net with step by step approach. -
Hi Gurus,
Hi,
Please could you let me know if there is a report either in SQ01 or in SAP in general that shows the following:
Sales order
PR00 price (Header level)
Condition type (ZFRE Freight) and the value
MWST Output tax and the value
Net Value of the order
Basically I need to be able to enter a whole list of sales orders into the report and see if the sales orders had the ZFRE freight as a seperate condition type.
Thanks
BawaHi,
In your query, you can use the logical database VAV (sales order) or VFV (invoices).
Another solution : add abap code in SQ02 (in new field) to read table KONV from VBAK-KNUMV.
For example :
Clear VAL_ZFRE.
SELECT kwert
INTO VAL_ZFRE
FROM KONV
WHERE KNUMV = VBAK-KNUMV
AND KPOSN = VBAP-POSNR
AND KSCHL = 'ZFRE'.
Endselect.
Regards,
Lionel -
Alignment and restriction of Custom field in SAP query report
Hi Experts,
I have one custom field in query report(SQ01) called Amount in local currency which is calculated based on Amount in document currecy * exchange rate.
But this field values are coming in left alignment instead of right alignment so how i should get in right alignment and second issue is how i can restrict field value to only 2 decimals.
I tried the below link "http://media.techtarget.com/searchSAP/downloads/SAP_Query_C7.pdf" but the steps they mentioned are not appearing in SQ01 for example in that link they mentioned to click Basic List option for advanced steps but when i click i goes directly to field list with field groups on left pane
Please provide solution for this.
Thanks&Regards,
narasimhaHello narasimha,
In the Infoset when you create the additional field, enter an existing SAP table field that has type CURR in the parameter labeled LIKE Reference. For example you can enter BSAK-DMBTR as a value. When you select the additional field in the query, the currency will also show.
Kind Regards,
Rae Ellen Woytowiez
Edited by: Rae Ellen Woytowiez on Apr 25, 2011 11:27 PM -
SAP Query (SQ01) - create and save queryies
Hi Expert;
We wanted to implement SAP query reporting (SQ01) tool, and already developed custom HR infoset and user groups and transported to QAS. We experienced the problem that we can not directly "save" any queries in SQ01. We pretty much have the client opened up and set at "Changes without automatic recording". But keep getting a "transport object create" dialog upon "save" query. But in Adhoc (PQAH), we don't encounter same problem. We wanted our users be able to create and save any queries directly without creating any local objects. Is there another setting that needs to be set?
Thanks for any information that you can provide. Points will be awarded.
HelenHello Helen,
in SQ01 you can save queries like in HR Ad Hoc Query (or Infoset query as it is called outside HR).
However this is only possible in the "Standard Area" not in the "Global Area". However as Ad Hoc Query is based on the SQ0x basics it only hides this effect.
If you are doing HR specifics you should consider the documetnation on the special HR switches:
http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000076208&
In general if you are new to the topic you should consider the courses BC407 for Query Basics and HR580 for reporting in HR.
Also to get a feeling for the different types of reporting with the InfoSet Query you can look at the following documentation:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/a8/2e7237a323427ee10000009b38f8cf/frameset.htm
HR Reporting Tools -> Sap Query -> InfoSet Query -> Calling InfoSet Query.
Or you can book a special training if you need a contact let me know your email adress
Best regards,
Michael -
How to Use MAX condition using Query Report
Hi SAP Abap Expert,
Can we use the MAX condition in Query Report (SQ01/SQ02) ?
I have created one sample query using table VBRP and VBRK then i need to use max condition to get the MAX record in VBELN.
Please Help ???Hi Ashishsingh,
According to your description, you want to know how to use MAX function in SQL Server Analysis Services MDX Query, right? In this case, please refer to the link below which describe the syntax and sample of MDX function.
http://technet.microsoft.com/en-us/library/ms145601.aspx
http://www.mdxpert.com/Functions/MDXFunction.aspx?f=64
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
Hi all,
Am running a querry report (SQ01) for generating a stock list for all materials in a Plant. I have combined the MARD, MSEG & MKPF tables. My input would be the Plant and Storage loc name. And the Output would contain the material no and the stock details (unrestricted, blocked and quality inspection stocks)..
The issue is my Material No (even though i have selected the MATNR field) is not getting diplayed when i get the output instead it shows the material description. similar is the case for Storage location.
Expecting yours help at the earliest !
Thanks in advance !!Hi,
In Query when you select a field MATNR of MARA table or LGORT
You can display both the Number and TEXT of that field
You might have selected only the TEXT for display
double click on that field and
select both the number and Text
Reward points if useful
Regards
Anji -
Hi,
I am creating user groups (SQ03), infosets (SQ02) and reports (SQ01) for different departments which may access the same infosets but have their own reports. The trouble I'm having is that no matter what user logs in to SQ01 they have access to run ALL SQ01 reports regardless of whether they are members of that user group or not.
Is there a process or a particular order in which you create the user groups, infosets and reports so that any user can only access reports belonging to their user group?
Thanks,
ConorHi,
Generally QUERY's are User Specific (Pertaining to USER GROUP).
Where as Reports are Global to all, Unless you restrict them with some Explicit Authorizations.
check this link for Authorization:
Authorisation check in ABAP Query.. -
HR adhoc infoset builder - field already exists
Because of errors with a field in an HR infoset to be used by adhoc reporter (SQ01) created with transaction SQ02 (system is erp 2004) I deleted the field completely from the infoset. I am now attempting to set the field up again from scratch, but getting the error message that 'additional field with this name already exists' when I try to assign the technical field name. Field has been deleted. Is there a trick to fully deleting the field or to create the field over again? I have queries in the standard area using this field and need to re-create it with the exact same name.
thanks for any help!
ChrisHi Chris,
It seems you have posted your question in wrong Forum. This Forum is for SAP MDM.
Please post your question in a relevant Forum.
Regards,
Pooja -
hi,
sap gurus,
good afternoon toall,
what is adhoc queries ?
how it is related toreports
is there any tcode for adhoc query creation
regards,
balaji.t
09990019711Hi:
Refer to the following websites for adhoc query
http://www.insightcp.com/res_15.htm
http://help.sap.com/saphelp_nw70/helpdata/en/15/00a042b443c56ae10000000a155106/content.htm
Information Systems - Ad Hoc Reports -SQ01 - SAP Query
Please let me know if you need more information.
Assign points if useful.
Regards
Sridhar M -
How to create interactive report in SQ01
HAI EVERY ONE,
Can any one help me,
how to create interactive report using SQ01,SQ02,SQ03.
Plz explain me in details. I dont want simple report. I want to generate interactive report using SQ01. Is it possible how?
I will give u good points if it is useful.
Thanks and Regards,
V.VamsiHai,
When u create simple report using sq01 it display basiclist,Rankedlist,statistics,output sequence.
When u will use this options. That why i am asking. Actually basic list means simple report.
What about rankedlist,Statistics and outputsequence. Plz explain these things.
Thanks and Regards,
V.Vamsi -
Very Urgent..How to create a report Using SQ01 and Sq02.
Hi Friends,
It's very urgent.pl help me in generating a report using SQ01 and SQ02.
Help is appreciated.
thanks In advance.
Regards,
Nanditha.Check out these links...
http://www.insightcp.com/res_15.htm
http://www.ams.utoronto.ca/Assets/output/assets/adhoc_2990830.pdf.pdf
Also, do basic search in this forum...you will find a lot of threads related to this.
SKR -
Drilldown on Query not working for Transactions(SQ01--Report Assignments)
Hi !
I created for deliveries and through SQ01 -- Report assignment I added two
transactions VL03n And VA03. When I execute the query and double click on the
delievery number it takes me to the particular delivery clicked on in VL03n,
but when I clcik on the sales document and select the display sales document,
it does open the VA03 transaction but does not auto populate the transaction
with teh sales document that I clciked on. Could anyone please explain me why
it does not auto-populate with the sales document number , but when deliverey
is clciked it directly takes me to the particular delivery screen?
Thanks
Edited by: Rob Burbank on Jun 18, 2010 2:19 PMAny inputs/idea how to reslove this?
Thanks -
Calling report from asset query - sq01
hi experts,
I've created an asset query using ADA logical database (Tcode SQ01). I assign the asset balance report (program RABEST_ALV01) which works as drill down for asset query. When I execute the query for current year the Report date defaults to end of current fiscal year and when I call the assigned report the output is accurate. However if I change the Report date (ie to end of last FY) the drill down does not display accurately, the report date on the asset query is not passed to the report date on the assigned report. Is there a way for me to pass the report date from the query to the assigned report without coding?
thanksDepending on your requirement and environment, you have the following options:
1. Use an info spoke and make selections as you would in a query.
2. USe FM RS_VC_GET_QUERY_VIEW_DATA_FLAT to send the data to a file and your ABAP can read this file.
Ravi Thothadri -
We have a query in SQ01 that provides a listing of employees and their
IT0027 distribution accounts. Using the ABAP List as the output I have
some control over the header information. I've done things like the
report title, the username of the individual who runs it, the time and
date it was run, etc. What I've been asked to do is display the input
parameters for the report in the header.
So, if someone requested KOSTL = E991234 (the screen field is
SP$00008-LOW), then they'd like to see the header:
"Report of Employees by Distribution Account"
"For Cost Center: E991234"
When I attempt to put the field KOSTL in the header then I get the cost
center for the first employee record. So, if the user chooses more than
one KOSTL, I only get one of the cost centers to display in the header.
Clicking on the "Selections" icon provides a listing of ALL the
parameters, but I only want to display one or two of those - and I want
it in the header rather than as a separate item to click and print.
Can anyone help with coding either in the query or the infoset?
Thanks,
John
John Rich
HR Team, IRIS Administrative Support
The University of TennesseeHi
Go in FileReport Options check on Show all header on drill down.
If I understood your question wrongly, please eloborate to find the solution.
Thanks,
Sastry
Maybe you are looking for
-
Unable to do UPDATE in Oracle Form 10.1.2
Hi, I am using an LOV to query data from a master-type table. -- WHEN-BUTTON-PRESSED in button Retrieve declare l_number number; a_value_chosen boolean; begin a_value_chosen := Show_LOV('LOV_CUSTOMER'); if not a_value_chosen then message(
-
Exception while starting the weblogic10.0 server : getTransactionSupport
We are in process of migrating the application from weblogic8 to weblogic10.0. we are facing some problem while starting the weblogic server, continously getting the exception like ####<31-Dec-2008 10:36:19 o'clock GMT> <Error> <<MessagingBridge> <bl
-
JDBC Persistence Store: How to
I need to create a JMS JDBC Store in WLS9.1 which will enable me to store XML SOAP messages in SQL Server table. At the moment I intend to persist the messages as is into the JDBC store. I thinking of having the DBA to create a table with single attr
-
Properties Panel Focus / Mac?
I upgraded to CS4 yesterday in hopes Adobe had improved the Usability Features of Flash. Not so. Is it really true that you can't put FOCUS on the Property Inspector Panel in Flash CS4 with a keyboard command on the Mac? Seriously? Is there another w
-
JPanel help, i am so very noob
hey, can someone help me with Jpanel, i want to make the JPanel like a gridlayout, does anyone know how? if not, can a Jframe have like a selfcontainedframe? (just wondering, i don't ecen know if that word exists, i know jpanel has a selfcontainedpan