Académique Documents
Professionnel Documents
Culture Documents
Sandun Sulakshana
Contents
Difference between ABAP report and SAP query report .............................................................................. 1 Difference between Query quick Viewer (SQVI) and SAP query builder for User groups (SQ01/SQ02/SQ03) ....................................................................................................................................... 2 Generating a query using SQVI (QuickView)................................................................................................. 2 Creating QuickViews ..................................................................................................................................... 2 Selecting a Data Source................................................................................................................................. 3 Selecting List Fields ....................................................................................................................................... 4 Determining the Sort Sequence .................................................................................................................... 5 Selecting Selection Fields .............................................................................................................................. 5 Headers and Footers ..................................................................................................................................... 6 Colors ............................................................................................................................................................ 7
Page 1
Difference between Query quick Viewer (SQVI) and SAP query builder for User groups (SQ01/SQ02/SQ03)
SQVI and SQ01 are similar but not the same. Both have the same basic join functionality. SQ01 is a saved query which allowing to be accessed by different users, SQVI can only access by the user who wrote the query. (Need to transport for public access) SQ01 allows for additional fields to be defined and populated, SQVI only allow for the use of fields already defined in the tables. SQ01 will automatically bring in text descriptions (such as item description or customer name) when using fields that would have a text field associated, SQVI did not. SQVI is a great learning tool, but SQ01 is much more powerful.
Creating QuickViews
To create a QuickView, proceed as follows: 1. 2. 3. 4. 5. Call the QuickViewer using System Services QuickViewer (or transaction SQVI). Enter the name of the QuickView. QuickView names can contain a maximum of 14 characters. Choose Create: Enter a title for the QuickView and remarks but it is only mandatory for title. You do not have to base your list upon a table. Use the possible entries in the Data source field to select another data source. You may choose logical databases or Info set. In addition, you may also create table joins. Choose Basis mode if you want to create the list directly with no list design. Choose Layout mode if you want to define list layout yourself.
6.
Page 2
Page 3
Multiple tables can be linked together to form a join. The result set is a table, each of the lines of which contains all the fields of all the tables used in the join. Hierarchical relationships between tables cannot be analyzed using a table join. Table joins must be defined before beginning with QuickView construction.
Page 4
Page 5
Function: Abbreviation: Description: &%NAME &N Name of the user processing the query &D Current date &%TIME &T Current time &%PAGE Current page number (6 characters) &%P &P Current page number (3 characters)
Page 6
Colors
You can use colors in lists to highlight specific information. Select a color from the appropriate toolbox and drag it to the line you want (not to a list field). This line is now displayed in that color.
Page 7