Anda di halaman 1dari 17

A Basic Technical Troubleshooting Perform initial analysis.

Identify if something has changed (software or hardware installation, scripts, profile parameters, database structure). System (hardware) is down: Check console messages. Reboot and keep important system log files. Check hardware components. Analy e with diagnosis tools. !scalation procedure" call hardware support. Check main log files. Analy e with diagnostic tools. #tart up$shut down log files. Check operating system log files. Identify other problems (startup$shutdown, disks and operating systems, database, operational R$%, performance). Startup and shutdown problems (R/3 and application servers) &. Check processes or ser'ices at operating system le'el. (. Check whether database is up. %. Check connection with database (i.e., tnsping, R%trans )d). *. Check whether file systems are full. +. Check for network problems in the ser'er network. ,. Check backup log for problems after backup. -. Check for problems after system crash. .. Check for problems with P/C file ser'er. 0. Check files permissions and authori ations. &1.2anually start up or shut down database and then the application ser'er. &&. Check hosts and ser'ices files. 3hether you are trying to start a brand new #AP instance, or an old one, there are some 'ery specific places to look for information. If this is a brand new #AP instance, and the installation completed &114 successfully, you know that the instance itself must be 'iable. If your installation was ne'er able to complete due to the instance not being able to start up, the issue is probably due to lack of resources. 5se the sapinst directory to search the installation logs and find your

problem. #ort them with 6ls 7 ltr8 is see the list sorted in descending order for the ease of 'iewing. If you ha'e a test searching tool, look for 6error8 in all files with the suffi9 6.log8. If your #AP instance has been up and running fine for a good while, then something has probably changed that makes it not come up. : ha'e you changed any instance paramters; : did you do a kernel replacement for some reason; : ha'e there been #AP #upport Packages applied that might necessitate a kernel replacement; : ha'e there been <# patches; : is the database archi'er stuck or hosed; : has a crucial directory run out of space; : has a semaphore or ipc segment gotten stuck from a pre'ious run; : is your memory so fragmented that it can=t get enough primary space to start the instance; : has someone changes the directory pri'ileges; >o in'estigate an unsuccessful start up, look at the logs in the $home$?sid@adm directory. #ort them with 6ls 7 ltr8 is see the list sorted in descending order for the ease of 'iewing. If nothing ob'ious is found, go to the $usr$sap$?#I/@$/A!B2C#11$work directory and do the same thing in this directory. >he most useful information can be found in the de'Dw9, de'Dms, de'Ddisp, de'Drfc9, and stderr9 files. If all else fails, ip the contains of the$usr$sap$?#I/@$/A!B2C#11$work directory, open a problem with #AP, and attach the ipped file to it. Also pro'ide them with the answers to the abo'e Euestions as well as your current hardware and database platforms, patch le'el for #AP support packages, kernel, and the <#, and anything else you might think useful. SAPGui Troubleshooting If a user seems to be e9periencing #APCui errors, se'eral things need to be checked" : Is the operating system on the user=s workstation patched to the le'el recommended by #AP;

: Is the user using a 'ersion of #APCui that is too old for his workstation; : Is the user using a 'ersion of #APCui that is not certified for his operating system; : Is the user=s workstation ha'ing resource problems; : Is the user=s workstation connected to the FAG; : Can a different user reproduce the same error on the same workstation; : Are there any #APCui patches that ha'e not been applied; 2ost #APCui problems can be sol'ed by either a) deleting and reinstalling #APCui on the workstation, or b) deleting and installing a newer 'ersion of #APCui. 2ake sure that these lines were added to the ser'ices file on the user=s workstation" After you ha'e successfully configured your #APCui, add these three lines to the bottom of your H3indowsHsystem%(Hdri'ersHetcHser'ices file" sapdp11 sapmsR%I I %(11$tcp %,11$tcp

