Upload
mkpatil
View
1.074
Download
1
Embed Size (px)
DESCRIPTION
Citation preview
Lecture 16SAP Query & QuickViewer
BCO5647 Applications Programming Techniques (ABAP)
2BCO5647
Readings & Objectives
Readings
http://help.sap.com/
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 aQuickView
Provide an overview of SAP Query
Distinguish between Functional Areas and User Groups when working withqueries
Discuss the advantages of SAP Query
Compare the features of QuickViewer and SAP Query
3BCO5647
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.
4BCO5647
Sample QuickView
5BCO5647
QuickViewer: Overview
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.
6BCO5647
QuickViewer: Initial Screen
Start the QuickViewer: menu path System Services QuickViewer
7BCO5647
Creating a QuickView
You must name the data source in order to generate a QuickView.
8BCO5647
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.
9BCO5647
QuickViewer: Summary
User can produce ad hoc reports without knowledge of programming.
Each user defines their own QuickViews which only they can display.
Uses existing data.
No administrative effort (user groups/functional areas).
Interfaces to external applications.
Less functionality than SAP Query.
No transports.
10BCO5647
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.
11BCO5647
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.
FA2 FA3
12BCO5647
Creating a Query
13BCO5647
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.
14BCO5647
SAP Query Vs QuickView