Support Phase
Support Phase
ADVANTAGES OF SAP:
1) platform/database independent:
O/S: DB:
3) Richest of products:
ECC5.0/6.0---------ERP product
CRM5.0-------------Customer Relationship Management
SRM5.0-------------Supplying Relationship Management
SCM5.0-------------Supply Chain Management
4) Richest of modules:
FI ---------- Financial
SD ----------Sales and Distribution now order processing
CO-----------Controlling
MM-----------Material Management
RE-----------Real Estate
CS-----------customer service
HR-----------Human resource
PP-----------production process
PM----------project management
1
2
13) Communication with external systems i.e., SAPS & NON-SAP systems for data
transform.
14) It is a decision making system for analyzing the data (past current) to forecast
18) Software is consistence, reliable for the past 30 years and has a proven track
record.
3) Used as project management tool (to track the status of the project).
4) Used as a helpdesk system.
2
3
e) Getting requirements on the customer or end-users. [The functionality the (PM &
Team) are expecting (PM & Team)]
J) Installation library.
3
4
SECURITY:
2) define a role matrix as per SOX (sarbanes Oxley) (who does what).
5) Transporting roles.
Performance Tuning:
1. Identify the critical users, programs, transactions that are becoming bottle
neck on the system.
2. Identify memory, CPU, buffer & DB utilization.
3. Tracing the critical activities.
4. Identifying expensive SQL statements explain the path and tune them.
5. Define adequate primary & secondary indexes.
Support Phase:
4
5
Net Weaver:
-----------------------------------------------------------------
| | EP 7.0 |
| P | people integration |
| | collaboration, knowledge mgt |
| | |
| -----------------------------------------------
| | master data management 5.5 |
| I | implementation integration |
| | BIW/BW/BI7.0,Knowledge mgt7.0 |
| |` |
| ----------------------------------------------
5
6
| | XI3.0 / PI 7.0 |
| | process integration |
| P |integration broker/business focus |
| | mgt |
| -----------------------------------------------
| | |
| A | Application platform |
| | ABBP7.0 / JAVA7.0 |
| | |
|-----------------------------------------------------------------
1) Communicate with any system (non-SAP & SAP system) if necessary user
adaptors.
3) It gets the data from communication system and analyses it to define target.
4) The data can be displayed in the browser without any GUI from part of the world
(Internet is available
Network concepts:
_______
| |
| |
| |
| |
-----------
| |
| |
-----------
| |
-----------
Mirroring:
Mirroring is a process of writing into two hard disk simontanuasly.
One of the hard disk fail the other hard disk will be used. Mirroring is a feature
provide by hardware
6
7
3) RAID isn't always redundant (another for fault tolerant) RAID level '0' (dis
striping
without parity) is not fault tolerant because it contains no redundant data to help
You re-create lost data, as you'll see in a minute.
4) A group of drivers can band together and, acting in concert, provide speed,
capacity
and fault tolerance.
This solution is called Redundant Array of Independent Disk (RAID).
5) Hardware RAID is still both more flexible and reliable than its software cousin.
6) These are vendors RAID levels like RAID1, RAID5 etc. RAID1 Referred as
mirroring.
Here, if RAID5 is down immediately that data will store in remaining 4 RAID levels.
7
8
BACKUP:
Hard disks are backed up (Database) to a tape and the tapes are stored in
remote
location other than data.
MEMORY:
It is a temporary work area where the computations are performed no
calculation
will be performed on the hard disk the data which is going to be Updated is fetched
into
memory and calculations are carried out upon commit they are stored into disk.
The memory can be crased and leaked will not be used. Instead various memory
stick we
deferent slats are used.
CPU provides processor to process the user request. right now we have 32
CPU's.
in order to secure CPU's and provide more processors as Dual CPU, Multi CPU,
CPU's
in again hardware vendors.
COMPUTER:
It is a device which consist of hard disk memory i.e., RAM, CPU, NIC, board
Audio/video graphic etc
SERVER:
It is high and computer which uses SCSI disks, with mirroring, RAID, and
multiple CPU’s to serve the client request.
CLUSTERING:
It is the process of providing two servers which has referred as Node A and Node B.
If node A fails node B gives life to the application.
8
9
1) Static IP
2) Dynamic IP
1) Static IP: These IP's are assigned to the servers and mostly they are not changed.
2) Dynamic IP: these IP's are assigned to user desktops and may change for every 2
weeks.
Private IP: The IP address is which are used locally in the companies are referred
as Private IP. This IP addresses are used to communicate with in the LAN.
The recommended Private IP's starts with 172 and 10.
However 192 is also used but it is left for R&D.
127 is referred as loop back.
Public IP: This IP address is used to communicate with external world. Each
company has their own Public IP's to communicate externally.
9
10
NETWORK CABLE:
It is often referred as LAN cable which is used to communicate between the systems.
1) Straight cable
2) Cross cable.
It is known as CAT5 cable.
HUB:
It is a device which provides ports to communicate with various systems. But
the
data transmission is distributed.
SWITCH:
It is used to communicate between the systems. it is an intelligent HUB.
Which
is used to transfer the data uniformly.
ROUTER:
It is a device which is used to control the incoming and outgoing request of
the
company. it is a gateway which will be communicated by other systems in the world.
SERVER:
A server accepts client requests and they are highly scalable and reliable.
It has its static IP.
10
11
a) DOMAIN Server:
It is used to name your domain so that all the systems in the LAN will
be
under one domain.
c) Web server:
It is used to provide the web services to access the company details over the
internet and intranet.
d) PRINT server:
It is the server which is used to control the entire printer in the company.
e) FILE server:
It is used to provide storage to all the users to store the information that
need to be protected or can be shared.
HOST NAME:
Hostname is the name of the machine and it is from the area of predefined namic
11
12
32-bit servers:
It is architecture of the machine where each process can use 3GB of memory to
process the user request.
Note: Supply Chain Management (SCM) system and Netweaver2004 s sR2, live
cache 7 are not recommended to install on 32-bit machines.
64-bit server:
CLIENT:
SERVER:
It is a backend to serve the user request. it accept the request in the native
form.
FILE SYSTEM:
The data is stored on the file system in terms of directories and files. When
there
are less no. of files it is very easy to access but when the file sizes grows or the
number grows it is very hurt to fetch and retrieve. The data is not stored in an
organized way; there is a possibility of duplication of records.
DATABASE:
The data is also stored on the file system but in an organized way to avoid
duplicates (primary key, foreign key) and fetch the data using indexes.
12
13
OPERATING SYSTEM:
1) Clients are highly loaded with front-end software and database client software.
2) For each request clients are directly hitting the database there by database is
congested and traffic is increased.
6) Database resources are (CPU, Memory) completely used utilize to serve the user
request.
Due to the above disadvantages there was a need deploy an addition layer
between client and server which will serve as shock observer to both client and
server.
APPLICATION SERVER: it is used for the following purpose.
2) The user requests are queued installed of hitting the database directly.
3) The user requests are provided with dedicated resources on the all the
application server
5) Database clients are installed on the application server their by reducing load on
the
clients.
----> SAP adapts 3tire architecture and it has its own usage for each layer.
13
14
R/3 Architecture:
It comprise of 3 layers
1) Presentation layer
2) Application layer
3) Database layer
Note: These layers are also referred as server because each layer functions as a
server.
1) Presentation server:
This is the layer where end-users use to communicate with SAP systems.
There are various types of presentation servers and SAP refers then as SAPGUI.
2) It supports all the languages are installed (provided that the languages are
installed)
7) You can define your own favorites which are available across the systems.
8) Frequently used inputs are stored as parameters so that there was no need to
enter the
inputs again and again.
14
15
10) SAP provides SAP GUI Logon pad to restrict the editing by end users.
11) SAP GUI is used to use logon groups and servers to identify the least loaded
server in
the landscape.
12) Logon groups are used to identify the least loaded instance on that group.
Logon groups are used to identify least loaded server only in that queue.
We can download the output to a file, word, and spreadsheet.
Roles specific.
Use SAP Logon pad to the users.
GUI ADVANTAGES:
3) User menus can be role specific or we can use SAP Easy Access menu.
5) We can specify low speed connectivity to connect to the systems using low
bandwidth,
It will suppress GUI elements.
7) SAPGUI is used to use logon groups and servers to identify the least loaded server
in
the landscape.
8) Logon group are used to identify the least loaded instance on that group
Ex: US group has 5 servers, UK group has 5 servers, and AP has 5 servers.
9) Logon groups are used to identify least loaded server only in that group.
PRESENTATION SERVER:
Note: SAPlogon7.10 is the latest version.
15
16
1) Command field:
2) Transaction:
--> Back F3
-->cancel F12
-->Radio buttons
16
17
GUI INSTALLATION:
1) Single user
2) Mass user
a) 10 users
b) 100 users
c) 1000 users
2) SAPGUI for JAVA: This is installed on the machines where java is installed. Mostly
this is used for non-windows. However it can be installed on windows also.
Ex: LINUX, UNIX, AIX, etc.
3) SAPGUI for HTML: It is used to access sap system using internet explorer.
17
18
INSTALLATION:
----> Insert the DVD labeled with Presentation Server with version.
----> go to label.asc file, you will see SAP Presentation Server 6.40 or 7.00
If you need to install GUI for more that one user copy the sapgui DVD into a common
folder (shared folder) and provide the path to the admins to install it on the end-
user desktops. Alternatively we can also write a batch file (.Bat extension) along
with Installation.
Unattended Installation:
18
19
SAPGUI Initialization:
1) saplogon.ini
2) sapmsg.ini
3) saprouter.ini
4) sapdoccd.ini
1) sap logon.ini:
Note: saplogon.ini is used to copy massively to avoid creating GUI entries manually.
2) sap msg.ini:
3) sap route.ini:
It is used to communicate with SAP Servers across the routers.
4) sap doccd.ini:
Note: code page specify the types of languages installed on the systems. Default
code page 1100 supports English and German. This is also referred as non-
Unicode.
Unicode support around 90000 characters supporting all the languages. But we
need to install the respective language using transaction SMLT.
SAP is SCP (Single Code Page) 1100.
19
20
Note: In order to communicate with gui we need to use only users of type dialog
(it should not be system, communication, reference user)
9) Menus are not displayed properly, fields or buttons are missing or menus
behave erroratical?
R) Go to visual design and set the system to logon language
Note: SAPGUI disappears with out living any message probably this could be due
to virus are checking the setting of GUI.
Note: GUI icon on the desktop is missing, copy the GUI icon from the installation
directory and paste to the icon on the desktop.
20
21
Note: GUI does not specify any error message increase the trace level in GUI and
check the flow of user request.
Note: Some of the icons are deactivated probably the user does not have
authorization
Note: Do not turn off sapgui crash in the registry
12) Document the frequently occurred errors in to a knowledge based so that end-
users looking to KB (knowledge base) before the report an error.
APPLICATION SERVER:
1) Login scenario
2) Task scenario
LOGIN SCENARIO:
21
22
7) If the content is accessed for the first time , it is converted OPEN sql to
NATIVE SQL of the database using DB client (DBSL library)
8) The request goes to database and handover the task to database processes.
9) Database process handles the request and sends the response back to the
work process.
10) R/3 work process checks, if the response is eligible for buffering & store a
copy in R/3 buffer.
11)The response is re-interpreted to sent it back to the user
12)Buffer sending the response it is stored in user context
13)User context is only accessed by the user (himself) and it is available till the
user session. If user log off the user context is no more.
TASK SCENARIO:
Roll-out:
The process of rolling out (save in the user related information) user
specific info into memory (user context) its termed as roll-out.
Roll-in:
The process of copying the user related information into work process
task handler (TSKH) is referred as roll-in.
NATIVE SQL:
22
23
1) Dispatcher
2) Work process (TSKH)
3) Buffer area
4) DB client
5) User context
6) Dedicated memory of CPU for work process
INSTANCE:
1) Dialog process
2) Background process
3) Update process
4) Spool process
5) Gateway process
6) Message process
7) Enqueue process
23
24
1)Dialog process:
2)Background process:
It is non-interactive process which is used to handle the jobs during off-peak
hour.
It does not require any user input and can run beyond 600 seconds. The 600 sec
limit is only for dialog work process. Dialog process defines Background jobs and
provides run time inputs has variants. There should be at least 2 background work
processes in the system. Background process runs various jobs during off-peak
hours for optimum utilization of system.
Ex: During day time load on the system will be more (dialog process)
During night time we create the load using background process.
3) Update process:
It is used to update the database from the temporary tables. There are 2
types of updates (normally 3 types V1, V2, V3).
4) Spool process:
It is used to print the documents. Dialog process defines the spool requests
that are to be printed. Spool process converts them into output specific format and
prints them in the background. As many spool processes can be configure
depending upon available resources.
5) Gateway process:
It is used to communicate between systems. There will be only Gateway for
each Instance. If Gateway is blocked, one could not communicate with the Instance.
24
25
6) Message process:
Even though it is included as a processing the architecture. But its purpose is
not specific to an instance. There must be only one message server in the R/3
system. It is used for the following
a) It is ménages all the dispatches
b) It is used to identify the least loaded instance in the landscape.
7) Enqueue process:
It is used to lock and unlock SAP objects. The consistency in the system is
maintained by using this process. In most of the environments there will be only one
process but it can be increased based on the requirements. Ex: critical update
system.
Enqueue process is also referred as enqueue server and in ideal situations enqueue
and message will be installed on the same instance.
D V E B G S [M] ----INSTANCE: all are them installed in one instance
D V [E] B [M] G S:------- Central Instance.
Note: Instance is nothing but application server
CENTRAL INSTANCE:
The instance on which message server and enqueue server are installed is
known as Central Instance. If the load on the Central Instance increases, we will
deploy dialog instances.
DIALOG INSTANCE:
It is used to provide dialog processes to the user. This will be installed in
addition to Central Instance to handle the load. Depending upon the situation a
dialog instance can be called as a spool instance, background instance update
instance, Enqueue instance.
DATABASE INSTANCE:
It is the third layer in the architecture and it is used to store the data of the
customers. It has the following components,
1) database server
2) own process management
3) dedicated CPU and memory
4) Database buffers.
Database uses native SQL language and data is dependent on the database.
INSTANCE NUMBER:
Instance number is a two digit numbers that is 00 to 97. 98 and 99 are
reserved for routing purpose. Instance number will be used as a suffices to access
dispatchers, Gateway and Message Server.
Dispatcher is --------3255
25
26
Gateway is ----------3355
Message is ----------3655
Installation Prerequisites:
Before we start installation we need to ensure that installation
prerequisites are met. If these are not met the installation may be aborted,
abnormally.
1) Define the host name of the instance as per naming conventions of the
company.
Ex: ERP_US_DEV, BW_US_PRD, CRM_UK_QAS
2) Get the static IP address from the system admin team.
3) Download the installation guide from the website
www.service.sap.com/instguides .
4) Download known problems smp/notes using search criteria installation
problems in 4.7 of SAP.
5) Java runtime environment (JRE) -- SAP installation tools or program using
java. So, in order to execute these programs we need java runtime
environment.
6) Install java and setup the environment variables.
ENVIRONMENT VARIABLES:
These are used to set the run time environment of the installed components
Ex: java con be installed in any drive or any slice.
C: \program files\java\j2rel 4.2_10
/usr/java/j2rel .4.2_10
/opt/java/j2rel.4.2_10
How the installation tools do knows that java is installed on that drive.
26
27
System variables:. There are used to setup the environment for all the users who
logs into the system. These are also referred as global variables. Because they are
available globally to all the users.
On UNIX environments set the path using command set. Or set these environment
variables in bash profile. If you use set command it will be set only for the session
and for that user only.
REQUIRED SOFTWARE:
27
28
CENTRAL SYSTEM:
If Central Instance and Database Instance are install together on one
system it is referred as Central System.
If the install separately on deferent boxes it is referred as distributed
system installation. In larger companies distributed installation is chosen. While
installing central instance and Database Instance, most of the companies configure
high availability.
HIGH AVAILABILITY:
It is to ensure that the system is up and running. Even though one of the Instance is
down.
Distributed System:
If Central Instance fails Database Instance gives live as well as Database Instance fail
Central Instance give live.
INSTALLATION UP TO 4.7:
1. select the sap R/3 enterprise 4.71 for oracle default for direct installation
2. MSCS for node A and MSCS for node B are chosen to install high availability.
28
29
.DATABASE SHEMA:
It is used to identify database. It is in the naming convention SAP <SID>.
Specify the database home.
Note: it is possible to have multiple homes.
29
30
Ex: English and German are supported by default. If you need to have chainees , we
need to install a different character set.
Select the option of install SAP system into a new database or install
(additional) SAP system an existing database.
System copy/migration, it is available sense oracle 9i, it is gives to install
multiple components on one database.
30
31
Character set, database home and path for the following directories
Sapark, sapbackup, saprebackup, sapcheck, saptrace, oraarch
There should not be any space between them.
specify the same password for service administrator and system
administrator
specify the kernel path
specify the listen port (if multiple databases are installed)
configure database with log files and data files
Specify the path for origlog A mirrorlog B , origlog B mirrorlog A in two
different drives on one physical drive.
Specify the export DVD’s path
Specifies the location for database directories
Specify DB code page as 1100
(select) load the packages according to the size of their data files
Specify the password for schema user (SAP SID) sys and system database
users.
INSTALLATION LOGS:
Go to installation HOME directory to check for the following
SAPinst.log
31
32
checks for the users SIDADM and sap.service.SID (used to run the services)
and execute
Check for the group SAP_SID_globaladmin, SAP_SID_localadmin, and
SAP_localadmin.
The 3 groups related groups
Database related gropes
1) ora_DBA
2) ora_SID_DBA
3) ora_SID_OPER
check services
1) saposcol
2) sap operating system currepted which is used to currept the os
resources that are required to start the instance , it is run by
sapservice_sid
SAPOSCOL has its own interface to start and stop saposcol
SAPSID_instancenumber: it is required for the instance if this services is
down
SAPSID_00: if service is instant specific
1) Listener service: it accepts the calls from the users. If listener is down we can
not connect to the database. even through database is up and down
Directories: start—run--\\willsys27
Use directory is created to work locally, shared mounts also created to access
this directory from other system.
1) saploc
2) sapmnt
These 2 directories are created to share the context across the landscape.
Database directories:
1) log files (redo log files)
Redo log files
Mirrlog A
Mirrlog B
Origlog A
Origlog B
Oraarch
32
33
Saptrace
Sapbackup
Saparch
Database files
Sapdata1
Sapdata2
Sapdata3
Sapdata4
How it is possible?
It reads from KEYDB.XML. it is used to document the steps of installation
If the prerequisites are not satisfied then the installation will be thrown into
error. Such as JAVA( in correct version ) , environment variables, corrupted
software (like missing DLL’s) host name, IP address , ports are blocked , database
out of space , no space in the disk , memory insufficient , power failure/abnormal
termination.
Startup: the system can be started as startup service, but it is recommended to start
manually.
33
34
It reads the
Startup parameters from start_DOl_<hostname>
Global parameters from default.pfl and
Instance specific parameters from <SID>_DO1_<hostname>
What happens when the instance is started---- it reads from startup profile and
starts the following:
1) Startup database using command strdbs.cmd and writes a log file into
stderr(standard error) 0,1 (work directory)
2) Starts message server using executable msg_server.exe and writes a log file
into stderr 0,1,2 (work directory) and dev_ms
(a) R3 Trans –d, it generates a terms. Log file in the directory where it is executed.
It gives you complete connectivity mechanism to database look for [0000] for
successful connectivity [0004],[0008],[0012] these errors specify there is a problem
in connecting to database . Get the error message like ora-1017, 12542, 12560 and
search for resolution in the market place.
(b) Error message says that tune is login problem check if you have changed
SAP<SID> password.
(c) Check listener control is started using command [Lsnrct1] and if started pointing
to the right port we can also start and stop listener service.
(d) Use command TNSPING <hostname> to resolve the host name.
34
35
Change in the password of service user SAP service <SID>, service SAP<SID>_00
is deleted.
Use sapstartsrv.exe to create the service and an entry in MMC.
if you could not trace the error we the parameter rdisp/trace=0,1,2,3,4,5 in
startup profile/default profile and start the instance to generate the log file .
Ensure that log is switched to off, it not your system will be out of space.
It writes log files into start 0, 1,2,3,4 & other developer traces.
1) check SICK/SM28
3) Configure STMS
35
36
SUPPORT PHASE:
It is use to support the existing projects companies like H.P, nestle, coke, G.E.
deployee 24*7*365 support to handle the run time issues which enables smooth
functioning of the system. They are various support levels.
LEVEL 1:
Support includes monitoring the health of the system. The Consultant
records the status of the system. [DB growth, job termination, performance, press
hold values etc. mostly it is a pro-active monitory. Create users change password
assign roles etc.
LEVEL 2:
Support Consultant resolve the issues which are routed escalated from level
one.
Escalation means it is the process of handling the issues. This could not be resolved
by lower level consultant with in time.
Ex: issues like DB growth. File system growth, programmatically errors,
performance bottleneck, verifying the check list routed from level one, getting
approval from BPO (Business Process own ) to assign/create/modify roles.
36
37
Production system downtime is costly. So sap immediately looks into the issues
by using remote connection.
SAP does not priorities test, quality & development systems & customer should
not expect immediate response.
In the support phase consultant work with check lists as part of a daily
activity It may be daily/weekly/biweekly for test/ devpmt , quality systems but
production system it can be hourly on for every 2.4.8.90, 24 hours. Depending upon
the business.
Apart from the above check list, support consultant needs to handle run time / end
user problems.
There should be a mechanism to handle end user requests and track the status of
the request.
There are various tools available in the market some of these are
1) Seibel
2) Remedy
3) SAP CRM
4) Synergy
User logs into the system or call, help desk to resolve his problem, based on his
employee ID the details are captured in the
Issue ID / case ID / Ticket / request ID
User key in description of the case along with the following statuses.
37
38
1) E-mail
2) Fax
3) A ticket from help desk
[Help desk is a system where all the end users will call for their runtime
issues, not only SAP, related to network, HR, financial, stationary. It can be
ticketing tool which categorizes the issues based on nature (type of activity)]
4) Verbal over the telephone :
It needs to be recorded and send an email for conformation.
5) Ticketing tool:
Users login their queries directly in the tool, it automatically router the
request to the respective consultant based on issues, severity and location
[TIDAL].
As the dialog process needs to serve 5-10 users its runtime needs to
be controlled if not the work process will be held by expensive users and the work
process cannot be used optimally use the parameter.
rdisp/max_wprun_time=600sec
Any task (job) which exceeds this time limit will be timed out.
SAP transaction:
38
39
LUW: it is a transaction where the data has to be committed completely or roll back.
It should not be hanging.
R) If you are able to login to the instance go to transaction SM50 and select the work
process and restart. Looking to developer traces.
39
40
When the work process uses heap memory it is said to be in private mode.
When the work process in private mode it is dedicated to the user request and can
not be timed out by max work process run time. In this case, either the work
processes as to complete the task or the entire memory (assign to your work
process) is exasted. If the private mode is restricting the system accesses
(bottleneck) on the system use DPMON to kill the process.
1) The report is timed out and the dump is recorded in transaction ST22?
R) If the report is timed out, give to max work process runtime, there are 2
possibilities to execute the report
It is used to schedule and run the programs in the background mode without
user interaction during off-peak hours.
Ex: Order processing, payroll run, delivery schedules, backup, patch applications
etc…
1) User logs into the system and desire to run a report (expensive or time
consuming)
2) As a report will be timed out user schedules to run in the background. Using
transaction SM36.
4) Background scheduler runs in the fore ground (dialog) for every 60 sec. and read
the table TBTCT, TBTCS to schedule the background jobs. Or with a frequency that is
specified parameter rdisp/btc time and checks.
5) Based on the available background process the report is run in the unattended
mode.
40
41
Go to transaction SM36
JOB CLASS:
There are 3 types of job classes. Which are specified to set the priority of a
job.
1) CLASS A:
It has high priority and these are process before the other classes. This class
required a background process of type A. (it is defined in operation modes). If type A
process not available, type A job will be waiting stage. Type a process can handle
only priority jobs such as payroll run, dunning report, account payables and account
receivables.
2) CLASS B:
It is used to schedule medium priority jobs, which runs periodically to collect
the performance data such as work load analysis, CPU utilization, database analysis,
buffers etc... There is no process dedicated to handle class B.
Spool list recipient: It is used to specify the output recipient such as prints, e-
mail Id’s, PDL (public distribution list), and fax.
41
42
1) ABAP programs:
Defining variant:
Go to SA38 or SC38
Specify the program name.
Execute.
Specify the inputs and save the inputs as variants.
Use menu go to
Variants
Saves variants
Specify the variant name and save the variant
Go back to SM36
Specify the program name and variant and save the background job.
After job:
To specify the depending job which needs to trigger this job, the start up of
this job depends on the success (or) failure of the dependent jobs.
Ex: Invoice should be created once the purchase order create the system
Go to RZ04
Define off-peak mode
42
43
Specify variant
Create peak-mode
Click on instance operation mode
Create instance by specifying startup profile and instance
profile and assign operation modes.
Go to SM03
Select normal operations
Click
Select assign and
Select the interval and select mode.
After event:
The job will be triggered after event, events are SAP specific events to trigger some
activities only system. Go to transaction SM62 to maintain the elements.
Ex: TP (transport protocol), triggers RDDIMPDP jobs.
Save the job: When the job is saving, the status will be released. The job can also be
defined by using external commands, external programs.
2) EXTERNAL COMMANDS
Some of jobs or BRconnect with parameters: -f cleanup these are house keeping jobs
which are scheduled in DB13. External command is define transaction command
CACL executed in SM49, define and modify in SM69.
3) EXTERNAL PROGRAMS:
This is used to trigger a program on the external systems. Specify the name of
the programs parameter and target host.
Go to SM37
Specify the user name or job name
Specify the job status.
43
44
Job status:
Schedule
Release
Ready
Active
Finished
Canceled
1) Scheduled: The background job is defined without date & time. Still we are in
the status of schedule until we specify start date & time or trigger of than job,
event or at operation modes or during factory calendar. (Starting of the
month, ending of the month).
2) Released: The job is specified with date & time.
3) Ready: The job is ready to execute and schedule a peck only a job which are
in the ready stage, the job is in the ready stage longer time there is a
bottleneck of background process.
4) Active: The job is running.
Job monitoring:
Go to SM37
Specify user name
Specify status
Start date or
Specify program name or job name
Execute
Jobs are displayed the list
Specify the jobs which are canceled and double click on it.
Go to job log to analyze the reason for failure
The following reasons because job failure we need to resolve the issue and restart
the job.
44
45
2) Database problems:
4) Interface Issues:
5) Memory Issues:
45
46
6) Programmatically issues:
Note: we can kill the job at any status i.e. Schedule, released, ready and active, but it
is not recommended to kill the active job. Especially the job will relate to update.
The job in ready state and could not be executed longer time we will move the job to
another server.
SAP defined certain house keeping jobs which are scheduled periodically to delete
lob files from database.
Ex: Background job logs, background jobs, which are completed or canceled.
Spool jobs completed or canceled.
Update job completed or canceled.
Scheduling:
Go to SM36
Click on standard jobs
Click on default scheduling
1) RSAL_BATCH_TOOL_DISPATCHING:
This is used for collecting the information and passing to CCMS. CCMS is used
for monitoring and razing alerts.
2) RSBPCOLL:
It is used to collect the information for job statistics.
3) RSCOLL 00:
It is used to collect the information for transaction ST03.
4) RSSNAPDL:
46
47
It is used to delete old ABAP dumps from the table SNAP, based on age.
5) RSBDCREO:
It is used to delete batch input files based on date, time and age. Batch input
files are the files which are coming from external system to create sales orders,
purchase orders, invoices etc…
6) RSBTCDEL:
It is used to delete old background jobs based on username, start date, end
date, age, and end status.
7) RSM13002:
It is used to delete old update requests.
8) RSPO0041:
It is used to delete old spool requests.
Update processes are used to update the database these are 2 types of
updates
1) V1 update
2) V2 update
1) V1 update: It is used to handle the updates with high priority or handles time
critical updates.
2) V2 update: These are used to update non critical updates.
Note: SAP standard programs are defined using V1 and V2 updates. If you want to
define our programs especially update we need to handle V1 and V2. However SAP
not recommended defining your own update programs. Because modularization will
be difficult.
47
48
Update Mechanism:
If the user is modifying a record the process communicate with enqueue process
to issue a lock on the record to update.
Dialog processes commit the transaction and get the transaction ID and respond
back to the user.
Update process reads the temporary tables and update the database
synchronously.
Temporary Tables:
These tables are used to store the data temporarily by dialog process update
process read the temp tables and inherits the locks and update the database.
48
49
TYPES OF UPDATE:
1) Local update
2) Synchronous update
3) Asynchronous update
1) Local update: It is used to update the database directly. Even though it is not
recommended. NATIVE SQL statements update the database directly. (It is
not advised and recommended).
2) Synchronous update: Update process update the database synchronously
reading from temp tables.
3) Asynchronous update: Dialog process updates the temp tables
asynchronously (not sure about updating the database.. we may have
transaction ID but it may not be updated in database.)
Update Monitoring:
Go to SM13
To monitor the updates based on the following criteria.
1) V1 executed
2) V2 executed
3) V1, V2 executed.
The following:
1) While updating the database, there is no enough space in the database. Ora1653,
Ora6132, Ora255, Ora273.
49
50
3) Lock problems:
Update process inherits the locks from dialog. But in some scenarios
deadlocks occurs. During deadlock inform both the users and leave the decision to
the users. ( to approve to release the lock)
4) Update is deactivated:
If the system identifies any inconstancy. It will deactivate all the entire
update mechanism.
Update reorganization:
rdisp/vbdelete to delete the update requests which are older than specified
age. Irrespective of status.
2) Use report RSM13002 to delete the old update requests which are
executed on the database.
Note: The update is thrown into error and the error is resolved but the update is still
with the status error. Select the update request and respect update (click on)
50
51
Note: It is also possible that update will be thrown in to error and could not update
the database. In this scenario we may need to recreate the transaction again, i.e.
when the system is terminated abnormally the update request may be lost in the
transit. in this scenario the end users are required to recreate transaction again.
ENQUEUE PROCESS::
Enqueue process ensures the system consistency by locking and unlocking process
during update.
By default there will be only one enqueue process defined in the central instance.
ENQUEUE MECHANISM:
To ensure that the record which is updated by dialog is not updated by any other
process, a lock needs to be obtaining on that record.
Dialog process communicates with enqueue process and obtains the lock.
Enqueue process receives the request and checks the enqueue table. If the lock is
available or it is issued to any other process. If the lock is not issued it tries into the
lock table and issued lock. (C.I)
The request is coming from a dialog instance, dialog process communicates with
message server and message server in term communicates with enqueue process to
get the lock.
The enqueue time on a central instance should not be more than 5 m.sec where
as in case of dialog instance it should not be more than 100 m.sec because it includes
RFC time and the time to communicate with message server.
51
52
ENQUEUE Monitoring:
Go to SM12
Specify the username, client and
Execute to display the list of lock objects as part of routine
maintenance. We need to ensure that none of the lock should
be older than 1 day.
Go to SM12
Check if the lock is obtained on the above transaction.
Identify the user and go to SM04
Check whether he has logged into system or not.
If the user is logged in get the contact details (SU01) and contact him
(verbal cal or mail)
User logs out of the system & the system (GUI) is connected to server
communicate with the user & get is approval to delete the session in SM0. ensure
that black & white (email) is obtain from the user.
ENQUEUE PROBLEMS:
Fig:
The Enqueue Process stores logs into enqueue table which is configuring the
parameters. If resides on the shared memory of the instance where the enqueue
process is installed. Increase the enqueue table by 8 mb, 12 mb, and 16mb.
3) DEAD LOCK
Apart of the transaction let us say ‘A’ is locked by user 1. Which is required
by user2? User 2 requires a part of the transaction let us say ‘B’ is locked by user1.
In this situation deadlock occurs. Inform the user to logout so that any of them are
continued transaction.
52
53
4) While updating a record dialog process gets the transaction ID from number
range buffer from the table NRIV. It is possible that there will be no numbers are
available in the buffer or NRIV interval is out of range. We need to concern
respective business process owners to get a separate range for that object in NRIV.
GATEWAY PROCESS:
There will be only one gateway for each instance. Gateway trace can be
increasing by using SMGW.
Gateway Problems:
2) Partner not reached (the specialized system is not available or the gateway
ports specified or the instance number specified or gateway service.
2) It is used to identify the least loaded dispatcher in an R/3 system (when logon
load balance is configured)
3) It is used to communicate with enqueue process to obtain the locks for a dialog
process when a request is coming from a dialog instance.
If message server is down the R/3 system is down, it is the first process to start
R/3 engine (R/3 level)
53
54
When the message server could not be reach ensure that port 3600 is not
blocked.
If the message server is down, it could be due to changing the H/W. changing the
host name or changing the IP address etc…
Message servers have it own parameters but there will be only message server in
the entire R/3 system.
It will be only one process which is used to generate output request. Such as
printing documents sending out emails, printing checks etc…
Mechanism:
‘G’ is file system which store the spool request in global directory.
‘DB’ – The spool requests are stored in the database. Database tables TSTO1, TSTO3
are used to store TemSe.
The printing will be faster because the OS files are printed specific and
communicates with host spooler to print the document.
Disadvantage:
If the file size glows searching for the spool request at OS level consumes time.
54
55
Dialog /background generate spool request and stored it global directory (OS level)
or TSTO1 & TSTO3 (db level)
Spool Administration:
Go to SPAD to define output devices, Spool server, access methods & destination
host.
Access methods:
It specifies how the spool process transfers (convents) into host spool system.
Spool process uses access methods to converts spool request into output
requests.
Spool process reads TSTO1 to identify the author name, printer name. no. of
copies, and the data to be printed from TSTO3.
If the spool process and the local host spooler reside on the same physical
machine it is strong as LAM (local access method)
Access method L: It is used on UNIX systems and output requests are transfer to
local host spooler.
Access method C: Access method C for the windows operating system. A spool
server transfer the output requests to NT print manager
If the spool server and the host system spooler resides in different machine
then its as remote access method.
55
56
Access method U: It is used on UNIX machine to output the data to remote system
using protocol Baskely.
Access method S: ‘S’ is used for windows to transfer the output data to a remote
system. Using SAP protocol ‘S’.
CONTAIN PRINTING:
It is used to print the document from the user desktop using protocol ‘f’.
The disadvantage of front end printing is background process is not possible and the
spool process is dedicated to the user request
SPOOL SERVER:
The instance if at least one spool process is called as one spool server.
These are defined logically for failed over and load balancing.
Specify description, specify the type of server which is used, specify logical server
mapping.
Select logical server--- click on allow load balancing provide mapping server &
alternate server and save it.
56
57
Click on new create prints ---- specify the output device as per naming
conventions. So that the prints can be easily identify by location and print purpose.
Specify device type—device type specify the type of printer & manufacture
specify the access method either ‘L’, ’C’, ’S’, ’U’, ’I’.
Note: Do not access host spools for output status. If you do not select the process
goes for every minute to get the status from host spooler.
Click on tab Output Attributes—to set the print cover and page setting.
SPOOL MONITORING:
Go to SP01 to monitor the spool requests and output requests. Spool requests based
on request RW, client, and author.
3) Waiting: Spool system has not yet processed O/P request not yet to host system.
4) In proc: The spool work process is formatting the out request for printing
57
58
5) Printing: The host spool is printing the O/P request. The status of printing is
displayed for 1 min and queries the status from host.Depending up on host spool. It
will either completed or error.
6) Completed: The system set the status to complete once the request is printed or it
does not receive any status update from the host spooler then it.
7) Problem: The O/P is printed but with in complete character set or with minor
errors.
In the spool request throws into problems it could be due to page settings or
due to character set problem. If the right character set like chines, Japanese is not
available write to SAP. After obtaining the character set from SAP import using
SPAD.
Error status:
2) The spool process waited for 600 sec and did not get the response from host
spooler and shows the status completed. But the user complains that the could not
generated the object.
4) The printer is available but due to technical reasons like out of paper, cartridge,
not available printing to a wring tray etc…
58
59
Spool Reorganization:
The spool requests needs to be clean from TemSe so that spool condition
never occurs.
There reports are used to checks the consistency and release spool locks.
Problems:
1) The spool server can store up to 32000 spool requests in the temse. If it exceeds
spool overflow occurs. We can increase the tem se up to 99000 if it is goes beyond
spool conditions occurs and the user cannot generate any spool requests.
R) Move out old and aged spool requests to an archived system or scheduled
standard background jobs (RSPO1041, RSPO0041)
Storage_free_failed
Spool request can not be generated spool process consumes more and
hour glass occurs while printing a document.
Uses complaints that status is completed but the document is not printed.
59
60
Check the temse size (i.e. SM21 AND ST22 specifies the error)
External Connection:
Go to SCOT
SAP connects to define paging server, SMS server, mail server, fax server etc…
While define the above interfaces ensure that device is working properly.
Select the out put format i.e. smart forms, list, PDF, txt.
Go to SCOT or SOST to monitor the messages that are triggered from sap system.
Ex: A tax msg is printout but it doesn’t reach the customer. It can be thrown in to an
error, canceled or waiting.
Go to SOST specify the send date & time and execute to display the status of msgs,
If the msg could not be send, select the msg repeat send in send process menu.
We can also display the transaction history and trace the msg.
MANAGING INSTANCE:
Instance is nothing but which provides memory, buffers, and processes to handle
the uses requests. We need to control the above parameters based on our
requirement & resources.
The Instance is started by reading parameters from startup profile. And default
profile and instance specific parameters from instance profile.
60
61
Go to RZ10—menu utilities--- import profiles--- of active severs now the profiles are
copied to d/b from OS level
1) Administration data
2) Basis maintenance
3) Extended maintenance.
The new version of profile is generated at OS level and existing profiles are renamed
as .bak
61
62
These are some dynamic parameters which can be changed in rz11 which are
identified by change value.
Go to RZ11
Specify the parameter
Click on change and set the value
These parameters lost the changes once the system is restarted. So you need to
change in rz10 and rz11 to remain the effect after restarting the server.
Requirement for parameter changes:
For increase the dialog process, in the ratio of work process to users is not met.
To control the user sessions i.e. user can not login multiple times, to end the
session if incorrect password is given.
OPERATION MODES:
Prerequisites:
Go to RZ04
62
63
Click on save.
Go to SM63
Save.
When the operation modes are switch it is logged as an event in system logs
SM21.
LOGON GROUPS:
There are used to assign the user request to the least loaded dispatcher. So
that users wait time is reduced. Log on groups are defined and assigned to instances.
User’s logon to logon group, the group identifies the least load dispatcher and
63
64
assigns the request total dispatcher. Message Server place on important roll in log
on groups.
Go to SMLG
Click on create to create logon group ex: sales group, material groups
Save.
Go to user GUI
Select groups
Specify system ID
In order to do this on various users, copy SAPMIG.ini and an entry in etc\host and
services to point message server.
Mechanism:
1) User GUI’s are updated with logon.ini, sapmsg.ini, host file and services file.
4) Message server goes to SMLG and based on the group identifies the instances and
communicate with all the dispatches and identify the favorite server and route the
request to the dispatcher.
Go to SMLG
64
65
Goto (menu)—load distribution ---- identify the instance and there response
time.
SERVER GROUPS:
Server groups are used the schedule background jobs either in the remote
system or in the existing system. It is similar to logon load balancing, but used for
RFC communication. While differing server groups we can specify max no. of work
processes, max no. of logon, queue length and wait time.
Data transfer:
In order to transfer the data from 1 system to another system, the system
needs to be communicated using a trusted mechanism.
1) R/2 connections:
There are used to communicate with R/2 machine and the connection type is 2.
2) R/3 connections:
These are used to communicate between R/3 systems like B/W, CRM, and ERP
connection type is 3.
4) TCP/IP connections:
Go to SM59
65
66
Click on create
Specify the RFC destination name SAPERP_TO_LDAP based on naming
conjunction.
Specify connection type 3
Specify the description
Click on technical settings
Specify the target host, system number
Specify the gateway host and gateway service
Click on logon security
Specify logon client, user, password
Save and click on test connection
Note: Do not specify a dialog user in RFC connection specify communication users.
It is used to communicate with the target system and waits for the response
unit. it is available some times the work process may goes into RFC+CPIC mode 0r
sleep mode.
It is used to communicate with target systems and does not wait for any
acknowledgement. It is not so reliable.
4) Queued RFC’s:
It is a type of TRFC but ensures that the transactions are reached the target
system based on queue (FIFO).
1) LSMW: (Legacy System Migration Workbench)
It is used to transfer the legacy systems data to R/3 system. This is used only
once during the implementation. (1 time data transfer). Functional consultants with
66
67
the help of business process owners identify the data to be transfer. (Identify the
data, mapping the data, parsing the data, truncating and padding)
Identify data
Custom data/employee/asser/vendars/suppliers
SCAT:
If the functionality could not met using LSMW or SM35 developers develop
BDC programs using function modules WS_UPLOAD, WS_DOWNLOAD, GUI_UPLOAD,
and GUI_DOWNLOAD. These are used for periodic or one time data transfer.
The systems are identifying by using logical system names which are defining
SALE.
Go to SALE
Define sending and receiving systems
And assign them to clients
Go to BD64
67
68
Transaction IDOC is used to check the programs and consistency between the
profiles.
Go to WE05
Specify the time or the IDOC number
And execute.
53 -- IDOC posted.
Out bound IDOC status is 1 to 40 while inbound IDOC begins with 50.
While monitoring IDOC’s customers provide the list of errors and the steps to
resolving the steps to resolving errors.
QRFC monitoring: (inbound queue)
It is used to monitor
68
69
Monitoring:
Monitoring the system for health check (preventive) to identify the runtime
issues like file system or database abnormal system, excessive paging, memory
utilization etc…
Each company has their own check list to monitor the systems, interfaces,
connectors etc…
Monitor the work process SM50
Go to SM50 or SM66
It specifies the serial number of work process, type of work process (dia, bec, upd,
pic, status…)
ps–ef |grep DW *
69
70
Some times the work process is ended status or running or hold. The various
reasons are display for the status.
Priv:
Sleep: cause of a resource of bottle neck. The process is communicated with either
SAP or non sap. The resources on a target system are not available to process the
uses request for data transfer
NUM: work process is waiting for a transaction id from the numbering stage. If its
wait for longer time their may be queue in numbering table or numbers are not
available in buffer.
70
71
Report: Specify the name of the report or program reach the WP.
CL: client specifies the client.
Action: It specify the type of action that is sequential read, direct read, physical
read, insert, commit, Rollin, rollout.
Table: name of the table. When the time is consumed by particular WP, select the
record to display the activity performed by the WP. We can display the select
statement, type db action, memory utilize based on this we conclude the following.
1) The memory i.e. private memory utilization if we user private memory very soon
it is going to be bottle neck.
2) Ensure that SQL statements coming from customers (starts with ‘Y’ and ‘Z’ are
not using select *)
We can also kill the expensive processes by using ‘cancel with core’ or ‘cancel
without core’
Before killing the WP, select the WP go to user info get the telephone num & inform
the user about the killing the session.
Use SM66 to display the global work process overview. I.e. the work process is
belonging to all the instances.
Go to SM66 to display the work process based on the status, these hold values like
response time, schedule time and transaction use, report and based on client , user
etc…
Scenario-1:
71
72
SM04 is used to display active user list based on instance. We can identify the
terminal, memory used by the user. (Go to terminal)
Based on the requirement we may need to logoff the user from the session.
Do not delete the lock instead delete the session as part of monitoring we will
monitor the no. of results lock on the system (instance)
We log into AL08 to identify the user in all instances. AL08 provides only snap shot
information.
SM51:
It is used to display active servers and the type of process config on the
instance. It is used to check the release note
Using SM51 we can log into other instance by double clicking on the instance name.
SM21: SYSTEM LOG
It is used to write all the important logs. Ex: work process startup, WP shut down
It writes operation mode switch, log all oracle related errors (ora-1631,1632…),
program timed out.
As part of the check list we need to identify the issues which are colored in red.
SAP has everything built with programs if any one of the program could not be
executed .it is thrown into error.
ABAP dumps are stored into SNAP table in order to delete dumps based on age
RSSNAPDL.
72
73
2) If the program is timed out due to excessive memory i.e. each process can trace
around 2GB. If it seem beyond terminate it and records in ST22.
4) The programs are terminated due to mismatch of kernel executives (OS, D/B, and
R/3)
The above problems can be resolved b applying patches, support packages, tuning
the programs (developers), creating indexes, running standard background jobs
periodically, the other ABAP dumps could be
SM50: Check the status of all process and report if any abnormalities are found i.e.
work process that are running for longer time.
SP01: Identify the spool requests that are not converted to output requests, we may
need to report based on the status (problem, error, +, -, waiting)
SM37: Identify the background jobs that are running in the background mode with
status (cancelled and ready)
73
74
SM13: Check for long pending updates based on time and users.
DB02: The table space with above 90% is critical check for missing indexes and
report if any.
ST02: Check for buffers and report swaps if any (swaps are displayed in red color)
ST04: Specify the database buffers his ratio ensures that it always greater that 94%.
ST06: Check the CPU idle time. It should be always greater that 30%
ST07: Check the work process / users/instances inform if the distribution is odd.
SM35: Check for the status of batch input programs logs select the job and click on
lob
Disk quotas:
C:
D:
E:
F:
G:
/root
/user
/oracle
/oraarch
/tmp
OS version ------------- patch version -----------
74
75
Web as release---------
Basis
ABAP
APPL
HR
Go to RZ20
It displays CCMS monitor sets. CCMS is used to create out own customizes alert
monitoring system. But mostly we will try to adopt the SAP standards
Go to extras
Active maintenance function on us can create our own monitors. Copy monitors,
modify, display.
The data which is hold (it is defined during implementation) and not required for
any updates is eligible for archiving. Archiving perform the following circumstances.
75
76
Process of archiving:
Get the requirements from business process owners. This is expensive. Involve
functional consultants to identify the objects.
Go to DB15
Go to
Select the output
Define write, delete, read, reload, and process.
Specify start date, spool parameters to inform and maintain the variant.
Note: Third party tools like archiving IXOS are use to perform archiving. Archiving
cannot increase performance. We need to perform db reorganization soon after
archiving.
76