Quantcast
Channel: SCN : Document List - Enterprise Resource Planning (SAP ERP)
Viewing all articles
Browse latest Browse all 131

How to Download and Upload SAP Queries,Infosets and User Groups to another client or System[QAS,PRD]?

$
0
0

How to Download and Upload SAP Queries,Infosets and User Groups to another client or System[QAS,PRD]?

 

Downloading SAP Queries,Infosets and usergroups could be a bit daunting at first,but nevertheless it is quite a useful skill to have in your arsenal. SAP Queries can be divided into 2 parts called work areas:

(a)Standard Area(client-specific)

(b)Global Area(cross-client)

 

Any query created in the standard area is available to a particular client in the sap system. For instance in the Development system with client 100.

Any Query created in the Global Area is available across all clients of given system. For instance in the Development system,which has clients 100,200,300 etc.

Most of the SAP Standard Queries available under 'Information System' nodes belong to the Global Area,which usually used for SAP created Query Reports. Most custom SAP Query reports are created in the Standard Area.

 

The following steps would be required in order to download and upload SAP Queries:

 

01 - Identifying the list of reports to be downloaded(T-code = SQ01):

> To seek out all queries relevant to your user group first enter in the transaction 'SQ01' in the command field.

> use the menu path:

        Environment > Query Areas > Standard Area(client-specific)

> Now click the other user group button[ ico_Other User groups Button icon.png  ] on the extreme left of the application toolbar or use the key board shortcut of 'Shift + F7'.

Clicking it will bring in all user groups associated with the the selected area and select your specific user.

> Once the user group has been selected it brings in all the Queries created by your specific user group.

 

01 - Finding list of SAP Query Reports to be downloaded using SQ01
01_Finding_listof_SAP_Query_reports_tobe_downloaded_using_SQ01.png

 

 

> Copy the names of all the reports that you want to download,by selecting one of the columns and pressing the 'Ctrl + Y' shortcut to select values of a specific column. ideally copy and paste them in an excel sheet.

> Also copy the names of the infosets for the reports to be downloaded,by following the same procedure as carried out by copying the names of the reports.

 

02 - Finding list of SAP Query infosets to be downloaded using SQ01
02_Finding_listof_SAP_Query_iinfosets_tobe_downloaded_using_SQ01.png

 

 

[NOTE]:

> First download the user groups,associated with the Queries and Infosets.

> Secondly download the Infosets

> Lastly,download the relevant queries.

> Do keep in mind that all infosets associated with the reports must also be downloaded.

> In SQ01,you can also find the name of the infoset associated with it as well. Which is shown in the form of an alv like list,once you have selected your user group,as mentioned above.

> Do remember the work area in which you have created your user group(Standard Area or Global Area),as all queries are associated with your usergroup,and if the correct work area is not selected,the list of queries associated with it won't be shown.

 

For finding the list of all SAP Queries associated with an Infoset:

> There is a query mechanism in SQ02,that allows you to fetch all the reports associated with a particular infoset. Right click the infoset name and choose the 'Queries for Infoset' option,this will show a list of SAP Query reports that are using this selected infoset.

 

 

03A-For finding SAP Queries associated with a given infoset in SQ02
03A_For_finding_SAP_Queries_associated_with_a_given_infoset_in_SQ02.png

 

 

03B-SAP Queries associated with a given infoset in SQ02
03B_SAP_Queries_associated_with_a_given_infoset_in_SQ02.png

 

 

02 - Procedure for Downloading Usergroups, SAP Query Reports and Infosets:

There are two ways in which you can download Usergroups,SAP Queries and Infosets:

(A)Using the transaction SQ02 and using the menu path:

     Environment > Transports


 

04A - Menu Path for downloading Sapquery and SAP Infoset
04A_menu_Patha_for_downloading_sapquery_and_SAP_Infoset.png


 

                                                  [OR]

 

you can open a program named 'RSAQR3TR' in transaction 'SE38'(ABAP Editor),by copying this name and pressing the 'F8' key to execute this program.

 

