SAP Query Tool Exercise
SAP Query Tool Exercise
SAP Query Tool Exercise
Basis - The database and supporting platform for the SAP applications is called Basis. ABAP - Advanced Business Application Programming (ABAP) is the programming language developed by SAP for its numerouse applications. Client - In SAP a client is not a customer. An installation or instance of SAP is referred to as a client. It represents a single business entity but that entity may be a multinational corporation with several subsidiary companies. Transaction code SAP assigns a transaction code to label each user interface (one or more screens). For example, VA01 is the create sales order transaction code.
InfoSet This is a subset of columns from base tables or a logical database. Custom queries are built from InfoSets.
Query group A user that creates custom queries creates a user group and includes any user accounts that can use these custom queries. For example, you might create a user group for everyone in your department so they can use the queries you build.
Check the option to display technical names. Click the checkmark, a.k.a Continue or Enter.
Global (client-independent)
3. Create an InfoSet.
4. Assign InfoSet to the query group. 5. Create query using the InfoSet.
Naming convention:
Include yourself in the query group (your SAP user account) and add the other user accounts for this company (config_$2 config_$8). Click the Save icon.
NOTE: You can transport an InfoSet from the global area to the standard area, if needed.
In the search dialog box, type sflight for the table name and click Continue.
Select the first logical database (F1S) and click Continue. You can expand/collapse the tables shown in the left frame to see the fields in each table.
NOTE: The airline flight tables were created by SAP to use in training.
See the next page for the list of fields to include and which field group to include them in.
Click the Save icon. Select Local Object when prompted. Click the Generate button (red & white ball).
3.
NOTE: You can transport an InfoSet from the global area to the standard area, if needed.
Check the field groups to include then move to the next screen.
Select fields to include in the query output. Move to the next screen.
Basic List Line Structure: Enter line #s, sequence #s and check totals, as shown.
The fields you checked in the selections screen appear in the initial query screen. This screen is use to filter output based on criteria you enter. Enter the data shown.
Similar to MS Access and SQL Developer query output, you can change the sort order and add additional filter criteria.
Another InfoSet - 1
Create a new InfoSet. The name should start with z and have your NMSU ID.
When prompted add a title and add a basis table, not a logical database. Table VBAP is for items listed in sales orders.
Another InfoSet - 2
You see the table shown in a graphical layout.
Add another table by clicking the icon the cursor points to.
Add: VBAK
Click the InfoSet button.
Another InfoSet - 3
Select Create empty field groups.
Select fields for the field groups. Be sure to select the field group on the right before selecting fields on the left. For Item Data, theres a long list of fields on the left. Youll have to comb through these to find the fields shown on the right.
Dont worry about the order. Only add fields to one field group.
Another InfoSet - 4
Generate the Infoset.
Run the query. Hit F8. The initial screen allows filtering criteria. Enter one product number based on your companys letter.