Enter word you want search.

วันพุธที่ 4 พฤศจิกายน พ.ศ. 2552

Chapter 5. Creating QuickViews by Using QuickViewer



Understanding QuickViewer

Unlike the SAP Query tool, which is a complete reporting solution tool, the SAP QuickViewer tool, delivered with SAP version 4.6 and above, is a WYSIWYG (what you see is what you get) utility for quickly collecting data from an R/3 system. To define a report by using the QuickViewer, you simply enter texts (titles) and select fields and options to define the QuickView. With this tool, you create QuickViews, not reports. Users cannot share QuickViews as they can reports, but they can convert QuickViews to reports to use them with the SAP Query tool.

Like the other Query tools, the QuickViewer allows you to define reports without having any technical or programming knowledge. The QuickViewer is especially useful for new users and occasional system users. The QuickViewer is basically a single-screen version of the SAP Query tool. Although QuickViews are user dependent, you can convert a QuickView into a SAP Query report to make the information available to others.

QuickViews have the same functional attributes as queries. However, there are a number of differences between QuickViews and queries created using the SAP Query tool:
  • Basic lists QuickViews can define only basic lists, as opposed to the multiple-line queries and ranked or statistical lists that the SAP Query tool can create.
  • Security Security initial setup is simpler in the QuickViewer than in the SAP Query tool because no query group assignment is necessary with QuickViews.
  • User dependency Each user has his or her own personal list of QuickViews, and unless they are converted to SAP queries, QuickViews cannot be shared or exchanged among users.
  • Data source Unlike with the SAP Query tool, with the QuickViewer, you are not required to use an InfoSet. When you define a QuickView, you can specify its data source dynamically. You can use tables, database views, table joins, logical databases, and even InfoSets as the data sources for QuickViews.
  • Modes A similarity between the SAP Query tool and the QuickViewer is that each provides two modes for designing reports: a standard mode (called Basis mode) and a graphical mode (called Layout mode).
The QuickViewer emulates the SAP Query reporting tool on a single screen. It is divided into three major sections:
  • The top left lists the tables and data fields contained in the data source.
  • The bottom left is the Help application.
  • The right side of the screen is the QuickViewer main screen, where you design a QuickView. The main screen section has three tabbed sections that you use to specify a QuickView.
Creating a QuickView by Using QuickViewer

Creating a QuickView by using the QuickViewer tool is simple. You just follow these steps:

1. Navigate to the main screen of the SAP R/3 QuickViewer by using transaction SQVI (see Figure 5.1). (You can also open the QuickViewer's main screen by clicking the QuickViewer button on the main screen of the SAP Query tool or by choosing an application-specific role from the Easy Access menu.)


Figure 5.1. The main screen of the QuickViewer reporting tool looks very similar to the main screen of the SAP Query tool.


2. On the main screen, enter a name for your QuickView (for example, QUICKVIEW_1) and then click the Create button. A dialog box appears, asking you to select your data source (see Figure 5.2).


Figure 5.2. The selection of a data source at design time mirrors the process of creating a data source during configuration.


3. On the Create QuickView: Choose Data Source dialog box, insert a title (for example, Sample QuickView) and, if desired, insert comments (for example, the date it was created).

4. Identify where your data is coming from by selecting an option in the Data Source field (for example, a logical database). When you select a data source, the bottom of the screen changes to show suboptions specific to the data source (for example, a specific logical database). For this example, enter the logical database Flight Scheduling System (f1S).

5. At the bottom of the dialog box, choose to create the QuickView in Basis mode. When you are done making entries and selections in this dialog, click the green arrow Enter button.

6. Select the first tab on the main screen, the List Fld. Select tab, which lists the output fields. Select any fields on the right side of the screen, listed in the Available Fields grouping, by selecting the gray keys to the left of the field names, and then click the left-pointing single-arrow button between the two groupings. To move all fields in the data source so that they will be included in your report output, click the left-pointing double-arrow button (see Figure 5.3).


Figure 5.3. You indicate what fields you want to be output in your QuickView by using the Fields in List column section of the main screen.


7. Select the second tab, Sort Sequence, to dictate the sort order for the selected fields (see Figure 5.4). Indicate a desired order by selecting fields on the right side of the screen, in the Available Fields grouping, and then click the left-pointing single-arrow button between the two groupings. The selected fields appear in the Fields in List column, in the order in which they were selected. Use the radio buttons to the left of the fields to specify that you want the field to be sorted in ascending or descending order.

Figure 5.4. You can sort in ascending or descending order.


8. Select the third tab, Selection Fields, to indicate what fields to include on the QuickView's selection screen upon execution (see Figure 5.5). (Note that some fields already exist, as indicated by a lock icon, based on designations in the logical databasef1S in this caseselected for the QuickView.) Select fields on the right side of the screen, in the Available Fields grouping, and then click the left-pointing single-arrow button between the two groupings. The selected fields appear in the Selection Fields column. For example, Figure 5.5 shows that the Flight Class field has been added.

Figure 5.5. You can add fields to the selection screen to specify particular data upon execution.

9. Select the fourth tab, Data Source, to confirm that the QuickViewer is using the correct data source for this QuickView (see Figure 5.6).

Figure 5.6. You can display the details of your data source by clicking the Display button.


10. Note in the middle of the screen that you have different export options for the QuickView. SAP List Viewer is the default, but you can select a different option from the Export As drop-down box.
11. Click the Execute button on the Application toolbar to view the report's selection screen. If needed, further specify your selections on the selection screen.

12. Click the Execute button to see your completed QuickView, which should look similar to the QuickView shown in Figure 5.7.


Figure 5.7. The QuickView output looks similar to the output of an SAP query.


Modifying a QuickView

After you create a QuickView, only you have access to it, because it is user-dependent (unless you convert it to an SAP query). However, you can return to an existing QuickView and make changes by following these steps:

1. Navigate to the main screen of the SAP R/3 QuickViewer by using transaction SQVI. (You can also open the QuickViewer's main screen by clicking the QuickViewer button on the main screen of the SAP Query tool or by choosing an application-specific role from the Easy Access menu.)

2. Select an existing QuickView from the list (or type in its name) and then click the Change button. The QuickViewer: Initial screen appears.
3. Make any required changes to the QuickView.

4. Save your changes by clicking the Save button on the Application toolbar.


Using QuickViewer in Layout Mode

As mentioned earlier in this chapter, you can use the QuickViewer in Basis or Layout mode. Layout mode provides a graphical representation of the QuickView. To see a QuickView in Layout mode, follow these steps:
1. Navigate to the main screen of the SAP R/3 QuickViewer by using transaction SQVI. (You can also open the QuickViewer's main screen by clicking the QuickViewer button on the main screen of the SAP Query tool or by choosing an application-specific role from the Easy Access menu.)
2. Select an existing QuickView from the list (or type in its name) and then click the Change button. The QuickView main screen appears.

3. Select Goto, Layout Mode (or press F5). The screen displays graphically, as shown in Figure 5.8.


Figure 5.8. The QuickView output looks similar to the output of the SAP Query tool when displayed in Layout mode.


Converting a QuickView to a SAP Query
As mentioned earlier in this chapter, QuickViews are user-dependent, and other users cannot use them. If you have created a QuickView and you want to share it with others or add to it functionality that is not supported by QuickView, you can convert the QuickView to an SAP query. To do so, follow these steps:

1. Navigate to the main screen of the SAP R/3 Query tool by using transaction SQ01.

2. Select Query, Convert QuickView. A Convert QuickView dialog box, like the one shown in Figure5.9, appears. The very first alphabetical QuickView you have created appears in this dialog, as does your username.


Figure 5.9. All the QuickViews you have created are listed in the QuickView drop-down box.


3. Click the green check mark Enter button. New fields appear on the dialog box (see Figure 5.10). Enter a name for your SAP query. Your assigned query group is listed here as the default query group.

Figure 5.10. You must input a name for your converted QuickView and declare an InfoSet.


4. If the QuickView you want to convert was created using a logical database, a table, or a table join, input your choice for the InfoSet. The InfoSet is then generated automatically. Recall from Chapter 2 that the SAP Query tool's functionality is based on InfoSets. To be able to proceed in the SAP Query tool, you must define an InfoSet (data source) for this query.

5. Click the green check mark Enter button. Your QuickView is now in your list of SAP queries.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น