04B - SAP Standard Program downloading Sapquery and SAP Infoset[Alternate]
04B_SAP_Standard_Program_downloading_sapquery_and_SAP_Infoset[Alternate].png

 

 

This will bring the 'SAP Query Transport Tool',a utility for performing transports of mentioned objects.

 

> In the 'Transport Action Selection' area,select the 'Download' radio button. Next check the

'Overwriting allowed(only with import/upload/copy)' checkbox. Finally uncheck the 'Test run' checkbox in this area. If you want to transport variants created by the users as well,you can check one of the query variant option checkboxes.

 

> Now in the 'Transport Option Selection' area,select the radio buttons based on the following sequence as mentioned before:

 

(A)User Group

Select the 'Transport user groups' radio button,in the 'Import Option' field enter in 'REPLACE' and in the 'user groups' field,enter in one or more user groups to be downloaded.

 

04C(1A) - Downloading User Groups
04C(1A)_Downloading_UserGroups.png

 

04C(1B) - Usergroup Download Log
04C(1B)_Usergroup_Download_Log.png

 

(B)Infosets

Select the 'Transport Infosets' radio button,in the 'Import Option' field enter in 'REPLACE' and in the 'Infosets' field,enter in one or more Infosets to be downloaded.

 

 

04C(2A) - Downloading an Infoset
04C(2A)_Downloading_Infoset.png

 

04C(2B) - Infoset Download Log
04C(2B)_Infoset_Download_Tag.png

 

(C)SAP Queries

Select the 'Transport queries' radio button,in the 'Import Option' field enter in 'REPLACE' and in the 'Usergroups' field,enter in one or more usergroups and in the 'Queries' field.

 

04C(3A) - Downloading SAP Query
04C(3A)_DownloadingSAPQuery.png

 

04C(3B) - SAP Query Download Log
04C(3B)_SAPQuery_Download_Log.png

 

You will need add in the list of all User groups, Infosets and SAP Queries names already copied in the first step in an excel sheet. Just copy and paste each of them in their respective fields.

 

> Finally,once you have provided the selection criteria above,click the execute button,which will prompt you to download the provided SAP Queries and Infosets into an archive file with no extension. Do keep in mind that this archive will be used for uploading  these on a target  client.

[NOTE]:

> In case you don't see the topmost set of radio buttons for downloading or uploading SAP Query related objects via the menu path mentioned above in transaction SQ02,you can use the program version of the Download utility(RSAQR3TR).

 

03 - Procedure for Uploading Usergroups, SAP Query Reports and Infosets:

The method for uploading all query related objects  to the target system or client,uses the same mechanism as that of downloading these objects. The only difference is that you will need to select the 'Upload' radio button in the 'Transport Action Selection' area in the SAP Query Transport tool. For accessing the SAP Query Transport tool through two different mechanisms,please the refer the section '02 - Procedure for Downloading Usergroups, SAP Query Reports and Infosets'  in this document. For User groups you will need to provide the User group name,for Infosets you will need to provide infoset names and finally for Queries you will need to provide usergroup name as well as the SAP Query names in the fields provided. When you execute the Transport utility by pressing the 'Execute' button [or] pressing the F8 key,you will be prompted to provide the file name for the given object which you would like to upload to. Do remember that you need to log into the target system to complete it.

 

(A)User Group

 

05(1A) - Uploading User Groups
05(1A)_Uploading_UserGroup.png

 

05(1B) - Usergroup Upload Log
05(1B)_Upload_Log.png

 

 

(B)Infoset

 

05(2A) - Uploading an Infoset
05(2A)_Uploading_Infoset.png

 

05(2B) - Infoset Upload Log
05(2B)_Infoset_Upload_Log.png

 

 

(C)SAP Query

 

05(3A) - Uploading SAP Query
05(3A)_Uploading_SAP_Queries.png

 

05(3B) - SAP Query Upload Log
05(3B)_SAPQuery_Upload_Log.png

 

and finally if all the steps have been successfully followed,you will find them uploaded to any of the targeted systems. In my case,on QAS server. See the screenshot below.

 

06 - SAP Query Successfully Transported to QAS
06_SAPQueryReports_Uploaded_to_QAS(Final).png

 

