sap basis general problems & solution

Upload: animesh-sinha

Post on 04-Jun-2018

229 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 sap basis general Problems & solution

    1/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.

    Analye with diagnosis tools.

    !scalation procedure" call hardware support.

    Check main log files.

    Analye 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 authoriations.

    &1.2anually start up or shut down database and then the applicationser'er.

    &&. Check hosts and ser'ices files.

    3hether you are trying to start a brand new #AP instance, or an oldone, 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

  • 8/13/2019 sap basis general Problems & solution

    2/17

    problem. #ort them with 6ls 7 ltr8 is see the list sorted in descendingorder for the ease of 'iewing. If you ha'e a test searching tool, look

    for 6error8 in all files with the suffi96.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 he most useful information can be found in thede'Dw9, de'Dms, de'Ddisp, de'Drfc9, and stderr9 files.

    If all else fails, ip the contains ofthe$usr$sap$?#I/@$/!B2#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 asyour current hardware and database platforms, patch le'el for #AP

    support packages, kernel, and the

  • 8/13/2019 sap basis general Problems & solution

    3/17

    : Is the user using a 'ersion of #APui that is too old for hisworkstation;

    : Is the user using a 'ersion of #APui that is not certified for hisoperating 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 #APui patches that ha'e not been applied;

    2ost #APui problems can be sol'ed by either a) deleting andreinstalling #APui on the workstation, or b) deleting and installing a

    newer 'ersion of #APui.

    2ake sure that these lines were added to the ser'ices file on the user=s

    workstation"

    After you ha'e successfully configured your #APui, add these threelines to the bottom of your H3indowsHsystem%Hdri'ersHetcHser'ices

    file"

    sapdp11 %11$tcp

    sapmsR%I %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 firewallrestrictions. And, be sure that your Insert Jey is set so that you can

    type your password in properly 7 you can deletewhate'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 theworkstation ha'ing the connection problem, first you need to make

    sure that the workstation can connect to the #AP ser'er in some nonK#APui way. Fet=s say your user us trying to connect to #ystem I/

    (#I/) /!, #ystem Gumber 11, and IP address &1.&.&1.&&.

  • 8/13/2019 sap basis general Problems & solution

    4/17

    completely blank and you set a NConnecting >o &1.&.&1.&&... Could notopen connection to the host, on port

    %11" Connect failedN error message right under the command youentered, 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 hardwarereEuirements for running #APui, see #AP Gote *&- K #AP 5I

    Resources" ardware and software.

    Operating system problems

    &. Check operating system log and e'ent 'iewers.

    . Check disks and file systems.

    %. Check directories and permissions.*. Check path names.

    +. Check security.

    When file system is full what need to be done?

    Database problems

    #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 etend datafiles in sap system based on oracle database ?

    Analyzin! epensive S"#s usin! S$%&'S$((

    )dentifyin! epensive S"#s usin! S*&+

    3hat is the database administration tool supported by #AP for

    oracle database;(1r)

    3hat is BR>

  • 8/13/2019 sap basis general Problems & solution

    5/17

    ow to 'iew database parameters at #AP le'el ;

    ow to add or e9tend datafiles in sap system based on oracledatabase ;

    R/3 application operational problems

    &. Check whether all users are affected.

    . Check whether there is no work at all, or whether work is Qustlimited.

    %. 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///work).

    +. Check #AP systems alerts.. Analye database problems.

    SAP System Response roubleshooting

    &.3hat has changed since the performance is poor;

    #ystem Parameter Changes (R&1);Increase in the number of users;

    Jernel patch;

    #upport Packages;

    Finu9 and

  • 8/13/2019 sap basis general Problems & solution

    6/17

    ST02" Check the buffering Euality. If paging occurs in a buffer, thecorresponding 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 transactionswith poor response times or are there only a few; Is a certain

    transaction always slow or only sometimes;

    ST06" /etail analysis menu ardware Info. >o which e9tent are

    the hardware resources utilied;Call #>1 at times with poor system performance. 3hat is the CP5

    utiliation;

    oto

    Current /ata

    #napshot >op CP5 processes and display the main CP5 consumers.

    3hat is the utiliation of the disks; ow high is the paging in the basepool;

    *.If only few transactionsare 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 tablesthat ha'e e9perienced unusual monthly growth.

    &. /B1 #pace #tatistics button

    . Press !nter on the >ables and Inde9es popup%. istory All obQects off$on

    *. Click the 2onths button+. Click on the first number under the Rows 7 Chg$2onth header andclick the #ort button.

    . >he sorted results shows the top tables when it comes to rowschanges per month. >hese tables are your 6database hogs8.

    .3hat is considered 6normal8 response time;

  • 8/13/2019 sap basis general Problems & solution

    7/17

    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 problems3ait time KK Got enough work processes

    Focked tasksFong running transactions

    SAP Sste! 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

  • 8/13/2019 sap basis general Problems & solution

    8/17

    How to confi!ure printer in SAP ?

    3hat is spool o'erflow ;

    ow to delete old spool reEuests ;

    ow to troubleshoot spool o'erflow ;ow to a'oid spool o'erflow issue ;

    ow to check spool numbers;ow to set the spool number in #AP ;

    ow 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;

    ow to configure printer in #AP ; (or) 3hat is the >code to configure printer in #AP ; (or)

    ow 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.

    http://c/Users/Home/Documents/sap%20faq/How%20to%20configure%20printer%20in%20SAP%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20troubleshoot%20spool%20overflow%20issue%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/What%20are%20the%20different%20Spool%20statuses%20and%20their%20significance%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20delete%20an%20SAP%20lock%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20activate%20the%20update%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20activate%20the%20update%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20configure%20printer%20in%20SAP%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20troubleshoot%20spool%20overflow%20issue%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/What%20are%20the%20different%20Spool%20statuses%20and%20their%20significance%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20delete%20an%20SAP%20lock%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20activate%20the%20update%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20activate%20the%20update%20.htm
  • 8/13/2019 sap basis general Problems & solution

    9/17

    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'eprogramming 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.

    http://c/Users/Home/Documents/sap%20faq/what-is-lock-table-over-flow-how-to.htmlhttp://c/Users/Home/Documents/sap%20faq/What%20are%20the%20different%20background%20job%20statuses%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20find%20out%20long%20running%20jobs%20in%20SAP%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20schedule%20Basis%20standard%20jobs%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20troubleshoot%20a%20background%20job%20running%20for%20long%20duration%20in%20sap%20.htmhttp://c/Users/Home/Documents/sap%20faq/what-is-lock-table-over-flow-how-to.htmlhttp://c/Users/Home/Documents/sap%20faq/What%20are%20the%20different%20background%20job%20statuses%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20find%20out%20long%20running%20jobs%20in%20SAP%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20schedule%20Basis%20standard%20jobs%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20troubleshoot%20a%20background%20job%20running%20for%20long%20duration%20in%20sap%20.htm
  • 8/13/2019 sap basis general Problems & solution

    10/17

    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 completesuccessfully.

    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,T1$

    &. #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 ob

    &. 5ser and password Issues (Authentication$ Authoriation) user lock,userid e9piry, password change, lack of roles etc.

    . Oile system problems" B>C reads from the file system to update thedatabase. Oile not opened, or corrupted, file sharing issues, file came

    with different characters, file not found as well.

    %. ariants are not properly defined.

    *. /ead locks issue (Fock mechanism congested)

    +. 5pdate mechanism failed

    . >able space o'er flow (

  • 8/13/2019 sap basis general Problems & solution

    11/17

    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$C logs are deleted by scheduling R#B>C/!F which deletes the logfiles from >B>CY based on the time inter'al in the ariant #A%.

    $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 5IK #creen and a dump is

    recorded in #>.

    &. >I2!D error" >he program reEuires more time than the time

    defined in rdisp$ma9DwprunDtime

    . 2emory related issues with error message PUA, #3AP, PA!,

  • 8/13/2019 sap basis general Problems & solution

    12/17

    %. Program Corrections" >he problem is with #AP standard programfor which #AP pro'ides a correction through notes (>he correction can

    be applied through #G!)

    *. Customer defined programs (SMS, SS) consumes more memory,

    endless loops, improper select statements etc. >he program needs tobe corrected by the de'eloper.

    +. !nEueue >able ransport #ystem in #AP ;

    or !9plain about >2# (>ransport 2anagement system) in #AP ;

    or

    http://c/Users/Home/Documents/sap%20faq/what-is-lock-table-over-flow-how-to.htmlhttp://c/Users/Home/Documents/sap%20faq/How%20to%20activate%20the%20update%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20activate%20the%20update%20.htmhttp://c/Users/Home/Documents/sap%20faq/What%20is%20Change%20and%20Transport%20System(CTS)%20in%20SAP%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20import%20transport%20into%20an%20SAP%20system%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/Troubleshooting%20long%20running%20transport.htmhttp://c/Users/Home/Documents/sap%20faq/Manual%20Import%20process%20of%20a%20transport%20at%20Os%20level%20with%20TP%20program.htmhttp://c/Users/Home/Documents/sap%20faq/what-is-lock-table-over-flow-how-to.htmlhttp://c/Users/Home/Documents/sap%20faq/How%20to%20activate%20the%20update%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20activate%20the%20update%20.htmhttp://c/Users/Home/Documents/sap%20faq/What%20is%20Change%20and%20Transport%20System(CTS)%20in%20SAP%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/How%20to%20import%20transport%20into%20an%20SAP%20system%20%20.htmhttp://c/Users/Home/Documents/sap%20faq/Troubleshooting%20long%20running%20transport.htmhttp://c/Users/Home/Documents/sap%20faq/Manual%20Import%20process%20of%20a%20transport%20at%20Os%20level%20with%20TP%20program.htm
  • 8/13/2019 sap basis general Problems & solution

    13/17

    3hat are the transport tools in #AP ; or

    3hat is the functionality of >P and R%trans in #AP ;

    a'e you done any transports ; !9plain the process to do the same ;

    ow do you troubleshoot a long running transport ; (or)

    3hat actions do you take when a transport is running for a lot of time(or)

    ow to terminate a long running transport;

    (or) A transport is in truck status for unusually long period of

    time. 3hat could be the reason ; ow do you troubleshoot (or)

    >ransport is not getting terminated and all your other

    transports are pending to be imported. ow to terminate thislong running transport ;

    ow to import a transport manually at

  • 8/13/2019 sap basis general Problems & solution

    14/17

    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 othernode has

  • 8/13/2019 sap basis general Problems & solution

    15/17

  • 8/13/2019 sap basis general Problems & solution

    16/17

  • 8/13/2019 sap basis general Problems & solution

    17/17