SAP Basis Troubleshooting
SAP Basis Troubleshooting
Troubleshooting Guidelines
Mohamed Awny
February 2024
SAP BASIS
Troubleshooting Guidelines (1/3)
Troubleshooting Basics
• Overview
• Basic Procedure
• Fiori Troubleshooting
2
Overview
In every SAP system, errors will sometimes occur that you'll be required to resolve yourself, or you'll need to at
least collaborate in their correction. Some errors are trivial and can be solved after you read the error message.
Other issues are caused by an application error, incorrect system settings, or by an actual programming error.
SAP provides the SAP for Me Portal to help you find solutions to system errors. The Portal has an extensive
database of solutions and SAP Notes to help you resolve issues. We will outline the basic principle of error
handling, demonstrate how to use the SAP for Me for troubleshooting, and show you the tools that can be used
for troubleshooting on the SAP System.
2
Troubleshooting
Basic Procedure
Basic Procedure
The general procedure for troubleshooting described here isn't a new one. It has been used for many years in a range of industries:
1. Gather data.
Use the available system tools to analyze the error messages, for example:
Transaction Code Action Explanation
Display all users currently logged on to the system, together with their
Users AL08/SM04 Allows administrators to detect faulty or multiple logons.
user ID and terminal.
Select background
Allows the administrator to detect any critical jobs that have been executed
jobs/Job Scheduling SM37/RZ01 Select and monitor batch jobs scheduled in the background.
incorrectly. Other tasks may depend on the successful execution of these jobs.
Monitor
Monitor servers (DEV, QAS, Test, PRD, etc.) in your environment using a
CCMS Alert Monitor RZ20 Alerts indicate potentially serious problems that require an immediate solution.
central program.
Display a list of all lock entries. Locks prevent other users from changing
Select lock entries SM12 Allows the administrator to remove old locks or locks that need to be removed.
data records that you're in the process of editing.
Basic Procedure
Gather data – Tools
Use the available system tools to analyze the error messages, for example:
Transaction Code Action Explanation
System log SM21 Analyze system logs. Supports the administrator in the early detection of system problems in the SAP system.
Batch input SM35 Manage batch input sessions. Alerts the administrator to the existence of new or faulty batch input sessions.
Spool requests SP01 SAP System Output Manager. Helps you resolve time-critical print job issues.
Basic Procedure
Gather data – Tools
Use the available system tools to analyze the error messages, for example:
Load analysis in the If you know the normal load distribution when the system is running, you can make minor adjustments that may
ST03N Determine system performance.
SAP system help when problems occur.
Database
Allows you to monitor the growth of the database, capacity, input/output statistics, and alerts. You can drill down
performance ST04 High-level database performance monitor.
to display additional information.
analysis
ABAP dump
ST22 Display the logs of ABAP short dumps. Allows you to determine why a report or transaction terminated.
analysis
Transport
Management STMS Check transport queues and logs. Allows you to detect errors in the import of transport requests.
System
Basic Procedure
Analyze the problem
After you've formed a detailed picture of the situation, proceed with the analysis of the problem. Use the resources available to you for
solving the problem for this purpose:
• SAP Help Portal (http://help.sap.com)
• SAP Technology Troubleshooting Guide (https://help.sap.com/docs/SUPPORT_CONTENT/techtsg/3362709955.html)
• SAP Fiori Troubleshooting Guide (
https://help.sap.com/docs/SAP_FIORI_OVERVIEW/47d8a2e60bf2442c8e0675961953eef6/231b6852c1d5725fe10000000a441470.html
)
• SAP Help Portal (http://help.sap.com)
• SAP Notes and documentations in the SAP Support Portal (https://support.sap.com or https://ga.support.sap.com/dtp/viewer/)
• Troubleshooting Tools (https://support.sap.com/en/tools/troubleshooting.html)
• Diagnostic Tools (https://support.sap.com/en/tools/diagnostic-tools.html)
• SAP Community Network (https://community.sap.com/)
If you're unable to turn up any useful information, seek the assistance of an expert:
• Internal specialists and administrators
• External consultants
• Other SAP customers (in your network)
Basic Procedure
Determine solution options
Compare the various solutions options you've identified. Check which changes would be necessary in each case and how these
changes would impact on the behavior and stability of your SAP system.
Compare the impact to be expected (costs) with the result foreseen (benefits) for each individual option.
Basic Procedure
Eliminate the error
Errors may have many different causes. For example, a problem may occur because of a user error, incomplete or missing system
settings, or program errors.
In every case, you should begin by excluding the possibility of incorrect use or configuration of the system before consulting external
partners.
After you've identified one or more approaches to eliminating the error, take care not to jump the gun. For one thing, not every solution
will suit your situation every time. And, for another, you may cause further problems by making a snap decision.
Basic Procedure
Make the necessary adjustments
Only implement one change at a time if possible. If a problem occurs and you implement several changes simultaneously, you may then
be unable to identify which change solved the original problem or which change caused a new one.
In some cases, however, you need to make several changes to solve a problem.
Only implement more than one change at a time if this is absolutely essential, for example, in the case of related program changes.
Basic Procedure
Document the changes
All changes are to be documented thoroughly. If a change produces an additional problem, you must undo that change.
To do this, you need to know what the configuration was before the change was implemented and exactly what change was made. If
changes are to be applied across various systems, you must know exactly what changes are to be made and how this is to be done.
The same steps must be performed in exactly the same way in all systems.
SAP BASIS
Troubleshooting Guidelines (2/3)
Fiori Troubleshooting
• Fiori Communication Flow
• Common Error Types
• Troubleshooting Tools
2
Fiori Troubleshooting
Fiori Communication Flow
Fiori Communication Flow
Hub Deployment
NW 7.5x
NW 7.5x
RFC SAP HTTP(S)
Frontend
SAP UI5 Add-ons Web HTTP(S)
Backend HTTP(S)
dispatcher
Webdynpro & ESH
HDB
FES Add-ons
Backend dispatcher
HDB
18
Fiori Communication Flow
S/4HANA ABAP Programming Model for Fiori and RESTful ABAP Programming Model
19
Fiori Troubleshooting
Common Error Types
Common Error Types
Front-End Layer
Rendering errors
Fiori Launchpad Wrong app routing
Wrong app navigation
User Interface
Missing tiles
(Fiori)
Missing Frontend
Authorizations High UI load
times
OData Service
Application
(ABAP | CDS)
Database Table
21
Common Error Types
Back-End Layer
Fiori Launchpad
User Interface
(Fiori)
22
Common Error Types
Database Layer
Fiori Launchpad
User Interface
(Fiori)
OData Service
Application
(ABAP | CDS)
Data inconsistencies
Database Table Errors in data replication
No data
23
Fiori Troubleshooting
Troubleshooting Tools
Troubleshooting Tools
Always remember these facts and transactions
3. Update UI libraries:
–Important corrections are delivered in UI libraries that will help stabilize Fiori apps.
25
Troubleshooting Tools
Always remember these facts and transactions
Launchpad
100 100
200 200
300 300
26
Troubleshooting Tools
Always remember these facts and transactions
29
Troubleshooting Tools
Always remember these facts and transactions
30
Troubleshooting Tools
Always remember these facts and transactions
31
Troubleshooting Tools
Always remember these facts and transactions
33
Troubleshooting Tools
Always remember these facts and transactions
34
Troubleshooting Tools
Always remember these facts and transactions
14. Deploy App Support for the SAP Fiori Launchpad plugin in your landscape
– App support is available for SAP S/4HANA as part of the SAP_UI component from the following
versions:
▫ SAP_UI 7.54 SP06 in S/4HANA 1909 SP04 or Frontend Server 6.0 SP04
▫ SAP_UI 7.55 SP02 in S/4HANA 2020 FPS01 or Frontend Server 2020 SP01
15. You can run SAP Fiori Launchpad health checks as a proactive maintenance activity in
your system
– Via task list /UI2/FLP_HEALTH_CHECKS
– Using Launchpad Content Manager
36
Thank you!