Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Lecture16 abap on line

1,129 views

Published on

Published in: Technology
  • Be the first to comment

Lecture16 abap on line

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

×