sap query creation and transport procedure in ecc6

19
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2010 SAP AG 1 SAP Query creation and transport Procedure 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 and the procedure to transport them across clients. This can be very handy for beginners with no background on queries. There are screen shots and tips to make an effective report in a short possible time. The transportation procedure at the end helps to be available to all the clients for the benefit of larger users. The technique 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 served as an audtior and finance manager before becoming an SAP consultant. He has been with Intelligroup Inc for five years. Sridhar heads a team that provides service to client on IFRS compliance. He has worked on areas of product costing, COPA, Financials, BW reporting and 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 at cross-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 a Bachelors degree in Commerce and Accounting from the Mumbai University. Sridhar is an active contributor at the SCN community.

Upload: aniruddha-jha

Post on 02-Jan-2016

31 views

Category:

Documents


6 download

DESCRIPTION

SAP Query Creation and Transport Procedure

TRANSCRIPT

Page 1: 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 1

SAP Query creation and transport

Procedure 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 and the procedure to transport them across clients. This can be very handy for beginners with no background on queries. There are screen shots and tips to make an effective report in a short possible time. The transportation procedure at the end helps to be available to all the clients for the benefit of larger users. The technique 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 served as an audtior and finance manager before becoming an SAP consultant. He has been with Intelligroup Inc for five years. Sridhar heads a team that provides service to client on IFRS compliance. He has worked on areas of product costing, COPA, Financials, BW reporting and 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 at cross-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 a Bachelors degree in Commerce and Accounting from the Mumbai University. Sridhar is an active contributor at the SCN community.

Page 2: SAP Query Creation and Transport Procedure in ECC6

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 2

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

Page 3: SAP Query Creation and Transport Procedure in ECC6

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 3

Learn to create reports using efficient queries.

With instructions on transport

Second, create an infoset SQ02

Third, create a query SQ01

First, create a user group SQ03

Page 4: SAP Query Creation and Transport Procedure in ECC6

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 4

Create a user group SQ03

Create an infoset SQ02

Select work area from Environment

Page 5: SAP Query Creation and Transport Procedure in ECC6

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 5

Page 6: SAP Query Creation and Transport Procedure in ECC6

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 6

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

Page 7: SAP Query Creation and Transport Procedure in ECC6

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 7

Ignore the following screen

Page 8: SAP Query Creation and Transport Procedure in ECC6

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

Assign the infoset to the user group

Assign Infoset to user group ZMM by clicking Role/User Group Assignment.

Page 9: SAP Query Creation and Transport Procedure in ECC6

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 9

Now create a query in SQ01

Since there is only one infoset assigned to this user group ZMM, it defaults ZMATDOC infoset. Else you may have to select your Infoset.

Page 10: SAP Query Creation and Transport Procedure in ECC6

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 10

Select Field group

Page 11: SAP Query Creation and Transport Procedure in ECC6

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 11

Remove the check box on Graphical query painter

Page 12: SAP Query Creation and Transport Procedure in ECC6

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 12

Design the selection parameters.

Rearrange the order of the fields by giving lower numbers to appear on the top.

Page 13: SAP Query Creation and Transport Procedure in ECC6

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 13

Click on Basic List to design the output

Select the output fields

Page 14: SAP Query Creation and Transport Procedure in ECC6

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 14

SQ01 Query is ready. Execute to test

Page 15: SAP Query Creation and Transport Procedure in ECC6

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 15

Review the output for integrity

Page 16: SAP Query Creation and Transport Procedure in ECC6

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 16

Now the transport procedure!

SQ02

Page 17: SAP Query Creation and Transport Procedure in ECC6

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 17

Select Export radio button.

Page 18: SAP Query Creation and Transport Procedure in ECC6

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 18

Then click on Execute. This will create an internal transport request as follows. Note down the transport request number.

Then, once the above transport request is released and transported follow the same procedure in the target client, but now this time with import radio button selected. There can be restrictions on which transport request 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. Also select the Transport Infosets and queries radio button under transport option selection.

Happy Querying!!

Page 19: SAP Query Creation and Transport Procedure in ECC6

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 19

Disclaimer and Liability Notice

This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported 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 or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.