SAP BASIS USER Training Document
SAP BASIS USER Training Document
SAP BASIS Training Topics T-Code/Session Child Session No. Session No.
SAP GUI 1
SAP HTML
System Monitoring 2
SM50 A
SM51 B
ST03N C
SM04 D
SM12 E
SM13 F
SMGW G
SP01 H
SP02 I
SP11 J
SP12 K
SM21 L
SM36 M
SM37 N
ST02 O
ST06 P
System Status
client administration SCC4 3
SCCL
SCC3
SCC9
SCC8
SCC7
SCC5
TMS STMS 7
SE01
STMS_IMPORT
SAP ROUTER 8
SAP Table Se16
Page 1 of 108
SAP Basis
SAP App
DMS Server 10
CSADMIN
SA38
RSHTTP80
Now SAP fiori Apps is introduce so you can access through fiori APP.
How to Download & Install SAP GUI (Front End) for Windows
Before you can configure and use the SAP GUI, you need to download the software from the SAP Marketplace as per steps below –
Page 2 of 108
SAP Basis
Step 6) Choose SAP GUI for your OS. In this demo, we will select Windows-
Step 7) Choose SAP GUI 7.30 Core which is the latest one.
Click On Download
Software
2
In above Screen enter (S-User ID) User Name and password and click on Login.
Page 3 of 108
SAP Basis
Page 4 of 108
SAP Basis
Double Click on
SetupAll.exe
Page 5 of 108
SAP Basis
Click on Next
Page 6 of 108
SAP Basis
Page 7 of 108
SAP Basis
Finish
Page 8 of 108
SAP Basis
Click On Next
1) Enter Description
2) Enter application
server IP
3) Enter System Instance Number
Page 9 of 108
SAP Basis
Page 10 of 108
SAP Basis
Now you can see you are able to access the system.
WEBGUI
In some cases users prefer to login to their SAP systems via the web. It could be because they travel a lot, or they do not have access to
their computers all the time. In such cases SAP HTML can help them a lot.
This document describes how to configure SAP HTML on your SAP system:
3- Click on execute
Page 11 of 108
SAP Basis
Page 12 of 108
SAP Basis
6- Navigate to the second required service /default_host/sap/public/bc/ur and right click on it to activate it
Page 13 of 108
SAP Basis
Page 14 of 108
SAP Basis
Page 15 of 108
SAP Basis
Page 16 of 108
SAP Basis
11- From the repository browser in your abap workbench from the dropdown list choose internet services
Page 17 of 108
SAP Basis
Page 18 of 108
SAP Basis
Page 19 of 108
SAP Basis
15- Go RZ10 and make sure that you have both parameters set, and if not then you need to define them:
login/accept_sso2_ticket = 1
login/create_sso2_ticket = 2
Page 20 of 108
SAP Basis
17- The activation will start as you will notice at the bottom of your screen
18- When the activation is done you should see a screen as the below mentioning that the activation was done successfully
19- Now it is time to test what you did so far. To do that go to your browser and
run http://jbvnlsapde1.jbvnl.local:8000/sap/bc/gui/sap/its/webgui
Page 21 of 108
SAP Basis
2. SYSTEM Monitoring:
A) SM50
Following is a part of SAP SM50 Work process overview screen which is showing status of all configured SAP work processes I
manipulated the display to show all typical types of work process in an application instance Background(BGD), Dialog(DIA),
Update(UPD & UP2).
Page 22 of 108
SAP Basis
Following is the Work process details screen which shows further information on a single work process
Page 23 of 108
SAP Basis
If you get any error in the process you can try above options after confirming with user
B) SM51
Status
On Hold: Process is waiting for a message. Column Reason specifies what the work process is waiting for.
Status
On Hold: Process is waiting for a message. Column Reason specifies what the work process is waiting for.
Start
Indicates whether the terminated work process should be automatically restarted in by the dispatcher. The following
values are possible:
Page 24 of 108
SAP Basis
No: The work process is not restarted (for example, if errors occur during the initialization phase).
You can set the work process by choosing Process -> Restart after Error -> Yes or No.
Err
Indicates whether the terminated work process should be automatically restarted in by the dispatcher. The following
values are possible:
No: The work process is not restarted (for example, if errors occur during the initialization phase).
You can set the work process by choosing Process -> Restart After Error -> Yes or No.
Sem
If the field is green, the work process is holding the semaphore in question.
If the field is red, the work process waits for the semaphore in question.
Page 25 of 108
SAP Basis
34: Server buffer semaphore
35: Object buffer semaphore
36: Extended segments user list semaphore
37: Global mutex semaphore
38: CCMS monitoring semaphore
39: Extended global memory semaphore
40: Semaphore reserved for testing
41: Semaphore reserved for testing
42: Shared statistic semaphore
43: Spool cache semaphore
44: Basis udit Semaphore
45: Application Statistic Buffer semaphore
46: Profile Parameter semaphore
47: Spool asynchronous RFC semaphore
48: ENQID semaphore
49: ABAP Virtual Machine Instruction Trace semaphore
50: Task handler runtime semaphore
51: ATRA semaphore
52: Memory pipes semaphore
53: Coverage Analyzer semaphore
54: ABAP Time Synchronization semaphore
55: Online Text Repository semaphore
56: ESM (Export to Shared Memory)- Semaphore
57: Runtime Monitor
58: JAVA
59: ABAP Shared Objects
CPU
CPU time
This is an accumulated CPU time consumed by all jobs and transactions executed under this process.
Time
Indicates the elapsed clock time used by a work process for the dialog step that is currently processing.
This time is reset with each commit statement or each screen change in online mode (Dialog step/transaction step)
Report
The report name that is currently being executed by the work process.
Exception: If the report name starts with ‘<‘and ends with ‘>’, then the work process does not execute an ABAP program
but a kernel action.
C) ST03N
To start SAP workload monitor, you can either use menu path or run SAP transaction ST03/ST03N directly. The initial screen of
workload monitor is similar to what showed in Figure 1 normally.
Page 26 of 108
SAP Basis
You can navigate through SAP ST03N screens easily via built-in navigation planel showed in above Figure 1. On ST03N initial screen,
you can access following functions:
1. Workload – So you can analyze SAP historical workload for each uniqe combination of period, application-server or system,
workload under this portion are aggregated,
2. Detailed Analysis – So you can analyze SAP “current” workload data which can be drilled down to individual statistical record,
3. Load history and Distribution – So you can compare and analyze performance overall several periods in one screen and
4. Collector and performance database – this allows you to define retention period for different performance data collected. It also
allow you to control what performance statistical data should be make available for SAP work load – business transaction analysis
tool STAD.
Please refer to figure 2 for a brief description on navigation options. I would cover more details in following sections.
Page 27 of 108
SAP Basis
Only entries starting with in ST03N represents an executable function. You need to click “ ” or “ ” icon to see ” entry” in
navigation panel. To start a ST03N function via ST03N navigation panel, you need to double click on a entry
like in Figure 2.
ST03N organizes workload data into different views/profiles to facilitate performance analysis. Data in each workload view is
organized into different tabs based on performance focus.
A workload view can be available for one period or one server/instance, but not available in another period or server when underlying
data is not available. Data is not available due to two reasons: data is deleted and data has not been collected. You can make proper
setting via ST03N or system parameter maintenance transaction RZ11 to control data collection and retention. For example, you do not
see view in the lower portion of navigation panel showed in Figure 3. I would talk more in later
portion of this post.
Data from SAP workload overview screen allows you to analyze SAP performance at system/server and task type level.
Now assuming that I need to review workload situation at system level (TOTAL) for a particular day, so I click the “Total” entry first,
then “Day” entry, i double clicked the date –here June 17 2013, Screen similar to Figure 3 would show up.
Page 28 of 108
SAP Basis
Part 1 is navigation panel. Workload navigation panel has two portions – the upper portion is the ST03N transaction original
navigation panel, the lower portion shows a list of available analysis views for SAP workload analysis.
Part 2 is workload header information – showing period (a customer period, a day, a week or a month) where workload is related,
instance (a specific instance or total) and task type (a specific task type or all). Please double check with 1 st records and last
records and time period field to ensure that you got all workload from the period you selected.
Part 3 is workload details.
Workload over view screen is the initial view presented by ST03N for load analysis. The workload overview shows times
statistics consolidated according to SAP task types. In a SAP ECC system, Dialog, Background, RFC, ALE and Updating task
performance are most critical to business function. Workload overview screen provides a performance overview on task type
level.
There are several tabs in Workload overview to help you to quickly locate the data you might need. The user tab shows number of
accumulated users from the system/instance for the selected period.
In the left bottom corner of Figure 3 is a list of analysis views available for the workload in the selected period and server
scope. You can navigate to any view by moving your cursor and double clicking the view like “standard” under “Transaction
Profile”.
There are two versions of transaction profile – one is “Standard”, the other is “EarlyWatch”. Standard profile has more navigation
feature and provides workload breakdown based on SAP task types.
Page 29 of 108
SAP Basis
Double click “Standard” under “transaction Profile”, You would get screen similar to figure 4
In figure 4, “All data” tab is organized into several child tabs – Times, Database, Parts of response time, GUI times with default tab
“Times” displayed. GUI Times tab is only applicable to Dialog type task.
EarlyWatch transaction profile is similar to “standard” transaction profile. The difference between them is that EarlyWatch
consolidates workload displayed in Figure 4 based on the 1 st column – “Report or Transaction name”. This helps if you want to know
top load programs in the system.
Table 1 – Workload view navigation buttons
Button should be
Your goal clicked Comment
Check To use this, you need to place cursor on selected row first.
individual This works only with “current data” while STAD works.
statistical Current data is normally referring to data related to
records transaction executed in recent 48 hours.
Page 30 of 108
SAP Basis
Check Column Long-short name to give you more meaning of the column
full name or save the column width.
Search on the You can search the display based on specific value from
screen any column.
Summarize You need to select the numeric column like “# steps”, then
numeric column click this button
Export the
display to a
local file Save displayed workload data to local file.
The same button has the same usage regardless of ST03N analyst views you are working with although some buttons are only
applicable to specific views like “single records” button which is not available in workload default view – workload overview.
Data from ST03N time profile view allows you to analyse performance/load difference between different hours.
Double click “Time Profile” entry in navigation panel (see Figure 3), you would see screen similar to figure 5.
Page 31 of 108
SAP Basis
Time profile separates workload from a period ( a day, a week or a month) into hourly fashion. So you can know the busiest hours in
terms of workload.
If your display is not in hourly fashion, you might need to refer to following ossnote :
Data from ST03n RFC profiles allows you to analyse RFC performance.
You can use ST03N to review RFC workload. RFC workload is further separated into RFC client profile, RFC server profile, RFC Client
Destination and RFC Server Destination profile. This makes it easier for you to do specific workload analysis.
Page 32 of 108
SAP Basis
Data from this view can allow you to see transaction step distribution based on duration.
Double click “Response Time Distribution” entry in workload navigation panel, you would get screen like Figure -8.
Page 33 of 108
SAP Basis
Number of dialog steps under 1 second is often used to measure a system performance based on % of dialog response time under 1
seconds.
You can navigate to other workload analysis views like Memory Use Statistics, Ranking lists, User and Settlement Stat etc in the same
fashion. You might need to review those views based on specific situation – for example, if you would like to tune memory usage and
need to identify top memory consumer, ST03N Workload – Memory Use Statistics view is a good place to start.
Here, you can analyze “current” workload which might not show up in workload analysis we have covered in previous section of this
post, you can access individual SAP statistical record via button showed in figure 4.
Click this entry, it would start SAP STAD transaction giving you access to recent individual performance statistical records. You can
refer to my post on how to run SAP STAD transaction.
To see last minute’s workload, you need to click a server or total( whole system) , input the data and then hit the execution or continue
key. Please refer to Figure 6 with input data.
“Time profile granularity” might be helpful for you to organize workload data into “good” period and “bad” period for easy comparison
in performance analysis.
Page 34 of 108
SAP Basis
After you enter your data and hit execution, you would get all normal views we covered in “workload” section of this posts and you can
access those workload views in the same way which is covered in workload section of this post.
When I hit “OK” or continue button in figure 6, I got a “workload” overview screen normally. However I presented ” time profile” view
of workload in Figure 7 as an example.
Page 35 of 108
SAP Basis
Figure 10 ST03N last minute’s load – time profile
Each time you run SAP ST03N to review workload for selected server/instance, the default view would be workload overview.
However if you would like to review workload in another server etc., the default view is the last analysis view you review with previous
workload analysis.
Load history,
Instance Comparison and
Users per Instance.
You use navigation panel to access those analysis option by clicking corresponding leaf entry.
Data from load history view allows you to analyze performance trend of a SAP system/application/task types.
You can review workload history of single instance/server or workload history of whole system. If you double click on “total” entry, you
would get workload history screen similar to Figure 8.
Click button “Task type” in figure 11, you can review workload for the expected workload type. Click Week and Month button in Figure
11, Number of steps would be summarized and response time would be averaged in expected time interval.
Data from instance comparison allows you to analyze performance among different instances.
Page 36 of 108
SAP Basis
Workload data in different application server can be compared in day, week and month interval. Please refer to figure 12 for navigation
path.
Double click “User per Instance” under path “ST03N -> Load History and Distribution”, you would see screen similar to Figure 13.
Here, SAP ST03N allows you to define retention period for data used in SAP ST03N. It also allows you to have control over some online
parameters which control statistical sub-record generation or collections temporarily. Those online parameter changes could be lost or
replaced by the value from sever/instance profile. Please refer to Figure 14 for function details
Double click on “Reorganization” under path “SAP ST03N -> Collector and Performance DB -> Performance Database ->Monitoring
Database”, you would see screen similar to
Page 37 of 108
SAP Basis
Double click on “Control” under path “ST03N -> Collector and Performance DB -> Performance Database -> Workload Collector
Database -> Reorganization”, you would see screen similar to
Here you can define retention period for Daily/Weekly/Monthly Aggregates Retention Period workload data for specific view. In figure
16, daily aggregates data would be kept for 14 days only – after they would be deleted automatically.
ST03N allows you to change online parameters to influence statistics data generation on the fly – you navigate to the screen, overwrite
the data and save the changes. Your changes come into effect immediately upon saving. It can be lost immediately after the system is
reboot/restarted as well.
Page 38 of 108
SAP Basis
Double Click “Dialog Step Statistics” under path “ST03N-> Collector and Performance DB -> Statistics Records & File->Online
Parameters”, you would see following screen
D) SM04
Go to transaction code SM04. Find the particular user whose session you want to delete. Double click on the user and click
on End Session
Page 39 of 108
SAP Basis
The SAP System is equipped with a special lock mechanism that synchronizes access to data on the database. The purpose of the
lock mechanism is to prevent two transactions from changing the same data on the database simultaneously. Lock entries are
usually set and deleted automatically when user programs access a data object & release it again. The lock mechanism is closely
related to the Update Mechanism.
2. In SM12, check any lock entry older > 2 days. If any outdated entry found, check the corresponding user is
user online/offline in AL08 or SM04 (you can get the transaction code that been use by the user). Get the user contact
from SU01 and inform about the lock else if the user is offline, release the table from lock by deleting the lock.
Page 40 of 108
SAP Basis
Update management supports different status for update requests. These status are displayed in Update Management (transaction
code SM13) in the column Status. The status indicates the phase of the update process that the request has reached, or in which the
request has become “stuck”. The background of the status field can be green (not yet processed, currently being processed), yellow (not
yet processed, probably “stuck”), or red (terminated with error). The column Info provides further information.
The dialog work process passes the update request onto an update work process after the dialog area has been completed. This then
processes the V1 update modules. When the ABAP statement COMMIT WORK is received, the data is written to the database and the V2
update is output to a V2 work process (providing V2 modules exist in the update request). The following statuses are possible during
this phase:
• Initial:
The update request has been created, but has not yet been completely processed. (This status applies from the moment the dialog work
process transfers the update request to the update work process to the COMMIT in the update work process).
• Error:
An error occurred in the init phase, which prevents the update from being carried out.
• Error (no retry) :
The update request has been canceled and the update cannot be repeated.
• V1 Processed:
The init phase has been successfully completed, and the V2 modules are being passed on for further processing. If no V2 modules exist,
this update request no longer appears in the overview.
• V2 Processed:
The V2 modules have also been processed correctly, but there is still a collective run (can be regarded as V3) to be carried out. If there
is no collective processing to be carried out, this update request no longer appears in the overview.
• Processed:
If the parameter rdisp/vb_delete_after_execution is set to 2 – in other words, if automatic deletion is deactivated – an update that has
been successfully completed has the status ok. If automatic deletion is activated (default), the update record no longer appears in the
overview.
Page 41 of 108
SAP Basis
• To Delete:
This update request has been marked for deletion.
• Enqueues Deleted:
The SAP locks belonging to this update request were manually deleted (Trannsaction code SM12).
The following statuses are possible if an external transaction monitor is used:
• Prepared:
The update request is ready for processing and is waiting for an external transaction monitor to initiate processing.
• Cancelled:
The external transaction monitor has canceled processing. This status can follow on from status prepared.
• Error (ext. Commit) :
The external transaction monitor has started processing, but the SAP system then canceled the update request. This status can follow
on from status prepared.
An update record may become “stuck” in the status init without switching to the error status err. If the record remains set to the status
init for a prolonged period of time, the record can then be updated in the following ways. The statuses listed below are then active (also
see graphic).
• Auto (dia):
The system administrator has manually processed the update record using transaction SM13 (Update requests > Repeat update). The
dialog work process (WP1) transfers all of these update requests to an update work process (WP2) during which time the update
record is set to the status auto (dia).
• Started:
The work process WP2 collects the requests and passes them on in batches to a further update work process (WP3), which then
performs the actual update. The record has the status Started up until COMMIT in WP3.
• Auto (sys) :
Each time an update server is restarted, the update server checks to determine whether the update requests are set to init. If any
update requests are set to init, the update server initiates automatic processing of the requests by means of update work processes.
This takes place in the same way as when the update is started manually, except that an update work process (WP4) starts everything
and not just a dialog work process. The update record is then set to the status auto (sys).
If, under exceptional circumstances, the update is not successful the first time, the status Started corresponds to the status initial when
the update is repeated. If the update becomes “stuck” in the status auto or started, the status must be reset, as only records with the
status initial can be entered using the methods described.
Page 42 of 108
SAP Basis
Page 43 of 108
SAP Basis
Using transaction code SM13. In the Update Request overview, select the update requests you want to delete. Choose dustbin icon,
or Update requests > Delete.
Put * in Spool Request Number Filed-* on Created by filedprovide date on created on field and click on execute button.
Page 44 of 108
SAP Basis
Spool (S)
A. It is used to print the documents to a printer
B. There should be at least 1 spool process in the entire system
C. The spool profile parameter name is – rdisp\wp_no_spo
D. Dialog work process (or) background work process are creates a spool request. i.e.
To print the documents
E. In O.S level spool request are stored in global directory usr\sap\<Sid>\sys\global
F. The storage location specific parameter name is – rdisp\store_location
G. This parameter has 2 values they are global_G and database_DB.
H. G means it stored in global directory DB means it stored in database tables are
“TST01” and “TST03”
I. The spool request is also referred as TEMSE
Temse is used for temporary sequential objects
J. Access method: It is connection to spool server to O.S spool.
Access methods are 3 types
1) Local access method: the spool process and the spool host (printer spool)
reside on the same system. Access method type L is used for UNIX O.S
and C is used for windows O.S
2) Remote access method: the spool process and the spool host reside on two
different systems. Access method type U is used for UNIX O.S and S is
used for windows O.S
3) Front end method: access method p is the printers are connected to end
users desktop do not configured to many front and printers F and G
4). we can see all the clients and users spool request T_Code is – SP01
5) We can see specific client and user spool request T_Code is – SP02
6) Spool administration is - SPAD
7) Default printers are – SWIN, SAPWIN
Page 45 of 108
SAP Basis
Page 46 of 108
SAP Basis
You will get the following screen and to get into details of the following objects – just double click on it.
Page 47 of 108
SAP Basis
The following details will show the Attributes in 2 parts. So, you can click on each Attributes to get further information.
I) SP12
You can display the distribution of the storage space among the TemSe objects.
1. Call transaction SP12.
Page 48 of 108
SAP Basis
Note
You can only determine the total number of objects with unlimited retention
periods. You cannot explicitly check the retention period of spool requests in
TemSe administration. It is display in the header data of the spool requests
(transaction SP01).
The list can be restricted for Problems Only, Problems and message and all messages. The
information in this list can further used to analyse the errors which are indicated with Red
Page 49 of 108
SAP Basis
sign under Priority. Also we get information of Tcode that was used by the user when the
error got generated. There are to two different types of logs created by the system log:
Provide Date and time which you want to Check. User and client specific
After all you have to click on Execute Button as mark in red in above screenshot.
Page 50 of 108
SAP Basis
Page 51 of 108
SAP Basis
Page 52 of 108
SAP Basis
Page 53 of 108
SAP Basis
Page 54 of 108
SAP Basis
Page 55 of 108
SAP Basis
Transaction code SM36 is used to define and schedule the background jobs. You can define and schedule background jobs
• Directly from Transaction SM36. This is best for users already familiar with background job scheduling.
Page 56 of 108
SAP Basis
Page 57 of 108
SAP Basis
This section shows configured memory/virtual memory for a list of sap memory type and their memory usage.
Column Explanation
Sap Memory Show type of SAP memory
Curr. Use % = allocated memory/total-memory X 100% for the type of memory in question
CurrUS[KB] Currently used memory at the instance
MaxUse[KB] High-water mark since the SAP instance is started
In Mem[KB] Configured total memory
OnDisk[KB] Configured disc space(Virtual memory),only eligible for Page memory and roll
memory.
SAPCurCach SAP Cursor Cache
e
HitRatio Applicable for ID and statement Caches.
Column Explanation
texts Sap tasks type like dialog, background etc.
Step Sequence allocation – next memory area only if memory allocated in previous steps
is not enough.
Memory 3 possible memory types under current SAP design: Roll, Extended and Heap
type
Amount Configured the memory size for the tasks.
Page 58 of 108
SAP Basis
Operating System Monitor CPU, Memory, DISK, LAN and filesystem etc
Page 59 of 108
SAP Basis
Follow these steps to create a new client in SAP system:
Step 2: To create a new client, enter the below details after clicking on New Entries.
Page 60 of 108
SAP Basis
Step 4: Now, if you go to the Display Client list, Transaction SCC4 > Display > New client will be added.
You can also create a copy of existing clients between local and remote system IDs. Follow these steps to create a copy of
existing clients:
Step 1: To create a copy of a client in local SID, the transaction code is SCCL.
Select your desired profile, enter source client, and enter description.
Page 61 of 108
SAP Basis
Step 3: By default, the client copy is executed in a single process and you can distribute the workload on multiple processes to
reduce time for copying.
Step 4: Copying a client can take longer. Therefore, this process can be run as background job.
Page 62 of 108
SAP Basis
Remote System
You can create a copy of client in the remote system using transaction code — SCC9. This system uses Trusted RFC connection
SM59.
Enter the details as we do for local client copy and you can select an option to run the copy in background.
Import/Export
It is always recommended to use import/export option for client copy when database size is large.
Step 1: Log on to target system and create an entry for new target client using transaction code — SCC4. To perform export for
transferring data files to target system import buffer, use transaction code — SCC8.
Page 63 of 108
SAP Basis
Page 64 of 108
SAP Basis
Step 2: Select the profile and target system. You can schedule the export process in background. Depending on the export type, it
creates multiple transport requests in the following areas:
Step 1: To import a client, use transaction code — STMS_IMPORT, you will see import queue.
Step 2: Select the transport requests to perform import process that is generated from export operation. Once import is done,
you can use the transaction code — SCC7 to complete post import phase. You can check import logs using transaction code —
SCC3.
Deleting a Client
Step 1: Use transaction code — SCC5 as below. Go to SAP Easy Access and run the transaction.
Page 65 of 108
SAP Basis
Step 2: Select the client to be deleted. You can select > delete in background or start immediately. Table T000 contains all the
client entries created using Transaction SCC4. You can also select to remove table entry for the client.
Page 66 of 108
Step 3: When you select start immediately, you see the following window.
4) Creating a User
This chapter guides you on how to create user accounts in SAP.
Follow these steps to create multiple users with different access rights in SAP system.
Step 2: Enter the username you want to create, click on create icon as in the following screenshot.
41
SAP Basis
Step 3: You will be directed to the next tab — the Address tab. Here, you need to enter the details like first name, last name, phone
number, email id, etc.
Step 4: You will further be directed to the next tab — Logon Data.
Enter the user type under Logon data tab. We have five different user types.
42
SAP Basis
Dialog user — this user is used for interactive system access from GUI.
System user — this user is used for background processing, communication within a system.
Service user — this user is created for a larger and anonymous group of users.
Reference user — it is not possible to log on to the system with this user type.
User type for general, non-person related users that allow the assignment of additional authorizations.
Step 5: Type the first Login Password > New Password > Repeat Password.
Step 6: You will be directed to the next tab — Roles: Assign the roles to the
user.
43
SAP Basis
Step 7: You will further be directed to the next tab — Profiles: Assign the Profiles to users.
Password Reset
Step 2: Enter the username and select the change option at the top to edit the profile.
44
SAP Basis
Step 4: Enter the new password and click on the save icon at the top.
45
SAP Basis
In SAP system, an administrator can also lock or unlock a user as per the requirement. This can be performed for a specific time
period or permanently. A user can be locked/unlocked in the following two ways:
Manually/Forcefully
Automatically
Manually or Forcefully
You can lock a user forcefully/automatically using these transaction codes:
Step 2: Select the user you want to lock/unlock and click on the icon.
Step 3: You will now see the current status of the user. Click on lock/unlock option.
46
SAP Basis
Step 4: To lock multiple users, use transaction code — SU10 and enter the users in username list. To select multiple users in
one go, click and search you will get an option to select multiple users at one time.
Step 5: Select the lock and unlock icon at the top as per requirement. This can be used to unlock single/multiple users using same
transaction code.
5) PFCG:
Execute transaction code PFCG. Enter the Role name and choose on Single Role. (We are going to use Single Role for this activity).
Enter the role description and press on Save. You have just completed creating a new role in SAP system. So next, you need to assign the
authorizations (transaction codes, reports, authorization default, web address and files) to the SAP users.
47
SAP Basis
Go to the Menu tab. If you want to grant user with the transaction codes – click on Transaction. You will get as below screen and from
here, you can type which transaction codes granted for the users. Once done click Assign transactions.
The Menu screen will list all the granted transaction codes. You also can do for the Report, Authorization Default and Other. Click on
Save again.
Next, go to Authorization tab. Click on Change Authorization Data.
On the Change role: Authorizations, verify if there are any missing values.
48
SAP Basis
To assign the missing values – assign authorizations (make the yellow traffic light into green) – You need to click on the traffic light
icon. Then, below dialog box will appear – to set the authorization fields to * (full authorization) for the object class. Press Enter.
To get into details on the respective object class – authorization object – You may need to click on the pencil icon. As example below for
ABAP Workbench, each task for Activity, Package, Object name, Object type and Authorization group ABAP/4 does have their own level
of security. So, from the below screenshot, the Activity was only granted for Display – means user can just only display while using the
transaction code. They will not have the ability to change, update, delete or other functions.
If you want to assign more ability to the user, you can click on the pencil icon. You can select from listed activities. To give all
authorizations, click on Full authorization. Click on Save.
You will prompt back to the Change role: Authorizations screen, click on Save to Assign Profile Name for Generated Authorization
Profile. Press Enter.
Still on the Change role: Authorizations screen, click on Back (F3) and you will get below screen. Click on Generate icon (F6) to
generate the Profiles.
The profiles will generate and you will see the Profile Name, Text and Status under the Information about Authorization Profile.
49
SAP Basis
Next things to do are – Assign users to the Profile! So, switch to User tab and enter the User ID. Once done, click on the User
comparison. Click on Save and you are done!
6) SUIM
You can use this report to determine all changes to the following objects:
• A user (RSUSR100)
• A profile (RSUSR101)
• An authorization (RSUSR102)
• A role assignment (RSSCD100_PFCG)
• A role (RSSCD100_PFCG)
50
SAP Basis
Note that changes for users, profiles, and authorizations are divided into two areas:
• Changes to authorizations: creating the user, changing, adding, or removing profiles
• changing header data: password changes, validity, user type, user group, account number, lock status
You can select both field to obtain all information. In this case, the left column shows the status before the change the right column the
changed entry. You determine the changes for roles and role assignments using a separate interface.
1. Start the user information system (transaction SUIM). Expand the Change Documents node. Choose the Execute option next to For
Users (or For Profiles or For Authorizations). Specify the user (or the profile, or the authorization) and other restricting values, and
chooses Execute.
51
SAP Basis
The interface for determining change documents for role assignment is a section of the interface to determine the change documents
for roles.
1. Start the user information system (transaction SUIM). Expand the Change Documents node. Choose the Execute option next to For
Roles (or For Role Assignments). Enter the required details and then choose Execute.
52
SAP Basis
You can select an individual role or a particular change document with the fields Name of the Role and Change Number of the
Document. You can use the fields Changed By and To Date or To Time to further restrict the selection. You can use the button next to
Change By to enter your user name in the input field.
You can also choose the following document types under Change Documents, where an additional input field is displayed at the end of
the list for some document types:
• Overview of change documents
• Creating and deleting roles
• Role description
• Single roles in composite roles
• Transactions in the role menu
• Other objects in the role menu
• Authorization data
• Org. level value
• Authorization profile
• Attributes
• Composite role home page
• User assignment
This is used to manage, configure the changes in SAP repository and other objects. This provides you a central environment for
development and configuration projects.
Transport Tools
Tools are a part of SAP Kernel and are used to manage R3 trans and transport control program.
R3trans is known as SAP system transport which is used to transport the objects between different SAP systems. It is usually called
for other transport control program, in particular from tp or by using SAP upgrade utilities.
Transport control program is used to support data and object transport between different systems running on different platforms
and also on different database.
Transport management is one of the key components in SAP system landscape and is used to perform the following activities:
defining the Transport Routes among systems within the system Landscape
In case, the SAP system doesn’t have a Domain Controller, you will be prompted to create
a new one. Transport domain includes the following activities:
RFC connection and request creation, TMSADM is used login to target system
54
SAP Basis
DOMAIN.CFG file is created under usr/sap/trans/bin directory which stores TMS configuration and is used by
systems and domains for checking existing configurations.
Step 1: Log on to the SAP system, that you want to add as a System, in client 000 and enter the transaction code — STMS. If system
is not added, TMS will check configuration file DOMAIN.CFG and will prompt you to create one. Click on — Select the Proposal and
Save. The system will remain in ‘Waiting’ status initially.
To complete the task-> login to the Domain Controller System -> Transaction STMS -> Go to Overview -> Systems.
You can now see that a new system is available. Go to SAP System -> Approve
55
Transport routes are defined as routes that are defined by a SAP Administrator to transmit the changes between different SAP
systems.
Transport Request
This contains a number of changes to be implemented in the development system. It consists of the types of changes,
purpose, change category, target system and other details.
There are two type of request types that can be created in the SAP system:
Workbench Request
This request type contains the repository objects and cross-client customizing objects. Workbench requests are used to make
changes in the ABAP workbench objects.
Customizing Request
This request type contains objects that belong to ‘client-specific’ customizing. These requests are created in system automatically
when a user performs customizing setting and a target system is automatically assigned as per the transport layer.
SAP Basis
Automatic — this way you can create or modify an object, or perform customizing settings. Here, the system displays the
'Dialog box' for creating a transport request or mention name of an already created request, if available.
Manual — this way you can create the transport request from the Transport
Organizer, and then enter required attributes and insert objects.
SAP Basis
SAP Basis
SAP Basis
Once transport request is completed in the source system, you have to export the request from the source system and import it to
the target system. To perform the import, you have to select an import queue.
Transaction STMS -> Import or you can go to Overviews tab at the top -> Imports
You can see a list of systems in the current domain, description and a number of requests available in Import Queue and the status.
Import a Queue
This list contains Transport Requests in the common directory. These requests are ready to be imported to the target system.
SAP Basis
You can also check the logs once the transport request is completed. To check the logs, use transaction code — SE01 -> GoTo ->
Transport Logs
Transport Logs
It keeps track of the transport log files that have been moved in a Transport Request.
Action Log
It includes the details of all the actions that have been performed in a Transport Request. Actions such as exports, import, etc.
One of the important functions provided by the logs are the following return codes:
4 — this value represents that a warning was issued and the objects were transported successfully.
8 — this value represents that a warning was issued and at least one object could not be transported.
12 or higher — this value represents an error in transport request and it is generally not caused by the objects in
Transport Request. This probably occurs because of system failure.
SAP Basis
For ODBC ERROR you have run above command in DMS Server.
SAP Basis
11) Database administration:
DB02
Backup Configuration: provide required Inputs as per requirement like Destination Type
DB02
To schedule Backup
11) DB12: Backup Catalog is to collects and presents information that is necessary to monitor database backups. It is an
important source of information for the database administrator who has the task of supervising the execution of a defined backup strategy.
On the initial screen of the monitor, it shows overview of important information related to SAP database backups.
• The last successful backups for the SAP, master and msdb databases and transaction logs.
• The last SAP database size and duration of the backup job.
• Whether the SQL Server Agent is started or not.
• The amount of log space allocated and how much is still free.
• The Recovery interval, which specifies the maximum time that SQL Server should spend recovering after a database startup.
SAP Basis
View
incident
Report an
Incident Download
Software
Download
Open remote
licence
connection for SAP
Goto tcode snotemenuGo To—Download SAP noteprovide not number which you want to apply
SAP Basis
Maintenance KEY
Permanent KEY
SAP Basis
To Install The License Go-service Market Placeclick On Request Keyenter S-User id Credentialsbrowse system which you want to
renew licenceverify DetailsGenerate Maintenance Licensedownload license fileopen GUIexecute “slicense” tcode
Menuclick on EDITclick on Installbrowse file location click on ok.
Support Package Stacks have a release number, and a Stack number, Example, SAP NetWeaver '04 Support Package Stack 11.
Each software component has a separate sequence of Support Packages. The following list contains the technical names of a number of
components and the notation for their Support Packages:
1. Download the support packages from service marketplace and save them at OS level in directory
/usr/sap/trans.
2. Uncompress these files using sapcar executable
After uncompressing the support packages at OS level the .PAT and .ATT files are stored in
/usr/sap/trans/EPS/in directory.
Next, load the Support Packages into SAP system by choosing Support Package -->Load Package --> From
Application Server
Choose Support Package --> Load Packages --> From Front End
SAP Basis
A SPAM/SAINT Update contains updates and improvements to Support Package Manager (SPAM) and Add-On
Installation Tool (SAINT). There is always one SPAM update for each release. SPAM/SAINT update is mandatory
before any support package upgrade.
Queue contains the Support Packages available for the different SAP Components installed in your system. This
Queue information is derived from the support pack uploaded in Step 2.
3. Once you select the required component, the current queue appears. This queue contains the Support Packages
available for the selected component in your system. If you want to define the queue for another software
component, choose Other Component. If the displayed queue meets your requirements, you can confirm it by
choosing Confirm Queue
SAP Basis
SAP Basis
Step 5: Importing Queue.
Once you a define a Queue (Step 4) while selecting a particular component (for which we want to upgrade support
pack), we need to do 'Import queue' to start importing/applying that particular selected support pack (as per the
standard SAP process).
To become familiar with known problems and issues, always read the note mentioned in above screenshot.
Confirm that the queue has been imported successfully into your system. This allows you to import Support
Packages in the future. You will not be able to import Support Packages further, if you do not confirm the queue.
SAP Basis
Confirm successful import of the Support Packages into your system by choosing Support Package à Confirm.
Checking Logs
IMPORT LOG: It displays logs for Support Package Manager Phases that are used by transport control
program tp(transport control program).
Go to-->Import log-->Queue
SAP Basis
ACTION LOG: It contains information about the actions that take place during the individual phases (while
importing the current queue).
It also includes information about the point at which a phase was stopped, as well as detailed error
information.
While the support packages are being imported, logs are made into the tmp directory (path:
usr/sap/trans/tmp)
Once the import process is completed logs can be viewed from the log directory (path: usr/sap/trans/log)
SAP Basis
Execute
SAP Basis
You will get details: (this is for view only don’t change anything here)