Thursday, 24 January 2013

SAP Daily Activities



Daily Activities
1.                   Monitoring Application servers in SM51
ü     From SM51,we can Check whether all SAP servers are running or not
ü       When application server is not available, we can’t find the host name for the server.
ü       we can also get the information about number of users logged to the instances
ü       We can estimate the current activities and the resulting load on the instance
ü       And also we can monitor list of all app servers, sever info, Queue info and SNC status in SM51
ü       We can also view the status of all active/inactive instances using RZ03
2.                    Monitoring Work processes in SM50 & SM66-
ü       We can Check for Long time running work processes
ü       Check the state of work process
ü       We can cancel a process by selecting the work process and click the “process” menu, in this menu we have “Cancel” option
ü       When we cancel work process ,all transactions are terminated and dispatcher starts new work process
ü       We can also view the work processes of the instance at OS level by using DPMON p (when only one instance)
ü       DPMON P <instance profile> <SID>   (When multiple instances)
3.                   Active users over view in SM04 and AL08
ü       Display active users and their activities
ü       Checking for the users who have lost their connections
ü       We can also view the number of RFC users, number of interact users, terminal, active instances.
4.                   Check for log on load balance using SMLG(log on groups)
ü       We can check for load distribution and average response time and quality ratio ………  (in SMLG---press F5 for load distribution –now we can see log on groups, instance ,status, response time, number of users per instance ,quality of load balancing and dialog steps of each instance
ü       If any application server is goes down for any reason, user can still connect the group which will assign the best application server (SPACE –default log on group)
5.                   Checking for ABAP Dumps in ST22
ü       When user have a program error , the  dump is immediately displayed
ü       This dumps include information like “what happened”,” what can we do”,” what tables were being used at that time” and “any other program were affected”.
ü       We can see how many short dumps have been generated in the current day and previous day-----in ST22, select the day and click on the display list icon.
ü       ABAP run time errors like Syntax errors, wrong logic, exception/short text
ü       Invalid request made to DB interface when accessing table(DBIF_RSQL_INVALID_REQUEST)
ü       Application program error(MESSAGE_TYPE_X)
ü       Error occurred due to database inconsistency (start_call_sick)
ü        (DBIF_NTAB_TABLE_NOT_FOUND ,UNCAUGHT_EXCEPTIION)
ü       All these dumps are stored in SNAP table, We need to delete the old dumps, why because some old dumps may cause some more new dumps
ü       If there  are more than 20 dumps ,we should send a mail to the client
6.                   Check for Lock entries in SM12
ü       Check for Lock entries older than one day should be analyzed and corrected (lock entry menu—delete).
ü       Normally, the locks are automatically released when transactions are committed or when users are finished working on the data.
ü       But we need to aware about locks which are held unreleased for several hours---in this situation ,problem might be long running background jobs which update the data base , abnormal termination of the SAPGUI and also problems in update processing.
ü       To solve this problem ,we can  delete the lock entries or logoff the user from SM04
ü       To test whether the enqueue work process is working correctly or not  l( go to SM12 -àExtras menu-àdiagnosis
ü       All lock entries are stored in TLOCK table.
ü       Causes of malfunctions in lock management
1.       the enqueue server is not available
2.       the message server is not available
3.       faulty computer links
4.       incorrect system installation
5.       incorrect setting of system parameters


7.                   Check for any terminated updates in SM13
ü       We can check for any hanged updates, or updates pending for long or updates in PRIV mode
ü       We can check the system update records with error status or which have not yet been processed.
ü       Based on the type of error ,request the user repeat the data entry which performs the update
ü       All update requests are stored in VBLOG table
ü       we can monitor the cancelled update requests and all update requests in SM14
8.                   Check whether Production Client is open or close In SCC4
ü       Production Client should be Always in closed status unless until approved
ü       close-No changes allowed, No change repository objects and no changes with out automatic recording and no changes to repository objects and also we can set the protection level 2(no over writing, no external availability)
ü       Open-changes to repository objects, automatic recording changes  and no restrictions
9.                   Monitoring Database in DB02
ü       Check for Space of Table space used more than 90%
ü       if table space size reached 90% we need to increasing table space by adding data file using SAPDBA tool
ü       Check for Missing indexes indexes in BD02, by selecting “missing indexes “ tab we can find missing indexes like primary indexes and secondary indexes,
ü       If we find any missing indexes we can report to ABAPers they will assign those indexes to proper Tables
ü       Check for  Space critical objects (huge table/report occupy the maximum space in buffer, in this situation system may hang)
ü       If we find any space critical objects ,we should add the data file to the table space
10.               Check for the terminated back ground jobs and log time running jobs in SM37
ü       We can check the status of the job, if it is in active state for long time, we need to cancel that job(job-cancel)
ü       If it is still in active state we need to check the status in Job menu 
ü       Still it is in same state we should kill that particular work process from SAP level(SM51) or OS level (DPMON)
ü       If one particular job is cancelled more than 20 times ,a mail should be sent to the user
11.               Check for Spool requests SP01
ü       Look for spool jobs that have been “in process” for an hour.
ü       Checking for problems with spool and output request
ü       Check logs and possible causes of printing problems
ü       Check the output request attributes, the log files, and the size of the print job
ü       Check whether the device type and what the access method is for the device.
ü       Deleting old spool requests or scheduling the background job which automatically deletes them, If there are more than 50 spool errors, then they have to be deleted.
12.               Monitor the back-up logs in DB12
ü       Check whether last  back up is successful or not
ü       If it is not successful Problem might be sapbackup disk was full.
ü       We can check the redo logs which are not yet back up
ü       And check for the back up status
ü       Checking archive log directory status(oracle/SID/oraarch)
ü       Verify the log of the last backup and free space in log directory
13.                Monitoring OS logs and CPU utilization in ST06 or OS06-
ü       We can monitor the entire operating system in OS06 or ST06
ü       We can monitor OS logs and CPU utilization -detailed analysis-OS logs and CPU utilization
ü       We can monitor the CPU, memory, swaps, disks, file systems, and network (OS06-datailed analysis )  From the detailed analysis menu we can see operating system information from any of the previous 24  hours
Alert Monitoring in ST04
ü We can monitor the system alerts from RZ20-doubleclick on the corresponding monitor-in that screen click on the Open alert.
ü We can set the thresholds /alerts and our own monitors  in RZ20-extras menu-click on activate maintenance function-in that we can create threshold with colors
ü We can also monitor database alert log in ST04-Detailed analysis-error log,
ü in OS level -Oracle/SID/sap trace/back ground  directory
ü We can find the all data base errors and warnings in DB16
System log in SM21
ü we can monitor the system log in SM21
ü System Log stores all messages including problems warnings & information.
ü In this system log we mainly look for errors related to Database listed as ORA-????  Error and update terminate errors.
ü We can also monitor the local system and all remote systems logs –SM21-system log menu-select Choose option-in that we have local system, remote system options

Some useful SAP R/3 OSS notes



SAP R/3 Enterprise OSS Notes
SAP Software Installation
[580341] SAP Software on UNIX: OS Dependencies 6.30
[520965]Release restrictions R/3 Enterprise 4.70 / 1.10 Add-Ons
[534334]Composite SAP note Install./Upgrade? SAP R/3 Enterprise 47x11
[538887] SAP R/3 Enterprise 47x110: Software Architecture/maintenance
[635608] Release restrictions for SAP R/3 Enterprise 47x200
[662453] Composite SAP Note Inst./Upgrade? SAP R/3 Enterprise 47x200
[658351] SAP R/3 Enterprise 47x200: Software architecture/maintenance
[580341] SAP Software on UNIX: OS Dependencies 6.30
[534334] Composite SAP note Installation/Upgrade? SAP R/3
[492222] SAP Software on UNIX - OS Dependencies
[523505] SAP R/3 Enterprise Installation Under UNIX
[523502] INST: SAP R/3 Enterprise 4.7 Inst. Under UNIX - SAP DB
[523503] INST: SAP R/3 Enterprise 4.7 Inst. Under UNIX - Informix
[523504] INST: SAP R/3 Enterprise 4.7 Inst. Under UNIX -Oracle
[496251] INST: SAP Web AS 6.20 on Windows - General
[529151] SAP R/3 Enterprise Installation UnderWindows? -General
[529076] INST: SAP R/3 Enterprise 4.7 Under Windows: Oracle
[529118] INST:SAP R/3 Enterprise 4.7 Under Windows- MS Cluster
[529150] INST:SAP R/3 Enterprise 4.7 UnderWindows ?- MS SQL Server
[531349] INST: SAP R/3 Enterprise 4.7 UnderWindows? - Informix
[531372] INST: SAP R/3 Enterprise 4.7 Under Windows - SAP DB
[533728] SAP R/3 Enterprise 4.7 Inst. Under UNIX – IBM DB2 UDB for UNIX and Windows
[533715] SAP R/3 Enterprise 4.7 Inst. Under Windows 2000 - IBM
System Copy
[547314] FAQ: System Copy procedure
[89188] R/3 System copy
[489690] CC INFO: Copying large production clients
[407123] INST: SAP Web AS 6.10 - Hom. + Het. System Copy
[516246] INST: System Copy for SAP Systems based on SAP Web AS 6.20
[677447] INST: System Copy for SAP Systems based on SAP Web AS 6.30
SAP Business Warehouse
Upgrade
[658992] Additional information for the upgrade to BW 3.50
[662219] Add. info. on upgrading to SAP Web AS 6.40 ORACLE
Installation
[552914] SAP BW 3.1 Content Server Installation on UNIX
[492208] INST: SAP Web AS 6.20 Installation on UNIX
[492221] INST: SAP Web AS 6.20 Inst. on UNIX - Oracle
[492222] SAP Software on UNIX: OS Dependencies 6.20
[421795] SAP_ANALYZE_ALL_INFOCUBES report
[355814] Demand Planning: You must work in client 001
[192658] Setting basis parameters for BW Systems
Internet Graphics Service (IGS)
[458731] Internet Graphics Service: Main Note
[525716] 6.20: IGS Buglist (and solutions)
[548496] Overview of IGS Notes (6.20)
[514841] Troubleshooting when a problem occurs with the IGS
[480692] SAP IGS support strategy
[443430] HW/SW Requirements for Internet Graphics Service
[454042] IGS: Installing and Configuring the IGS
Internet Transaction Server (ITS)
[721993] ITS updates in Release 6.40 (SAP Integrated ITS).
BW System Administration
[428212] Update of statistics of InfoCubes with BRCONNECT
[150315] BW-Authorizations for Remote-User in BW and OLTP
[46272] Implement new data class in technical settings
[371413] DB data class and size catgory for aggregate tables
[156727] Default data class for InfoCubes and dimensions
[123546] Extending the permitted size categories
[443767] Size category for fact and dimension tables (InfoCube)
[639941] TABART(Table space) for PSA tables
[550669] Compressed transfer of BW Web Applications
[561792] Client -sided caching of image/gif files
[130253] Notes on upload of transaction data into the BW
[417307] Extractor package size: Collective note for applications
Oracle RAC
[527843] Oracle RAC support in the SAP environment
[581320] FAQ: Oracle Real Application Cluster (RAC)
[621293] Oracle9i: Real Application Clusters
Installation
[619188] FAQ: Oracle Wait Events
[619876] Oracle9i: Automatic PGA Memory Management
[601157] Dynamic parameter changes - SPFILE
[145654] Installing SAP Systems on UNIX/Oracle? with raw devices
[617416] Oracle9i: Dynamic SGA
[598678] Composite SAP Note: New functions in Oracle 9i
[180605] Oracle database parameter settings for BW
[632556] Oracle 9.2.0.* database parameterization for BW
[632427] Oracle 8.1.7* database parameterization for BW
[565075] Recommendations for BW systems with Oracle 8.1.x
[567745] Composite note BW 3.x performance: DB-specific setting
[359835] Design of the temporary tablespace in the BW System
[387946] USE OF LOCALLY MANAGED TABLESPACES FOR BW SYSTEMS
[351163] Creating ORACLE DB statistics using DBMS_STATS
Administration
[592393] FAQ: Oracle
[588668] FAQ: Database statistics
[666061] FAQ: Database objects, segments and extents
[541538] FAQ: Reorganizations
[647697] BRSPACE - New tool for Oracle database administration
[600141] Oracle9i: Automatic UNDO Management
[60233] Oracle rollback segments, more information
[385163] Partitioning on ORACLE since BW 2.0
[335725] BW (Oracle): Change/restore standard indexing
Problems
[354080] Note collection for Oracle performance problems
[323090] Performance problems due to degenerated indexes
[3807] RBS problems: ORA -01555, ORA -01628, ORA- 01650
[185822] ora-1555 - cause and action
[568632] Problems with Disk Storage with temporary tables in BW
[178275] Bitmap Indexes in Wrong Tablespace
[494852] Primary index of PSA tables in incorrect tablespace
[547464] Nologging Option when creating indexes
[442763] Avoid NOLOGGING during the index structure (Oracle)
[159779] Problems with BITMAPINDEX under ORACLE in BW
[631668] DEADLOCK when loading data into InfoCubes ?
[634458] ODS object: Activation fails - DEADLOCK
[84348] Oracle deadlocks, ORA-00060
 [750033] INITRANS parameter for InfoCube? Secondary indexes
Backup / Restore / Recovery
[442395] Descriptions of specific BR messages
[17163] BRARCHIVE/BRBACKUP messages and codes
Software Logistics (Transport System, Add-Ons & Support Packages) Transports
[11599] Reversing transports
[456196] 'Couldn't locate TA information in .../co-files' error
Support Packages
[97620] OCS Info: Overview of Important OCS Notes
[447925] OCS: Known problems with Supp. Packages in Basis Rel.6.20
[539867] BW 3.1 Content: Information about Support Packages
[553527] Support Packages for the PI_BASIS (Basis Plug-in)
[662441] Solution Manager Support Packages: Known problems
Add-Ons
[555092] Installation/upgrade Basis plug-in (PI_BASIS) 2002.2
General System Administration Tuning Work Processes
[39412] How many work processes to configure
[21960] Several instances/systems on one UNIX computer
[9942] Max. number of work processes is 40 due to events
[33873] What do the semaphores mean?
Memory Management
[37537] Performance increase by shared memory pools.
[78498] High paging rate on AIX servers, in part. Database servers .
[95454] A lot of extended memory on AIX (32-bit)
[88416] Zero administration memory management from 4.0A/NT
[110172] NT: Transactions with large storage requirements
[33576] Memory Management (as of Release 3.0C, Unix and NT)
[103747] Performance: Parameter recommendations for Rel. 4.0 and high
[386605] SAP memory management for Linux
[649327] Analysis of memory consumption
[548845] Internal sessions over 2GB
[425207] SAP memory management, current parameter ranges
Buffering
[504875] Buffering number ranges
[678501] System stoppage, locks on table NRIV
[572905] Unbuffered number ranges
Background Processing
[16083] Standard jobs, reorganization jobs
Network
[500235] Network Diagnosis with NIPING
Web Dispatcher
[538405] Composite SAP note about SAP Web Dispatcher
[561885] Generation of URLs (SAP Web Dispatcher/Reverse? Proxy)
SAPOSCOL
[548699] FAQ: OS collector SAPOSCOL
SAP Remote Se rvices Service Connection
[91488] SAP Support Services: Central preparation note
[144864] SAP Remote Services: Technical preparation
[69455] Servicetools for Applications ST-A/PI (ST14 & RTCCTOOL)
[207223] Activating the SAP EarlyWatch? Alert
[160777] SAP GoingLive/EarlyWatch? Check for a BW System
[309711] SAP Servicetools Update: Online help
[216952] Service Data Control Center (SDCC) - FAQ
[539977] Release Strategy for Solution Tools Plug-In
[597673] Installation/Upgrade? Solution Tools Plug-In 003C (ST-PI)
[560475] Frequent questions on the Solution Tool Plug-In
[116095] Solution Tools Plug-In
SAPGUI SAPGUI For Windows Via Citrix / Terminal Server
[200694] Notes on Sapgui for use via terminal server
[431163] Troubleshooting Citrix Metaframe Issues
[138869] SAP GUI on Windows Terminal Server (WTS)
General
[66971] Supported front end platforms
[26417] SAPGUI Resources: Hardware and software
[166130] SAP frontend: Delivery and compatibility
[147519] Maintenance strategy / deadlines 'SAPGUI'
[203924] Performance 4.6 - collective note
[203617] High memory consumption with Easy Access menu

Some SAP Administration Transactions



User Administration:

SU01 User Maintenance
SU01D User Display
SU02 Maintain Authorization Profiles
SU03 Maintain Authorizations
SU05 Maintain Internet users
SU10 User Mass Maintenance
SMLG Maintain Logon Group
SUPC Profiles for activity groups
SUIM Info system Authorizations
PFCG Profile Generator
PFUD User Master Data Reconciliation

Client Administration:

SCC3 Checking Client Copy Log
SCC4 Client Administration
SCC5 Client Delete
SCC7 Client Import Post-Processing
SCC8 Client Export
SCCL Local Client Copy
SCC9 Remote client copy

Database Administration:

DB01 Analyze exclusive lock waits
DB02 Analyze tables and indexes
DB12 DB Backup Monitor
DB13 DBA Planning Calendar
DB15 Data Archiving: Database Tables

Transport Management System:

STMS Transport Management System
SE01 Transport and Correction System
SE06 Set Up Workbench Organizer
SE07 CTS Status Display
SE09 Workbench Organizer
SE10 Customizing Organizer
SE11 ABAP/4 Dictionary Maintenance
SE16 Data Browser
SE80 Repository Browser
SM30 Call View Maintenance
SM31 Table Maintenance

Background Jobs Administration:

SM36 Define Background Job
SM37 Background Job Overview
SM39 Job Analysis
SM49 Execute External OS commands
SM62 Maintain Events
SM64 Release of an Event
SM65 Background Processing Analysis Tool
SM69 Maintain External OS Commands

Spool Administration:

SP01 Output Controller
SP02
SP11 TemSe directory
SP12 TemSe Administration
SPAD Spool Administration

Other Administration Tcodes:

AL11 Display SAP Directories
BD54 Maintain Logical Systems
OSS1 Logon to Online Service System
SALE IMG Application Link Enabling
SARA Archive Management
SICK Installation Check
SM14 Update Program Administration
SM35 Batch Input Monitoring
SM56 Number Range Buffer
SM58 Asynchronous RFC Error Log
SM59 RFC Destinations (Display/Maintain)
SAINT SAP Add-on Installation Tool
SPAM SAP Patch Manager (SPAM)
SPAU Display modified DE objects
SPDD Display modified DDIC objects
ST11 Display Developer Traces

Daily monitoring TCodes:

AL08 Current Active Users
SM12 Display and Delete Locks
SM13 Display Update Records
SM21 System Log
SM50 Work Process Overview
SM51 List of SAP Servers
SM66 System Wide Work Process Overview
ST22 ABAP/4 Runtime Error Analysis
ST01 System Trace
ST02 Setups/Tune Buffers
ST04 Select DB activities
ST05 Performance trace
ST06 Operating System Monitor
ST10 Table call statistics
ST03 Performance, SAP Statistics, Workload
SU56 Analyze User Buffer

Other Monitoring Tcodes:

OS01 LAN check with ping
RZ01 Job Scheduling Monitor
RZ03 Presentation, Control SAP Instances
ST07 Application monitor
STAT Local transaction statistics

Other Useful Transactions Codes

AL22 Dependent objects display
BAOV Add-On Version Information
SA38 ABAP reporting
SE38 ABAP Editor
RZ04 Maintain Operation Modes
RZ10
RZ11
SM63
BD64
WE05
SMQ1
SMQ2
HIER Internal Application Component Hierarchy Maintenance
ICON Display Icons
WEDI IDoc and EDI Basis
WE02 IDoc display
WE07 IDoc statistics
WE20 Partner profiles
WE21 Port definition
WE46 IDoc administration
WE47 Status Maintenance
$TAB Refreshes the table buffers
$SYNC Refreshes all buffers, except the program buffer