I have also attached the sample sap user group,infoset and queries backup as were demonstrated throughout this document. These could found individually attached with the following names 'z_sap_queries.zip','zfj_infoset.zip' and 'zfj_usergroup.zip'. Just extract each of them to upload them via SQ02.

 

Some Caveats for SAP Query Uploads to Work:

> Lets say you have not added a user(An SAP User) to a user group from where you want to access you sap query related objects. You should add it in the SAP User group from the SQ03 transaction.

 

> Make sure that all SAP Queries have been re-generated and they don't have any errors. These could be achieved by first selecting the SAP Query in SQ01 and going to the menu path:

     Query > More Functions > Generate Program

 

Secondly,you can also adjust your query to reflect newer changes in the SAP Info set associated with it. This can be achieved by going to the menu path:

     Query > More Functions > Adjust

 

Do keep in mind that if there are any errors in you SAP Query objects,they wont be uploaded successfully to the targeted system.

 

[NOTE]:

> These caveats should be followed on the Source Client on which you have created all your SAP Query related objects.

 

Legal

Fahad Javed's Copyrights

All Screen Shots taken,Fahad Javed's Logo are copyrights © 2010-2013 Fahad Javed. All Rights Reserved.

All the material written is a labour of hardwork carried out by the author. Kindly don't copy this material for commercial purposes. If a link is provided do provide the accredition to the author as follows:'© 2010-2013 Fahad Javed. All rights reserved.'.

All the terms used are copyrights of SAP AG  © 2013 SAP AG. All rights reserved. See the section 'SAP - Copyrights and Trademarks' for further details.

 

SAP - Copyrights and Trademarks

© 2013 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

Microsoft, Windows, Excel, Outlook, PowerPoint, Silverlight, and Visual Studio are registered trademarks of Microsoft Corporation.

IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, z10, z/VM, z/OS, OS/390, zEnterprise, PowerVM, Power Architecture, Power Systems, POWER7, POWER6+, POWER6, POWER, PowerHA, pureScale, PowerPC, BladeCenter, System Storage, Storwize, XIV, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, AIX, Intelligent Miner, WebSphere, Tivoli, Informix, and Smarter Planet are trademarks or registered trademarks of IBM Corporation.

Linux is the registered trademark of Linus Torvalds in the United States and other countries.

Adobe, the Adobe logo, Acrobat, PostScript, and Reader are trademarks or registered trademarks of Adobe Systems Incorporated in the United States and other countries.

Oracle and Java are registered trademarks of Oracle and its affiliates.

UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.

Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems Inc.

HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.

Apple, App Store, iBooks, iPad, iPhone, iPhoto, iPod, iTunes, Multi-Touch, Objective-C, Retina, Safari, Siri, and Xcode are trademarks or registered trademarks of Apple Inc.

IOS is a registered trademark of Cisco Systems Inc.

RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl, BlackBerry Torch, BlackBerry Storm, BlackBerry Storm2, BlackBerry PlayBook, and BlackBerry App World are trademarks or registered trademarks of Research in Motion Limited.

Google App Engine, Google Apps, Google Checkout, Google Data API, Google Maps, Google Mobile Ads, Google Mobile Updater, Google Mobile, Google Store, Google Sync, Google Updater, Google Voice, Google Mail, Gmail, YouTube, Dalvik and Android are trademarks or registered trademarks of Google Inc.

INTERMEC is a registered trademark of Intermec Technologies Corporation.

Wi-Fi is a registered trademark of Wi-Fi Alliance.

Bluetooth is a registered trademark of Bluetooth SIG Inc.

Motorola is a registered trademark of Motorola Trademark Holdings LLC.

Computop is a registered trademark of Computop Wirtschaftsinformatik GmbH.

SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, SAP HANA, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.

Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company.

Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase Inc. Sybase is an SAP company.

Crossgate, m@gic EDDY, B2B 360°, and B2B 360° Services are registered trademarks of Crossgate AG in Germany and other countries. Crossgate is  an SAP company.

All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.


Viewing all articles
Browse latest Browse all 131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>