Instruction Guide - EntryPoint Consulting
Transcription
Instruction Guide - EntryPoint Consulting
Instruction Guide Creating a SQVI Custom Report in GTS This guide will demonstrate the process of creating a custom report in GTS using transaction SQVI. The report will join four GTS tables: /SAPSLL/PNTPR – this is the GTS product master /SAPSLL/PRCTS – this is where the numbering schemes are stored /SAPSLL/CTSNUM – this is the where the classification numbers are stored /SAPSLL/CTSNUMT – this is where the text objects for the classification numbers are stored The objective of this report is to generate a report that will display any and all of the text objects associated with a product’s classification number using any classification numbering scheme. After logging into GTS, enter transaction SQVI, or from the SAP Menu path, follow: SAP Menu→Tools→ABAP Workbench→Utilities→SQVI QuickViewer In the initial screen, enter a “QuickView” name for your report and click Page 1 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS Enter a title for your report. In this example, “Product Classification Texts” Choose “Table Join” in the dropdown menu as the Data Source Choose “Layout Mode” and the green check to continue Page 2 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS This is the initial screen where the table joins are made. The “Navigation” block can be dragged and dropped anywhere on the screen. You are now ready to add the first table. Click to insert the first table. Enter the product master table and click the green check to continue. If you don’t know the table, you can do the standard search by clicking the icon. Page 3 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS The /SAPSLL/PNTPR table is now visible. Add the second table by clicking . Click the green check to continue. Page 4 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS The second table appears now. Notice that the system has already proposed a link, or “join”. This link will not work, however. Remember, the links between two tables must be identical. “GUID_PR” does not equal “GUID_PRCTS”. However, there is a “GUID_PR” entry in table /SAPSLL/PRCTS. This is where the link between /SAPSLL/PNTPR and /SAPSLL/PRCTS mu st occur. Click anywhere on the connector line. Page 5 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS Drag and drop the right red box connector down to “GUID_PR” This join is now valid. Add the third table by clicking . …and the fourth table Page 6 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS Here you can see that the four tables are joined, each connected with a common denominator between them. You can validate the joins by clicking . The system will validate the joins and return the following message Next, click the back arrow to choose the fields for selection. Page 7 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS This is the design view for SQVI. For each table, you will need to select fields available for input (as a “Selection Field”) and those fields that will be displayed (as a “List Field”). First, make the selections from the product master table, /SAPSLL/PNTPR Page 8 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS In the report, we want to not only display the material number, but also make it a selection field. The report should also be executable on the classification numbering scheme. Make this selection under the options for table /SAPSLL/PRCTS. Page 9 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS For the classification number, we only want to display the classification number rather than make it an input field. Finally in table /SAPSLL/CTNSNUMT, we want to make the text type as both a list item and a selection item. The actual “text” will only be displayed in the report. Page 10 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS The report is now ready to execute. Click to continue. Looks just like an ABAP report, right? Enter a classification numbering scheme in the “Numbering Scheme for Customs” field. Page 11 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS Choose the text type to display. In this example, we will display both the official description and the commercial description. Choose the multiple entry key Select text types “A” and “B” Page 12 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS Click the execute icon to continue. For an ALV grid view, select “SAP List Viewer”. Execute the report. Page 13 of 14 11/11/2011 EntryPoint Consulting, LLC Instruction Guide Creating a SQVI Custom Report in GTS The report displays both the official description “A” and the commercial description “B” for side -byside comparisons. Make modifications to your report by experimenting with different fields. The standard SAP layout and reporting functions are included within SQVI, including layouts, and a download function with . Make sure you save your custom report! Page 14 of 14 11/11/2011 EntryPoint Consulting, LLC