Workshop Objectives At the completion of this workshop you will be able to: Review the extended Help system available in SAP Create a customised user menu Define default values for a d
Trang 1ERP Administration
Trang 2Workshop Objectives
At the completion of this workshop you will be able to:
Review the extended Help system available in SAP
Create a customised user menu
Define default values for a data entry screen
Investigate one of the development tools in SAP – Runtime analysis
Review data in the SAP R/3 Repository
Review the structure of a Logical Database
Use the ABAP Development Workbench
The Help System
The HELP system included with SAP is extremely detailed – in addition to providing information to the user on how to run the system, it also provides technical information for the developer or programmer You will now examine some of the features of this extended Help
1 Type /nSU3 in the Command Field on the Standard Toolbar
The Maintain User Profile Screen will be displayed
Review the default values for your profile
2 On the Menu Bar, choose System => Status to view the System Status screen Look at
the Transaction field to confirm that this is indeed transaction SU3
What are the values of the following Basis properties ?
Client
Component Version
Operating System
Database System
/nSU3
Trang 33 Click on the „Client‟ field label and press F1 The Help screen will be displayed
Select the Technical Information button to see some useful information
What is the name of the current program ?
What table (Structure) does this field belong to ?
4 Close the current window and select the Application Help button
This will display the Hypertext help on the R/3 system
How often may a user change their password ?
5 Close the Help windows then click or to return to the SAP standard menu
Customised User Menus
End users in SAP will typically only use a small number of screens as part of their daily job routine (10 – 20 screens) Instead of navigating through the standard menus each time, it may
be easier to set up a customised menu for each user, containing only the transactions he or she needs (or is allowed to use)
6 From the Menu Bar choose Favorites => Insert Folder
7 Enter the file name “Manufacturing Menu” and press <ENTER>
The new folder will be added to your “Favorites” menu
8 Select the new folder and then choose Favorites => Insert Transaction
9 Enter transaction code MM01 and press <ENTER>
The “Create Material” transaction will be added to your menu
10 In the same way add the following transaction codes to the Manufacturing Menu:
ME22 Change Purchase Order
CR03 Display Work Centre
MB1A Goods Withdrawal
MK01 Create Vendor
Trang 4Your Favorites menu should now look like:
If the sequence of transactions is different to that shown, you can rearrange them using the
and buttons on the Applications Tool Bar Try it !
11 Now create another folder on the same level as the Manufacturing Menu Call this folder
“Accounting Menu”
12 You can also add transactions to your Favorites menu by “dragging” them from the SAP
standard menu Navigate through the standard menu as follows:
Accounting => Financial Accounting => General Ledger => Master Records => G/L Accounts => Individual Processing => in Chart of Accounts
Drag this transaction onto your Accounting Menu folder
13 Add another two or three Accounting Transactions to your Favorites menu until it looks
something like this (you can use any transactions):
14 Test out each of the options on your new menu
Trang 5Defining Default Values
If a user always enters the same value in a particular field on a screen, it may be possible to save time by defining a default value for that field In this way the field will always have that value when the screen is initially displayed
15 Type /nVD02 in the Command Field on the Standard Toolbar
The Change Customer : Initial Screen is displayed
16 Select the label and press F1 to get help for this field
17 On the Help screen click on the Technical Info button
Write down the Parameter ID of this field
18 Close the Help windows then click or to return to the SAP standard menu
19 From the Menu Bar, choose System => User Profile => Own data
20 Enter the parameter ID from the previous step on the Parameters tab Give the
parameter id a value of UE00
21 Save the data
22 Go to the Change Customers screen using the Command Field as before Note the new
default value of the Sales Organization field
23 Click or to return to the SAP standard menu
/nVD02
Trang 6Runtime Analysis
A particular SAP transaction, especially one written „external‟ to the SAP system, may suffer from performance problems ie The time taken to complete the transaction is unacceptably long The Basis system provides some tools to help determine what is causing the poor performance
24 Type /nSE30 in the Command Field on the Standard Toolbar
The ABAP Runtime Analysis: Initial Screen is displayed
We will use a small demonstration transaction, TZ50
This is a program, which displays data from the flight booking system in the IDES database
25 Type the transaction code, TZ50, into the transaction field
26 Click Execute The initial screen will be displayed
/nSE30
Trang 727 Type Airline carrier LH and Flight number 0400
28 Click on the Display button
29 The flight details will be displayed Click twice to return to the Runtime Analysis
screen Now click on the button to perform the program analysis
The Runtime Analysis Evaluation: Overview screen is displayed
This screen shows the total program execution time broken down into separate
components : ABAP program code, Database access and Basis overheads
We will investigate some other features of this screen
30 Click on the hit list button on the Applications Tool bar
The Hit List screen is displayed
31 Select TZ50 from the list of Calls
32 Click on the Display Source Code button
The ABAP source code for that part of the transaction is displayed
33 Click or to return to the SAP standard menu
Trang 8R/3 Repository
The Repository is where all the “objects” used by SAP are stored These objects include
programs, reports, screens, tables and queries You will now examine some of these objects
34 From the SAP Standard menu, choose:
Tools => ABAP Workbench => Overview => Information System
You will now see a menu for the Repository Information System
35 Choose Business Engineering => Data Modelling => Data Models
A Data Model is a graphical representation of a set of related data tables that are used to store the information used in the SAP system
The Selection screen is displayed
36 In the Data Model field enter BC_TRAVEL and press the button (F8)
The Data models selection screen is displayed
37 Select BC_TRAVEL and click on the “Display” button on the Application Toolbar
The Display Data Model : Definition screen is displayed
Trang 9You can now see a definition of the model
38 Now click on the “Graphic” button on the Application Toolbar When the graphics
screen loads, maximize the window
Trang 1039 Spend some time browsing this screen and looking at some of the tables in this model
What are the attributes (fields) in the AIRPORT table ?
Hint: Select the Airport table (BC_AIRPORT) and click on the button
40 Exit back to the Repository Information System Menu
From there, choose ABAP Dictionary => Database Tables
The Tables Selection screen is displayed
41 Enter SFLIGHT as the table name
42 Click on the Execute button
43 Click on SFLIGHT
44 Click on the “Display” button on the Application Toolbar
The Dictionary definition of the SFLIGHT table will be displayed
Trang 11All fields in the SAP tables belong to a data element which defines the description and Help text
of the field eg PLANETYPE belongs to the data element S_PLANETYE
45 Drill down on the data element S_PLANETYE to see its details
What is the short text for S_PLANETYE ?
Each data element in turn belongs to a domain which describes the type and length of the data
element S_PLANETYE belongs to the domain S_PLANE
46 Drill down on the Domain S_PLANE to see its details
What is the data type and length of S_PLANE ?
Logical Databases
A logical database is a group of related tables in SAP You will now look at an example of a
logical database in the IDES system
47 From the Standard Menu, Choose :
Tools => ABAP Workbench => Development => Programming Environment
=> Logical Databases
The Logical Database Builder will be displayed :
Trang 1248 Click on the drop-down list next to the Logical databases text box
A dialog box (LDB name) will be displayed
49 Press <ENTER> to see a list of all databases
50 Select logical database F1S and click on „Copy‟
Trang 1351 Select the Sub object and click on the button You will see the structure of the logical database
The ABAP Programming Language
ABAP programs may be entered and changed using the ABAP Development Workbench You will use the Object Navigator to examine and run a simple program
52 From the Standard Menu, choose :
Tools => ABAP Workbench => Overview => Object Navigator
The following screen is displayed
Trang 1453 On the System Tool Bar, choose:
Environment -> Examples -> ABAP Examples
54 From the menu in the left panel, choose:
ABAP Database Access -> OPEN SQL -> Read Data -> Scalar Subquery
A sample ABAP program will be displayed in the right panel
Trang 1555 Click on the button
56 The program source code will be displayed in the Editor, with line numbers
Trang 16
57 Click on the Check button on the Application Tool Bar This will check the program
for any syntax errors, i.e whether all the rules for the structure and format of the
program have been followed
The following message appears at the bottom of the screen :
58 We can now run (execute) the program
Click on the Direct Processing button , (or press F8)
59 Double-click (“drill-down”) on the first detail line A window will appear
Trang 1760 Close this window
61 Click or to return to the SAP Standard Menu
END OF WORKSHOP
Useful Transaction Codes
SE84 ABAP Repository Information System