Skip to Content
Author's profile photo Former Member

Guidelines To Create Quickviewer and SAP Query

Dear All,

First i just give you a brief introduction about Quickviewer and SAP Query

Quickviewer : QuickViewer is a simple tool to design custom reports without the need for any programming.You can use it to design and run QuickViews (reports designed using QuickViewer) and export them to spreadsheets. Note that these reports are user specific and cannot be shared with other users.

SAP Query: SAP Query is another tool to create reports without any programming. Query has more features than QuickView. The main advantage is that a query can be shared with a group of users.

Now the business requirement is to create a report which consists of following tables

  • VBAP
  • VBAK
  • VBKD
  • LIKP

Here i will try to explain how to link this table in one report. you can create this special report with Quickviewer and SAP Query.


Creating reports with the quickviewer:

To access this tool, the path is SAP Menu –> Tools –> ABAP Workbench — > Utilities — > QuickViewer (SQVI)

  1. Go to tcode SQVI and  specify desired quickviewer name and create.
  2. A popup will appear than select ” table join” option in data source field and enter.
  3. Go to menu bar edit — > insert tables. maintain table name and enter
  4. If you want to insert a one more table follow the step 3.
  5. Go back and select the field which you want in available fields.
  6. finally save the record and execute.
  7. you can change the report layout by using “layout mode” push button before saving the quickviewr.


/wp-content/uploads/2012/04/22_94092.jpg

Creating reports with SAP Query:

Step 1 – Infosets:

    1. Create infosets with tcode SQ02 and specify desired infoset name and create.

    2. A popup will appear than select “table join using basis table” radio button and maintain one table name in white box

/wp-content/uploads/2012/04/23_94093.jpg.

    3. Go to menu bar edit — > insert tables. maintain table name and enter

    4. If you want to insert a one more table follow the step 3.

    5 .Go back and select ” create empty field groups” radio button on popup.

    6. select the required fields in data fields tab and drop into field groups.

    7. click on Generate button on top left.

   /wp-content/uploads/2012/04/24_94103.jpg

Step 2 – User Groups:

    8. create the user groups with tcode SQ03 and  specify desired user group name and create.

    9  enter the user group name on popup and save the group.

    10 .on the same screen click on ” assign users and info sets”

    11, enter the user names who is going to be use this particular record and click assign infosets on top left.

    /wp-content/uploads/2012/04/25_94104.jpg

    12 , select your infosetand save the user group.

Step 3 – Queries:

    13 create Query with tcode SQ01 and specify desired query name and create.

    14 select your infoset and click copy.

   15 enter the title /notes and click “Next screen (f6) button.

    16 select all your tables and click same next screen(f6) button.

   17 select all the field witch you want and again click same next screen(f6) button.

    18 select the all fields and enter. so now you can assign the number sequence to the field

   /wp-content/uploads/2012/04/26_94105.jpg

Note: The fields SV and 1Z allow you to further control the selection parameters. If you select the SV box next to a selection field, you cannot specify a range of values in the selection screen for that field (that is to say, the To Value box is suppressed). On the other hand, if you select the 1Z box, you cannot specify multiple values in the selection screen.

   19. now you can change the layout design by selecting “Basic list” button.

/wp-content/uploads/2012/04/27_94133.jpg

    20. In the selection basic list while we enter we get the above screen, which enables you to add colours to your report , and the column adjustments, etc. Do not forget to see the whole view on data fields on top left hand side so as to enter tick marks finally to select fields which should come, in what priority come etc. You also need to add header text and footer text in the above pane, which is present as push buttons.

   21 save the query and you can test the query by selecting ‘Test” button on top left.

/wp-content/uploads/2012/04/28_94134.jpg

  22.Now you are ready to generate the report depends on your selection criteria as above.

Hope you like the document.

Regards,

Patchala.

Assigned Tags

      25 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sridhar Vijjhalwar
      Sridhar Vijjhalwar

      Keep the good work going on ... I liked it.

      Author's profile photo Former Member
      Former Member

      Good one

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thank u janeet..

      Regards

      Patchala..

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thank you sridhar.....

      Author's profile photo Steve Sinclair
      Steve Sinclair

      A word of warning - although SAP Query is often described as "a tool to create reports without any programming" it needs to be remembered that in SQ02 it is possible to insert ABAP code into infosets. This creates a security risk so you need to be careful about who has access to create and maintain infosets.

      Regards

      Steve

      Author's profile photo Oleg K
      Oleg K

      To add some ABAP code please run SQ02 for your InfoSet, hit 'Change' and go to Extras

      the following picture reflects the standard technical tabs:

      Extras

      Selections

      Code

      Enhancements

      please be careful - do not build a "heavy" code here, test it step-by-step...

      good luck 😉

      p.s. i can't paste a picture (a new SCN bug??) - the Insert Image button is disabled 🙁

      Author's profile photo Former Member
      Former Member

      Good and easy steps. Helpful. Thank you.

      Author's profile photo Navaneetha Krishnan
      Navaneetha Krishnan

      Hi,

      This is a good document for the beginners. It may please be added with the following information as the tool itself is very performance intensive and critical.

      Some tips on the use of SAP Query Infosets as we dont get all the information directly from transparent tables.

      Importance of using only the key fields as selection fields. Otherwise the performance will be severely hampered.

      Not advisable for the beginners to use this tool! as it is very critical on the system performance.

      Author's profile photo Santhanakrishnan Arumugam
      Santhanakrishnan Arumugam

      Hi,

      Its really good work, hats off to you!!!

      Please keep on go head.

      Thanks a lot from all beginners side. 😘

      Author's profile photo Former Member
      Former Member

      Thanks a lot! Usefull

      Author's profile photo Former Member
      Former Member

      Useful Guide

      Thank you

      Author's profile photo Former Member
      Former Member

      Very useful. Thanks for sharing!!

      Author's profile photo Ketan Patel
      Ketan Patel

      Awesome post, really helpful. Keep it up.

      Author's profile photo Rupesh Dhiwar
      Rupesh Dhiwar

      thanks its helpful.

      Author's profile photo Abhinav Singh
      Abhinav Singh

      good one...

      🙂

      Author's profile photo venu gopal
      venu gopal

      Thanks a lot For sharing a Good Document ➕

      Author's profile photo Former Member
      Former Member

      Useful Guide !!!


      but, somebody can tell me how to put obligatory a field in selection ?


      tks


      Author's profile photo Arindam Basu
      Arindam Basu

      Thanks Patchala, for your nice document. Appreciated !

      Just a add-in, one can also add a customize t-code too for the report you created by using Quick viewer or SAP Query, which may help to get the easy access of that particular report. Go to SE93 and create t-code with the program name as generated during creation of Report and attach to that ( With 2nd option selection- Program & Selection Screen ( report transaction).  It may help user to access the report in future without going to SQVI or SQ02 t-code and directly hit the report.

      Thanks again for the nice documentation !

      Arindam.

      Author's profile photo Former Member
      Former Member

      Nice work...

      Author's profile photo Janith Nirmal Kuruwita
      Janith Nirmal Kuruwita

      Nice Post.

      Is there any way we could do a Calculation in "SQVI" ?

      Regards,

      Nirmal

      Author's profile photo Former Member
      Former Member

      Nice explanation

      Author's profile photo Former Member
      Former Member

      Good one Patchala

      Author's profile photo Sanjay Chavan
      Sanjay Chavan

      Dear Patchala,

      Great and helpful document. Thnks

       

      Author's profile photo Deepak Sharma
      Deepak Sharma

      Thanks a lot for good information for beginners

      Author's profile photo Cigil R
      Cigil R

      Thankyou