query creation
Post on 07-Apr-2018
227 Views
Preview:
TRANSCRIPT
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 1/19
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
SAP Query creation and transportProcedure in ECC6
Applies to:
ECC6, For more information, visit the Enterprise Resource Planning homepage.
Summary
This article guides the how to technique for creating quick reports on any function through SAP query andthe procedure to transport them across clients. This can be very handy for beginners with no background onqueries. There are screen shots and tips to make an effective report in a short possible time. Thetransportation procedure at the end helps to be available to all the clients for the benefit of larger users. Thetechnique can be very handy during year end and quarter end audits to address the needs of the auditors.This technique requires no technical knowledge.
Author: Sridhar Vasudevan
Company: Intelligroup Inc.
Created on: 20 February 2010
Author Bio
Sridhar Vasudevan has been a Financials Consultant for the past ten years. He has servedas an audtior and finance manager before becoming an SAP consultant. He has been withIntelligroup Inc for five years. Sridhar heads a team that provides service to client on IFRScompliance. He has worked on areas of product costing, COPA, Financials, BW reportingand Real Estate Management. He has worked on industries including FMCG, Oil and Gas,Pharmaceuticals and public sector on city governance. He has successfully worked on an
upgrade project from 4.6c to ECC6 with subsequent upgrade to New GL. He is good atcross-functional reporting, utilizing various tools of SAP. Sridhar has passed the CPA
examination from New Jersey and is a Chartered Accountant from Chennai, India besides holding aBachelors degree in Commerce and Accounting from the Mumbai University. Sridhar is an active contributorat the SCN community.
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 2/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Table of Content
Learn to create reports using efficient queries. .................................................................................................. 3
Create a user group SQ03 .............................................................................................................................. 4 Create an infoset SQ02................................................................................................................................... 4 Assign additional table and link the main table ............................................................................................... 6 Include key fields and additional required fields ............................................................................................. 6 Generate the Infoset ....................................................................................................................................... 6
Assign the infoset to the user group ................................................................................................................... 8 Now create a query in SQ01............................................................................................................................... 9
Select Field group ......................................................................................................................................... 10 Remove the check box on Graphical query painter ...................................................................................... 11
Design the selection parameters. ..................................................................................................................... 12 Select the output fields .................................................................................................................................. 13 SQ01 Query is ready. Execute to test ........................................................................................................... 14 Review the output for integrity ...................................................................................................................... 15 Now the transport procedure! ....................................................................................................................... 16
Disclaimer and Liability Notice .......................................................................................................................... 19
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 3/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Learn to create reports using efficient queries.
With instructions on transport
Second, create aninfoset SQ02
Third, create a
query SQ01
First, create auser group SQ03
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 4/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Create a user group SQ03
Create an infoset SQ02
Select work area from Environment
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 5/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 6/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Assign additional table and link the main table
Include key fields and additional required fields
You would see the following screen : Save and exit
Generate the Infoset
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 7/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Ignore the following screen
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 8/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Assign the infoset to the user group
Assign Infoset to user group ZMM by clicking Role/User Group Assignment.
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 9/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Now create a query in SQ01
Since there is only one infoset assigned to this user group ZMM, it defaults ZMATDOC infoset. Else you mayhave to select your Infoset.
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 10/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Select Field group
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 11/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Remove the check box on Graphical query painter
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 12/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Design the selection parameters.
Rearrange the order of the fields by giving lower numbers to appear on the top.
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 13/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Click on Basic List to design the output
Select the output fields
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 14/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
SQ01 Query is ready. Execute to test
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 15/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Review the output for integrity
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 16/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Now the transport procedure!
SQ02
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 17/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Select Export radio button.
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 18/19
SAP Query creation and transport Procedure in ECC6
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG
Then click on Execute. This will create an internal transport request as follows. Note down the transportrequest number.
Then, once the above transport request is released and transported follow the same procedure in the targetclient, but now this time with import radio button selected. There can be restrictions on which transportrequest can be used while using Solution Manager, in such circumstances, the transport request needs to be
rebundled and included under the SolMan’s transport request.
Remember to enter the transport request number in the dataset field, at the very bottom of the screen. Alsoselect the Transport Infosets and queries radio button under transport option selection.
Happy Querying!!
8/6/2019 Query Creation
http://slidepdf.com/reader/full/query-creation 19/19
SAP Query creation and transport Procedure in ECC6
Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is notsupported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article orcode sample, including any liability resulting from incompatibility between the content within this document and the materials andservices offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of thisdocument.
top related