1. If SAP is down first what we should check?
For ABAP:-
Ø check the trace files Dev_Disp, Dev_W01, Dev_Disp02
Ø Check database is running or not.
Ø Check connection with database (i.e., tnsping, R3trans -d).
Ø Check processes or services at operating system level.
Ø Check whether file systems are full
Ø Check database specific error log file.
Ø Check the hardware
Ø Check the work process
Ø Check Start up/shut down log files in root directory.
Ø Check operating system log files.
2. If any problems come after upgrading the kernel what we should do?
Ø Check the dew_disp and other dew_w* trace file
Ø Run the command "cleanipc" and then try starting sap
Ø Change the file permission in directory usr/sap/sid/sys/exe/run
Ø Some times change the OPS$ password also
Ø Run the program "sappfpar check pf = /usr/sap/<SYSTEM NAME>/SYS/profile/<Profile name>.
Ø Run root.sh to adopt the file permissions
Ø Restart the server to free-up the shared memory
3. What is the command to start sap after kernel upgrade?
Ø Saproot.ssh
Ø Oraroot.ssh
Ø If system is not coming up check the SAP and DB connection using command r3trans –d
Ø Check the log files like Dev_desp, Dev_W01, W02 etc
Ø Check the permission and can change permission using command CHOWN
4. What to do when SAP system is very slow?
Ø In ST06 check the response time of CPU, Memory, Disk, filesystem, LAN Response time.
Ø In ST02 check buffer quality if many fields are red, investigate each fields dependant parameters. Check the hit ratio of Roll area, Page area, extended memory and Heap Memory.
Ø In ST04N check the hit ratio of DB, Hot ratio should be more than 90%
Remove the unwanted job scheduled
Ø Check for proper configuration for operation mode in RZ04.
Ø Check the number of work process running, waiting and private mode.
Ø Check the file system and table space free space.
5. What is the boot sequence of SAP system?
The Startup script will start the sapstart binary which will read the start profiles (/usr/sap/SID/SYS/profiles/START_INSTANCE_HOSTNAME) and get all the information like Hostname, System Name (SID), instance number.
Once the information are available the script will start the dispatcher which in turn will read the instance profile and starts the server like, Database, Message Service, Enqueue Service, Dispatcher Service. The dispatcher in turn will start all the Work Process Services.
Once the information are available the script will start the dispatcher which in turn will read the instance profile and starts the server like, Database, Message Service, Enqueue Service, Dispatcher Service. The dispatcher in turn will start all the Work Process Services.
6. Difference between Unicode and non-Unicode?
Unicode:- Most of the SAP implementations are done on Unicode system as it support all kind of languages, which is good for a company to expend their business. Another thing is Unicode system requires 70% more storage area and processing speed to run the system perfectly.
Non-Unicode:- Non-Unicode system support only one language and requires less storage and processing speed compared to Unicode systems.
7. How to import the transport request at operating system Level? When importing a transport request, what are the common errors you faced?
Copy the data files and co-files to respective folders in usr/sap/trans path.
cp –p <directory path of data> /usr/sap/trans/SID/data
cp –p <directory path of cofile> /usr/sap/trans/SID/cofiles
With the option ‘–p’ the owner of the copied file will become the same as the target directory (user and group). Therefore ‘chown’ is not needed.
Example
kvxi115:x82adm 11> cp -p R902263.UB0 /usr/sap/trans/data
kvxi115:x82adm 12> cp -p K902263.UB0 /usr/sap/trans/cofiles
Ø Implement transportation up till release 4.6
tp addtobuffer <transportnumber><targetsystemname>
tp import <transportnumber> <targetsystemname>> targetclient> <unconditionalmode>
tp addtobuffer <transportnumber><targetsystemname>
tp import <transportnumber> <targetsystemname>> targetclient> <unconditionalmode>
Example:
tp addtobuffer <SID>K901234 <SID>
tp import <SID>K901234 <SID> client*** U18
Ø Run transport from 6.10 release
Example:
tp pf=TP_DOMAIN_<SID>.PFL addtobuffer <SID>K901234 <SID>
tp import pf=TP_DOMAIN_<SID>.PFL <SID>K901234 <SID> client*** U18
tp pf=TP_DOMAIN_<SID>.PFL addtobuffer <SID>K901234 <SID>
tp import pf=TP_DOMAIN_<SID>.PFL <SID>K901234 <SID> client*** U18
Error codes:
Code 0 or 4 = Transport has gone well. Code 4 is a warning.
With SE01 investigate the problem. Solve the problem and attach it back to the customer
Code 8 or higher = Transport is performed only in one of the transport steps is an error. With SE01 investigate the problem. Solve the problem if possible and attach it back to the customer
In the directory/usr/sap/trans/log or /usr/sap/trans/<SID>/log is a file named ALOGYYWW. YY is the year and WW is the week. ALOG0416 is the log of week 16 of 2004. In this file is the exported transport report of transport including the error codes per transport. See Section 5.2 for the mistakes.
SAP Basis Release 6.10 from each area in a landscape has its own log file com ALOG0416. (WBT) and ALOG0416. (WBP).
8. What is the path of support pack?
Before Uncar: - Usr/sap/trans
After Uncar: - Usr/sap/trans/eps/in
9. What is the path of kernel?
Usr/sap/sid/sys/exe/run
10. What are the ways of support pack implementation?
Load from front end if the size is less than 20MB
Load from application server
11.What are the files we get after we uncar the support pack?
.PAT and .ATT
.PAT contains data and .ATT contains attributes size and pre-requisites
12.What is the difference between support pack and Add-On?
Support pack is a bunch of NOTES and contain fix for existing component - SPAM
Add-On contain new component – SAINT
13.Which table will be updated when support pack is applied?
PAT01 and PAT03
14.IF any problems comes when applying support pack what we should check?
Ø Check the log in USR/SAP/SID/TRANS/LOG directory. Mainly check for Slogs
Ø Check the logs in WORK directory. Path: USR/SAP/SID/DVEBMGS/WORK
Ø Go to à SPAM à Action log à Import log
Ø Check the version is matching or not
15.What are the phases of support pack
Ø Preparation module
Ø Import 1 Module
Ø Import2 Module
Ø Cleanup Module
16.What is the command to uncar the support pack?
Sap uncar.xvf filename
17.What is SAP NOTE?
NOTE contain the corrections for the existing components.
18.What we should check before apply support pack?
Manual corrections
Correction instruction
Check for child note
19.How does SAP ABAP and JAVA stack will communicate?
Will happen through UME à User management engine.
20.What is the difference between System Trace, Developer Trace and System Log?
ST01 - System Trace which will be required when you want to record trace for system
ST05- Performance Trace (Developer Trace) which is required when any user
Complaining for a long transaction and you want to record all activity of Transaction.
SM21- System log is for the recent logs for your CI and application server. What ever happen in SAP it will write a system log.
21.What is a logical System?
The system which is connected locally is called local system. For this kind of system there will be no transport layers and routes.
22.Stop/start procedure?
Stop: If windows OS is there then only we should some time stop services
First stop dialog instance
Central instance
Stop SAP services
DB
Stop DB services
Start: If windows OS is there then only we should some time start services
Start DB services
Start SAP services
Start DB
Start central instance
Start dialog instance irrespective of JAVA/ABAP
23. How to start java Through SAP?
Starting
1. Log on to the host of your central system as the SAP administrator <sid>adm.
2. Enter startsap ALL to start SAP NetWeaver Java.
The database, all Java instances, and all other processes for your system are started on this host.
Stopping
3. Log on to the host of your central system as the SAP administrator <sid>adm.
4. Enter stopsap J2EE to stop SAP NetWeaver Java.
Note: The command Stopsap with the switch J2EE does not stop the database simultaneously. If you want to stop the database simultaneously, use the command stopsap or stopsap ALL.
*In SAP level JAVA can be started and stopped in RZ03 T-Code. *
24.Use of logon load balancing?
Logon load balance is used to identify least loaded instance (If multiple instances are running) and route the user request with the help of message server.
25.Printer Installation and troubleshooting?
Printer can be configuring using the T-Code SPAD.
Basic requirement to configure the printer is
1. Host name, Location, Model, Host printer.
2. Decide the 4 digit queue and ask UNIX team to create
3. Create printer in SAP using SPAD T-Code
4. After configuring printer check the print status in SP01 (Should give green color status)
Troubleshooting of printers:-
1. Generally printers will not work if the printer Name or IP is changed.
2. If defined wrong printer queue in OS level
3. At OS level you can use lpstat command and check the status.
26.Transport domain and domain controller; directories in usr/sap/trans ?
Transport Domain:- Transport domain is the one which will manage all other systems and will have shared access to the transport directory so that transport can be performed centrally.
For example if we have configured TMS for 3 system landscape we can perform transport for all systems by login to one system
Trans directory contains the subdirectories like
1. Data files – Which will hold data files while doing transport.
2. Co-Files – Contains Co-files
3. Logs – Contains logs of transport performed, Mail we should check for S-logs for transport and support pack errors.
27.Standard Jobs?
SAP_REORG_ABAPDUMPS
SAP_REORG_BATCHINPUT
SAP_REORG_JOBS
SAP_REORG_JOBSTATISTIC
SAP_REORG_SPOOL
SAP_REORG_UPDATERECORDS
SAP_COLLECTOR_FOR_PERFMONITOR
SAP_COLLECTOR_FOR_JOBSTATISTIC
SAP_CCMS_MONI_BATCH_DP
28.Client Copies
§ Client copy in different landscape for different customers.
Local client copy: SCCL
Remote client copy:
Client Import/Export
Step by Step Procedure to copy a Client to the Remote SAP Server.
Logon to destination SAP server
Use Transaction Code SCC4
Go to change mode
Create a new client; assign client number & description as per request Logoff from current client.
Login to newly created client in destination SAP server using the following credentials:
i. Client Number : Newly created one
ii User Id : SAP*
iii Password : PASS
Use Transaction Code SM59 to create a RFC Connection for client copy if does not exist already.
RFC Connection should have Target Server as Destination and the test results should say “Connection test OK”
Use SCC9 Transaction code to go to client copy screen.
Give profile as per the request.
Select RFC destination created for the purpose for the source client to client copy
Use Transaction code SCC3 for monitoring the progress of client copy
Step by Step Procedure to Client Import/Export
Export Client
Run SCC8
Select the profile type Ex: SAP_ALL, SAP_USER
Select the target system
De-Select the test run
Run Export
Three transport requests will be created
1. SIDKO00353" for transporting client-independent data
2. SIDKT00353" for transporting client-specific data
3. SIDKX00353" for transporting client-specific texts and forms
Client Import:
Create client (scc4)
Login to client (sap* - pass)
Manually add "O" transport then "X" then "T" to TMS buffer in STMS
Import the transport requests to the system.
Check the log file in usr/sap/trans
After Import is complete perform "post processing steps" from client tool (SCC7)
29.Users not able to login to SAP?
Could be oraarch directory full (Archive stuck)
Could be no free work process (All work process are in private mode)
Table space full
Network issue.
User could be locked or expired
30.All the Background work process is occupied? How can u increase?
When all work process are occupied you cannot login to SAP from SAP GUI, so the only one way is to edit the instance profile in OS level and change the background work process parameter in RZ10.
31.Find Command in UNIX?
Ps -ef|grep sap (to check SAP process in OS level)
Ps -ef|grep db (to check DB process in OS level)
Df –k (To check the free size)
Df –h (To check the free size)
Df –g (To check the free size)
Alter database backup controlfile to trace (To generate control file)
Alter database open resetlog (To reset the log sequence number after system refresh)