If you ha'e #AP Instances using #ystem Gumbers other than 11, you will ha'e to add their eEui'alents to the ser'ices file as well. Also, check if you are ha'ing connection problems due to firewall restrictions. And, be sure that your Insert Jey is set so that you can type your password in properly 7 you can delete whate'er is in the password field in order to enter your password. If you ha'e ne'er tested connecti'ity to a #AP instance on the workstation ha'ing the connection problem, first you need to make sure that the workstation can connect to the #AP ser'er in some nonK #APCui way. Fet=s say your user us trying to connect to #ystem I/ (#I/) /!A, #ystem Gumber 11, and IP address &1.&.&1.&&. <pen a /<#K3indows and type this" telnet &1.&.&1.&& %(11L If the screen rolls and goes totally blank then your dispatcher is reachable. Mou can close the /<# session. If your window ne'er goes

completely blank and you set a NConnecting >o &1.&.&1.&&... Could not open connection to the host, on port %(11" Connect failedN error message right under the command you entered, the dispatcher is not reachable. Also, make sure the H3indowsHsystem%(Hdri'ersHetcHhosts file on the workstation is correct. Oor information regarding operating system, resource, and hardware reEuirements for running #APCui, see #AP Gote (,*&- K #AP C5I Resources" Pardware and software. Operating system problems &. (. %. *. +. Check Check Check Check Check operating system log and e'ent 'iewers. disks and file systems. directories and permissions. path names. security.

When file system is full what need to be done? Database problems 3hat is the database administration tool supported by #AP for oracle database;(1r) 3hat is BR><<F# ; (1r) Pow to access BR><<F# ; (1r) Pow to add or e9tend datafiles in sap system based on oracle database; Pow to check database, tablespace si es in #AP ; #tarting and stopping database Refer to startup problems. Check database specific error log file. /atabase storage status Check database error numbers. Check database alerts. How to check database, tablespace sizes in SAP ? How to view database parameters at SAP level ? How to add or e tend datafiles in sap system based on oracle database ? Analyzin! e pensive S"#s usin! S$%&'S$(( )dentifyin! e pensive S"#s usin! S*&+

Pow to 'iew database parameters at #AP le'el ; Pow to add or e9tend datafiles in sap system based on oracle database ; R/3 application operational problems &. Check whether all users are affected. (. Check whether there is no work at all, or whether work is Qust limited. %. Check whether application ser'ers are a'ailable (#2+&). Check with standard monitoring transactions" #2+1, #21*, #2&(, #2&%, #>((, #2%-, and #P1&. *. Check trace files on work directory (/usr/sap/<SID>/<instance>/work). +. Check #AP systems alerts. ,. Analy e database problems. SAP System Response roubleshooting

&.3hat has changed since the performance is poor; #ystem Parameter Changes (RR&1); Increase in the number of users; Jernel patch; #upport Packages; Finu9 and <racle patches; Pardware Changes; (.Any signs of general problems in the #ystem Fog K #2(&; Places to look: SM50" Process >race Components 7 is there a >race le'el set; Is it greater than &; 3hat is the utili ation of the work processes; Click the white clock pictureKicon. Is the total CP5 for the last dialog process @ &1 minutes; ST04" Is the database monitor acti'ated; If yes, it should deacti'ated it in normal operation.

ST02" Check the buffering Euality. If paging occurs in a buffer, the corresponding parameter should be increased. Also refer to #AP Gote &(&,(+ in this conte9t. ST03" #elect a ser'er >odaySs 3orkload" 3hat are the response times; In the case of poor response times, where is most of the time needed; Button S>op >imeS" Are there a lot of different transactions with poor response times or are there only a few; Is a certain transaction always slow or only sometimes; ST06" /etail analysis menu Pardware Info. >o which e9tent are the hardware resources utili ed; Call #>1, at times with poor system performance. 3hat is the CP5 utili ation; Coto Current /ata #napshot >op CP5 processes and display the main CP5 consumers. 3hat is the utili ation of the disks; Pow high is the paging in the base pool; *. If only few transactions are affected by the performance problem, you should additionally note the following points" &. Check whether modifications were made in the affected or related transactions. (. #>1%" /isplay the corresponding performance records. %. #!%1" Carry out a runtime analysis for the affected transactions. *. #>1+" If the database times are high, you should generate an #TF trace of the affected transactions to find out whether the database access is carried out in a useful way. +. Fook for tables that ha'e e9perienced unusual monthly growth. &. /B1( #pace #tatistics button (. Press !nter on the >ables and Inde9es popup %. Pistory All obQects off$on *. Click the 2onths button +. Click on the first number under the Rows 7 Chg$2onth header and click the #ort button. ,. >he sorted results shows the top tables when it comes to rows changes per month. >hese tables are your 6database hogs8. ,. 3hat is considered 6normal8 response time;

Per!ormance Standards" Response time KK & second (dialog), ? & second (update) CP5 time KK appro9 *14 of a'erage response time 3ait time KK ? &4 of a'erage response time Foad time KK ? &14 of a'erage response time /B reEuest time KK appro9 *14 of a'erage response time Database Standards" /irect reads KK ? &1 ms #eEuential readsKK ? *1 ms Changes KK ? (+ ms High Value Indications: /B reEuest time 7K /atabase or inde9 problems Foad time KK Buffer problems 3ait time KK Got enough work processes Focked tasks Fong running transactions SAP S ste! hang" Can you access your #AP; If yes, check #2(& for problem log check #2&% for update deacti'ated check #2+1$#2+& for workprocess full If you canSt access #AP, check for filesystem full (usually archi'er full) check CP5$memory usage 5GIU <nly" K check for listener ser'ice, up or not K check whether there are two listener ser'ices running or not, kill one if any.

Speci!ic operational problems

#$Proble!s %ith &rinting A. Check network. B. Check #P1&$#PA/ spool reEuest logs. C. Check system log.

How to confi!ure printer in SAP ? 3hat is spool o'erflow ; Pow to delete old spool reEuests ; Pow to troubleshoot spool o'erflow ; Pow to a'oid spool o'erflow issue ; Pow to check spool numbers; Pow to set the spool number in #AP ; Pow to define storage location (>emse) of spool reEuests ; what is spool overflow ? How to troubleshoot spool overflow issue ? 3hat does spool reEuest contain ; 3here is the spool reEuest stored ; 3hat are different #pool statuses and their significance; 3hich workprocesses will create spool reEuests; 3hat is the difference between spool reEuest and output reEuest ; 3hich workprocess will create output reEuest or print reEuest; Pow to configure printer in #AP ; (or) 3hat is the >code to configure printer in #AP ; (or) Pow to check the spool reEuests in #AP ; What are the different Spool statuses and their si!nificance? 3$Proble!s %ith lock entries A. Check lock entries. B. Check update process. How to delete an SAP lock ? 4$Proble!s %ith u&'ate &rocess A. Check update process. B. Check database. C. Check network connections. ,pdate !ot deactivated- What are the reasons for update deactivation- How to activate the update? 5$Proble!s %ith en(ueue A. Check database. B. Check instance parameters. C. Check operating system processes.

What is lock table over flow ? How to resolve lock table overflow issue ? 6$Proble!s %ith !essage ser)er A. Check processes. B. Check network. C. Check log files at work directory. *$Proble!s %ith backgroun' &rocessing A. Check Qob log. B. Check background system consistency. C. Check file systems. /. Check system log.
What are the different back!round .ob statuses ?

How to find out lon! runnin! .obs in SAP ? How to schedule /asis standard .obs ? *roubleshootin! lon! runnin! .obs )dentifyin! lon! runnin! .obs +ong ti!e in rea' status in'icates &. >he e9isting Qobs are running for a long time i.e. e9pensi'e programming or sEl statements$fetching huge amount of data. (. >he configured B>C processes are not sufficient to handle the reEuests in Ready status. %. 2ay be due to hea'y load on the system *. Also due to passing the Qobs by e9tending scheduler time$ making B>C to 1 by running the program B>C>RG#&. Action" &. Increase B>C work processes based on the a'ailable resources by using the parameter rdisp$wpDnoDbtc V ( (. #chedule the Qobs appropriately during off peak hours.

BT, in acti)e status -long ti!e recor'e'. >he Qob is running an e9pensi'e acti'ity like client copy, pay roll run Wobs that fetch information from B3 systems, annual reports, dunning reports may take hours together or e'en days to complete successfully. Acti'e indicates the following &. Wobs are e9pensi'e and running to fetch the content. (. Wobs are waiting to be processed by the target system (ROC, CPIC) %. Wobs are waiting for the locks to update the records. /easons an' /esolutions A,T012$ &. #ome Qobs are bound to run for hours and based on history lea'e them to run. (. Check the bottle neck on the target system (!RPKBIK!PK#R2K#C2K #R2) %. 3ait until the locks are released$ Qobs are completed. Report to #AP in case of dead locks. #elect the status K /b click K and click on Wob Fogs /easons for cancellation of 3ob &. 5ser and password Issues (Authentication$ Authori ation) user lock, userid e9piry, password change, lack of roles etc. (. Oile system problems" B>C reads from the file system to update the database. Oile not opened, or corrupted, file sharing issues, file came with different characters, file not found as well. %. Aariants are not properly defined. *. /ead locks issue (Fock mechanism congested) +. 5pdate mechanism failed ,. >able space o'er flow (<RAK&,+%X <RAK&,+*) -. >able space ma9 e9tent reached (<RAK&,%&X <RAK&,%() .. Archi'e struck (<RAK(++X <RAK(-()

0. >he memory is not sufficient and errors (Go Roll Area, PUA (Buffer), Page !rrors) &1. Problem in the program and inputs (Indefinite loops like I$<) &&. /ependent Qobs$e'ents failure &(. >arget systems are not a'ailable to process the Qobs. B>C logs are deleted by scheduling R#B>C/!F which deletes the log files from >B>CY based on the time inter'al in the Aariant #A%.. 4$Perfor!ance &roble!s &. Perform workload analysis. (. Perform debugging. %. Perform runtime analysis. *. Perform #TF trace. +. Check for operating system problems. ,. Check disks for input$output bottlenecks. How to activate a *race for a user in SAP system ? How to avoid *)$012,* dumps in SAP system ? 3hene'er a #AP Program (ABAP program) could not be e9ecuted due to an error it will be thrown out from the C5IK #creen and a dump is recorded in #>((. &. >I2!D<5> error" >he program reEuires more time than the time defined in rdisp$ma9DwprunDtime (. 2emory related issues with error message PUA, #3AP, PAC!, <5> <O 2!2<RM. >his error reEuires memory corrections to the parameters. Error:
No PXA Storage Space available

modify the profile parameter abap/buffersize and increas the size from 150000 to 300000. You will have to restart your application server to get it activated.

%. Program Corrections" >he problem is with #AP standard program for which #AP pro'ides a correction through notes (>he correction can be applied through #G<>!) *. Customer defined programs (SMS, SRS) consumes more memory, endless loops, improper select statements etc. >he program needs to be corrected by the de'eloper. +. !nEueue >able <'erflow" #2&( What is lock table over flow ? How to resolve lock table overflow issue ? ,. 5pdate /eacti'ation " #2&* ,pdate !ot deactivated- What are the reasons for update deactivation- How to activate the update? -. /atabase issues like table space o'er flow, ma9Ke9tents reached, archi'e stuck. 5rror:
>ablespace o'erflow happens when an obQect reEuires a new e9tent but there is either no freespace or insufficient freespace in the tablespace.

Add a data file to e9tend the tablespace while the database is online to a'oid downtime. Reorgani e the tablespace or single obQects /eallocate free space.

.. Illegal time" (/ay light sa'ings) K /uring day light sa'ings the system date and time has to be changed. #top the A# and change the date if not, the abo'e error occurs. 6$Trans&ort &roble!s What is 3han!e and *ransport System43*S5 in SAP ? How to import transport into an SAP system ? *roubleshootin! lon! runnin! transport How to import a transport manually at 2s level? /o you ha'e any idea about Change and >ransport #ystem in #AP ; or !9plain about >2# (>ransport 2anagement system) in #AP ; or

3hat are the transport tools in #AP ; or 3hat is the functionality of >P and R%trans in #AP ; Pa'e you done any transports ; !9plain the process to do the same ; Pow do you troubleshoot a long running transport ; (or) 3hat actions do you take when a transport is running for a lot of time (or) Pow to terminate a long running transport; (or) A transport is in truck status for unusually long period of time. 3hat could be the reason ; Pow do you troubleshoot (or) >ransport is not getting terminated and all your other transports are pending to be imported. Pow to terminate this long running transport ; Pow to import a transport manually at <s le'el ; /esolution &rocess
&. (. %. *. +. #earch or #APnet notes for hints, solutions, or workarounds. !scalation" enter message on #AP hotline or #APnet. !nter problem on hardware partner hotline. Oollow problem actions and #AP indications. Apply patches and correctionsX test and 'erify results.

Proble!: S ste! gets struck

It happens mostly when archive area is overloaded. Check the archive file system. Start archive backup immediately. If, your archival backup is not running switch archive to new destination Problem: ABAP Dump Not always the problem is technical. Check the nature of the Dump. Review the application data amp! program with the concerned. Problem: Field exits are completely ignored "ake sure your S#$ profile parameter contains the option abap%fielde&it ' yes.

Problem: Rollback segments are too small (efore increasing the rollback segments you should verify your programs. )ery often the problem belongs to them. SAP PARAMETER MA !TA !A!"E #R$%&'R$%%(
How to chan!e SAP parameters ? What is the difference between dynamic and static parameter How to activate automatic sap6 user in sap? How to chan!e the number of workprocesses

RF" #SM)*)
How to create an 783 3onnection in SAP ? 9ifferent types of 783 communication in SAP

*hat is an R+C , *hat is the significance of R+C, -or. /ow to create an R+C in S#$ system , -or. /ow to different tests you do to check an R+C is functioning well in S#$ , -or. /ow to delete an R+C ,
SAP /asis 9aily $onitorin! *codes

Error converting Oracle Database to Oracle Fail Safe DB (windows Problem: You find error when converting Oracle from Standalone to OFS DB, with error saying that other node has <S D!"world" Solution: Delete the Oracle service using 0oradim +delete +sid ,S D-. #erun the convert $rocess"

1) Which are the most fre uent errors encountered while dealing with !"#$SPO"!S % #eturn code %&) indicates im$ort ended with warning" #eturn code %') indicates not im$orted ended with error #eturn code %()) indicates im$ort is cancelled" #eturn code %(*) indicates im$ort is cancelled" &) 'ow will go about doing a client co() % You can do a client co$y using the S++, transaction *) +ist the difference between as)nchronous and s)nchronous trans(ort , Synchronous -rans$ort . Dialog or /atch $rocess are /loc0ed until im$ort is ended 1synchronous -rans$ort . Dialog or /atch $rocess is released after im$ort is started" -) 'ow will determine whether )our S#P server is .nicode or #S/00 % 2o to S34( , +lic0 #elease 5otes" 6ntry corres$onding to 7 +8 9ersion: will tell you whether your system is 1S+ or 8nicode"

1) +ist the t)(es of !rans(ort re uests % -here are & ty$es of trans$ort re;uests in S1< = (" +ustomi>ing #e;uest )" ?or0/ench #e;uest @" -rans$ort of +o$ies &" #elocation 2) What is the difference between /onsolidation and Deliver) route % n consolidation route . o/Aects can /e changed and they can trans$ort from one system to other" -his is the route /etween develo$ment to ;uality n Delivery route . O/Aects can not /e changed and they can not /e trans$orted from one system to other" -his is the route /etween ;uality to $roduction 3) 'ow will )ou define logon grou(s % What is +oad Balancing in S#P % You can set the logon grou$ using S3,2 transaction" 4 ) What is su((lementation language % Default S1< systems are $re=installed with 6nglish and 2erman" S1< does su$$ort many other language which may not full translate from the default 6nglish and 2erman" -o fill this ga$ , Su$$lementary language %a $rogram) is installed" 5) 0s S#P a database % 5O " S1< is not a data/ase /ut it uses data/ases from other vendors li0e Oracle" 16) Which transaction do )ou use to chec7 Buffer Statistics % S-B)

Important Interview questions for Support Pack 1. Which table will be updated when support pack is applied PAT01 and PAT0 !. "ow to check support status or error while appl#in$ support pack% &o to SPA' &o to Action lo$ ( Import lo$ . What is the path to check the errors% )sr*sap*SI+*trans*lo$ ( 'ainl# slo$s ,heck the -S lo$ in work director# )sr*sap*SI+*+./0'&S*work +ev1W012 +ev1W0!2 +ev1+isp2 +ev13+