Vous êtes sur la page 1sur 23

5-ABAP.

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

List of Topics
QuickViewer Query Painter

5-ABAP.2

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Module Map
Objectives QuickViewer Query Painter

5-ABAP.3

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Learning Objectives
Use the QuickViewer tool to create a Query Create a Query using Query Painter

5-ABAP.4

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Module Map
Objectives QuickViewer Query Painter

5-ABAP.5

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

QuickViewer: Principle
Data source Structure list Execute

Field sequence Sort Selections ...

Table Database view Table join Functional area Logical database

Basis or layout mode

Save list Interface to Word, ABC analysis representation in the ALV Control and so on

5-ABAP.6

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

QuickViewer: Initial Access


Start the QuickViewer with transaction SQVI
Welcome to the QuickViewer 1. Please enter your name and select Create 2. Choose a title and comments. 3. Name a data source. It can be a table, a logical database, a join, or a functional area of the SAP query. 4. Choose layout mode to design the QuickView graphics Choose basic mode to directly export the selected fields in the report

5-ABAP.7

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Creating a QuickView
Create QuickView DEMO: Determine Data Source QuickView Title Comments DEMO Example in BC405 Join via tables SCARR and SPFLI

1. Data source: Table join

Basis...

Layout m...
This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

5-ABAP.8

Graphical Query Tools

Join Definition
INNER or LEFT OUTER link

SCARR Short ID... Name of a ... Local currency ... URL ...

SPFLI Short ID... Code... Country code Departure city Departure airport Country code Arrival city ...

5-ABAP.9

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Basis Mode: Principle Structure

Data source

QuickView Setup

Information

Online Documentation

5-ABAP.10

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Structuring a QuickView in the Basis Mode


QuickView Title Comments DEMO Example in BC405 Join via tables SCARR and SPFLI

List field selection Sort sequence List fields

Selection fields

Data source

5-ABAP.11

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Using the QuickView



5-ABAP.12

User ad hoc reports Each user defines their own QuickViews which only they can display Uses existing data No administrative effort (user group, functional area) QuickView can be converted to a SAP query Interface to internal (EIS, ABC, ALV) and external applications Less functionality than SAP Query No transports
This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Module Map
Objectives QuickViewer Query Painter

5-ABAP.13

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Programs and Query

Describe list
Query Painter Title Format Classic ... Output options Line 3 Output options Field

5-ABAP.14

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Defining a Query
Functional area Field Selection
Functional groups

Type of list
Basic list (optional) (sorting, summation) Statistics (optional, poss. multiple) Ranked list (optional, poss. multiple)

Local fields

Layout of list: Arrangement of fields Sorting, summation Output options (formats, masks, output lengths ...) Texts (headings)
5-ABAP.15
This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Selecting the Work Area and Functional Area


Queries are created either in the standard area or the global area. A query area covers a set of query objects that are internally complete and consistent - this means objects with the same name but with a different meaning can exist in the various query areas. The global and standard areas have separate namespaces.

5-ABAP.16

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Basic List: Layout Mode


Data source Structuring an SAP Query

Application information Help topics

5-ABAP.17

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Designing a Basic List


Steps for designing the basic list

5-ABAP.18

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Basic List: Control Level Processing


Data fields SPFLI Timetable Arrival time Short description Departure city Arrival city Flight conn. code Distance Flight conn. code Control level Flight number Sort direction Ascending Descending Control level header
5-ABAP.19
This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

List field 5 5

ID AA SUM...

No 0017

Departure city Arrival city NEW YORK SAN FRANCISCO

Flight number 0017

Grand total ...

Help subjects: Selection fields; Output options in list: Width of list .....

Graphical Query Tools

Interactive Functions
List overview Drilldown function Report/report interface Table display Graphics Total File storage, private storage Word processing Spreadsheets ABC analysis, EIS Selections
5-ABAP.20
This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Table Control ALV Grid Control

Graphical Query Tools

Saving Lists
Query list
List

Area menu

Save

Programs for flight data model Display flight data Programs DEMO: Read ... DEMO: Variant ... Queries One-line basic list ... + Change flight data

5-ABAP.21

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Comparison: SAP Query - QuickView


SAP Query
Several partial lists possible (statistics, ranked lists) Local fields can be added

QuickView
Only basic list

The dataset is limited to the data source BBS not available No administrative effort, since each user can only access their own QuickViews Simple, fast evaluations possible Transport not possible

Programs can be linked (BBS) Administration of query required (user groups, functional areas) Functional areas must exist Transport possible
5-ABAP.22

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Module Review
Objectives QuickViewer Query Painter

5-ABAP.23

This is PricewaterhouseCoopers PROPRIETARY MATERIAL (hereafter, the Material) intended for internal use only. You may not rent, lease or distribute the Material to clients or other third parties, but you may transfer the Material to other employees of PricewaterhouseCoopers.

Graphical Query Tools

Vous aimerez peut-être aussi