Lecture 16 SAP Query & QuickViewer BCO5647 Applications Programming Techniques (ABAP)
Readings & Objectives
- Objectives This lecture will
- Provide background to the SAP tools: SAP Query & QuickViewer
- Provide a practical overview of QuickViewer
- Distinguish between Basis Mode and Layout Mode when creating a QuickView
- Provide an overview of SAP Query
- Distinguish between Functional Areas and User Groups when working with queries
- Discuss the advantages of SAP Query
- Compare the features of QuickViewer and SAP Query
SAP Query & QuickViewer
- SAP Query and QuickViewer are tools that enable you to generate a report without the need to write a program.
- It is intended for users with no programming knowledge.
- The user can select the database table fields required for the report and define the formatting and type of processing.
- When the Query or QuickView is started a report generator creates a report based on the user’s field selections and format requirements.
- QuickViewer is quick and not as complex as SAP Query.
- QuickViewer is a tool for developing ad hoc reports quickly.
- Available since SAP 4.6B.
- QuickViewer uses a database table as a data source.
- QuickViewer provides interfaces to external programs such as Microsoft Word.
QuickViewer: Initial Screen
- Start the QuickViewer: menu path System Services QuickViewer
Creating a QuickView
- You must name the data source in order to generate a QuickView.
QuickViewer: Basis Mode Structure
- In Basis Mode, the screen is divided into four areas.
- You structure QuickView using two table controls.
- Select fields you want in the right table and use transfer functions to move them to the left table.
- User can produce ad hoc reports without knowledge of programming.
- Each user defines their own QuickViews which only they can display.
- No administrative effort (user groups/functional areas).
- Interfaces to external applications.
- Less functionality than SAP Query.
SAP Query & Programs: Overview
- A report can be created by a programmer using ABAP statements.
- A report can also be created by a SAP user using Query whereby the user defines the report and the Query tool generates an ABAP program to produce the report.
Organisation of SAP Query
- Controlling who can create or start a query and what data can accessed by a query is handled through functional areas and user groups.
- A functional area determines the tables (and fields of those tables) to which a query can refer.
- Functional areas are allocated to user groups.
- Users may create and start queries only if they belong to a user group.
- The System administrator manages the creating of functional areas and user groups and the allocation of users to user groups.
Creating a Query
Advantages of SAP Query
- Reports can be generated without a knowledge of programming.
- You can retrieve information from any database table or a logical database.
- Lists can be dynamically re-arranged and sorted by the end user.
- You can convert the list to a graph using the SAP graphics tool.
- You can transfer the data produced to an external spreadsheet.
- Queries have more features and admin control than QuickViews.
SAP Query Vs QuickView