Tracing
App server wide buffers#
/$TAB | Resets the TABLE buffers of the application server |
/$SYNC | Resets the buffers of the application server |
/$CUA | Resets the CUA buffer of the application server |
/$NAM | Resets the nametab buffer of the application server |
/$DYNP | Resets the screen buffer of the application server |
/$ESM | Resets the Exp./ Imp. Shared Memory Buffer of the application server |
/$PXA | Resets the Program (PXA) Buffer of the application server. |
Wrong email text (description) for an email address#
t.ADR6 | > t.ADRC + t.ADRP |
r.RSADRCK1 | Execute report in non-test mode |
x.SO16 | Reset address buffer, button "Reset buffer" under the Addressing tab |
x.RSSOUSCO | If email is still incorrect, resets the address buffer once again |
Other buffers#
f.HR_INITIALIZE_BUFFER | Initialize buffer for one employee |
AL12 or r.RSDBBUFF | Resetting table buffer: Menu > "Send sync ..." > example: TABR/T550A/10018VG03 |
r.RSWDCLRBUF | Program to delete shared buffer (Workflow) |
r.RSUSR405 | Reset all user buffers in all clients (No selection screen!) |
ST02 | Tune summary (Menu > Goto > Buffer sync.) |
ST10 | Table Call Statistic |
Monitoring#
DB02 | Table/Index Monitor, Database Size |
DB12 | Backup Protocols |
DB14 | DB Operations / Backups |
DB20 | DB Statistiks |
OSS1 | Connection to SapNet (if you are asked for a group it is already ok) |
SCOV | Coverage Analyzer |
SCON / SCOT | SAPconnect Administration |
SE30 or ARTA | Run Time Analysis |
SOST / SOSV | SAPconnect Send requests |
SM04 | User List |
SM12 | Locked items (Sperreinträge) |
SM21 | System Log |
SM50 | Process Overview |
SM61 | Hintergrundsteuerungsobjektmonitor |
SM63 | Show opration mode (Anzeigen / Pflegen Betriebsartensets) |
SM65 | Analyse Batch Processing |
SM66 | Global Work Prozesses (Delete Buffer with /$SYNC) |
ST01 | interne Operationen und Berechtigungsprüfung |
ST03N | Systemlast (+ST03, ST03G) |
ST04OLD | All processes |
ST05 | SQL Trace (Performance) |
ST06 | Local Server/OS Monitoring |
x.ST06N x.OS07N / r.RSHOST1N | Snapshot Overview |
ST11 | Fehlerprotokolldateien |
ST22 | ABAP Runtime Errors (Short dumps) |
STAD | Business Transaction Analysis (start at any time, but only for next 24h max) |
SMLT | Check used languages / System languages |
SMGW | Gateway Monitor |
SU53 | Access Rights Check (Berechtigungsprüfung) |
SUIM | User Information System |
RZ01 | Job Scheduling Monitor |
RZ03 | Betriebsarten (auch RZ04) und Darstellung, Steuerung SAP-Instanzen |
RZ04 | Pflege der SAP-Instanzen (Aktive Instanzen) |
RZ10 | Pflege von Profilparametern |
RZ11 | Eigenschaften/Trace Profilparameter (Werte mit RZ10 setzen!) |
RZ12 | Pflege RFC-Servergruppen-Zuordnung |
RZ20 | CCMS Monitorsammlung / Systemlast |
RZ21 | Menü > Techn.Infrastruktur > QRFC überwachen |
Transaction Monitor#
To know, which user executed a transaction, see herex.SE07 | User overview |
Monitor Job Failures#
see Alert Monitor1. SM30, Table = ALBTCMON, fill only field JOBNAME (* possible)
2. RZ21 > Menu > Technische Infrastruktur > Topologie anzeigen > Lokale Segmente > Ändern > Button "Segment in Warmup Status zurücksetzen"
3. See result under RZ20 > SAP CCMS Technical Expert Monitors > All Monitoring Contexts > Background > Background Job Monitoring
Monitor Report Execution#
IMG > Personalmanagement > Personaladministration > Werkzeuge > Revision > Reportstarts Protokollierenx.SM30 | V_T599R |
r.RPUPROTD | Analyse. |
r.RPUPROTU | Purge (Password = Your User ID) |
SM19 | Setup a dynamically (!) audit log on report starts |
SM20 | Analyse |
SM18 | Purge |
Monitor Query Execution#
- Setup in SM30:AQPROTCUST
- Delete with r.RSAQ_DEL_QUERY_PROT
- Analyse with Benutzergruppe /SAPQUERY/SQ und das InfoSet /SAPQUERY/QUERY_LOGGING (im Globalen Arbeitsbereich)
Log Table Changes#
1. Check in SE11 if table logging is activatedEven if rec/client is not set, the logging will take place in t.DBTABLOG. Use SCU3 to analyse.
t.DBTABPRT | Changes are logged |
t.DBTABLOG | Changes are logged |
r.RSTBPDEL | Delete from DPTABLOG ( SCU3-Menu--Edit-->Change Docs-->Delete ) |
t.DD09L | Field DD09L-PROTOKOLL = 'X' defines if tables is logged |
SCU3 | Auswerten |
SCDO | Änderungsbelege3 |
r.RSVTPROT | Analyse |
r.RSTBPDEL | Belege löschen |
x.TAANA | Analyse amount records of table |
Änderungsbelege#
r.RPUAUD00 | Änderungsbelege HR* |
r.RSSCD200 | Änderungsbelege nach Objektklasse (CRM) |
Zum RPUAUD00 (*): Damit Veränderungen von Infotypfeldern (Ändern, Anlegen, Löschen) als Belege erfaßt werden, müssen diese Felder in den Sichten HR-Belege:
V_T585A | Belegrelevante Infotypen |
V_T585B | HR-Belege: Feldgruppendefinition |
V_T585C | HR-Belege: Feldgruppeneigenschaften |
User locked?#
Table USR02.ULOCK => 0 = not lockedWork processes#
Amount of prozesses#
The general amount of work processes is set in the instance profile:
RZ10 > Profil wählen > "Erweiterte Pflege" > Anzeigen
rdisp/wp_no_btc | Number of background work processes |
rdisp/wp_no_dia | number of dialog work processes |
rdisp/wp_no_enq | Number of Enqueue work processes |
rdisp/wp_no_spo | Number of spool work processes |
rdisp/wp_no_vb | Number of update work processes |
rdisp/wp_no_vb2 | Number of update work processes for V2 |
Operation mode#
t.TPFBA | Operation modes |
t.TPFID | Specified processes per operation modes per instance |
x.SM63 | Check current operation mode |
x.SM61 | Background controller monitor |
Nevertheless the classification of a work process to a type (dialog, batch,...) can be configured separately in the operation modes, so it may be different to the profile:
- Goto x.RZ03
- Menu > Bearbeiten > Betriebsarten > Konfigurieren
- Select Betriebsart
- Select again Betriebsart
- use Minus/Plus Buttons to change (select work prozess appropriately)
To activate the new operation mode or activate the changes, do this:
- Go back to RZ03
- Menu > Steuerung > Betriebsart wechseln > Selektierte Server (to activate changes)
DEBUGGING_IMPOSSIBLE#
By default only one workprocess will allow to debug. If you want you can increase with the following parameter: rdisp/wpdbug_max_noNote 726719 - ABAP debugging in production system / DEBUGGING_IMPOSSIBLE https://service.sap.com/sap/support/notes/65968
Profile paramaters#
How to change1. Check current values with r.rsparam or t.TPFYPROPTY or x.RZ10
2. Check current active instance profiles with x.RZ04
3. Check if reboot is necessary with x.RZ11 (Dynamic) or t.TPFYPROPTY-DYNAMIC
4. Change parameter via profile with x.RZ10
Open: Differenz between Default und Instance profile? Multiple instance: set each?
Get Server IP-Address#
Option 1- x.ST06
- Detail Analysis menu > Lan check By Ping > Application Server
- Select All + 1x PING > LAN Check by Ping
Option 2
- x.OS07N
- Get server name, add domain
- nslookup
Option 3
- x.SMGW
- Menu > GoTo > Expert functions > Network addresses
- Pick the one which looks like a physical server address
Concurrent User Overview#
RZ20 > SAP CCMS Technical Expert Monitors >System / All Monitoring Segments / All Monitoring Contexts >
System Configuration > Concurrent Users > Concurrent Users (all Clients)
Check over time with "Details" button.
OM Audit Logging #
To setup the audit logging, you would have to configure / maintain the table T77CDOC_CUST or you can find it in the IMG at SPRO -> Personnel Management -> Organizational Management -> Basic Setting -> Activate Change Document. Once you configure what infotype and subtype you are interested in tracking, you could use the program RHCDOC_DISPLAY to access the audit log. Most company would level the program concept and create a custom "Z" program version of it with incorporating other elements important to them, such as the employee attached to a position or job object.Verbucher#
Meldung: "Achtung: Verbuhung ist nicht aktiv":Dann SM13 > Administration > Zustand "Aktivieren"
Sperreinträge | Verbuchungsfehler analysieren
Oracle Session#
x.ST04OLD > Details > Oracle Sessions > Tabelle suchen (Strg+F)Last Server Reboot/Restart#
- RZ03 > Choose Instance > Überwachung > Status Details > Start-Zeit
- SM21 > Log entry (as long as available)
- ST10 > Show statistics > System Startup
- r.RSBDCOS0 >
- who -b
- last reboot
- uptime
Error Log files#
You can see eror log files with x.ST11.You just need to know which work process was involved.
If you had a job you can find the WP-Number in the job details. With this one you can filter the files in ST11. Consider those, which have been changed recently.
Errors in ICM are stored in dev_rfcXX (not in dev_icfXX or dev_wXX).
Search code#
- t.CODE_SCANNER
- r.RPR_ABAP_SOURCE_SCAN
- r.RSRSCAN1
- t.EWK1
- r.AFX_CODE_SCANNER
- SE38 > menu > Utilities > Find in Source Code