JavaScript Diagnostics for SAP
What the JS Profiler analyzes
Configure profiling
Troubleshooting
Configure Browser-Side JavaScript Diagnostics for SAP
Use the GermainUX JS Profiler to collect advanced browser-side diagnostic information from supported SAP web applications. This capability helps investigate JavaScript errors, browser freezes, long-running operations, slow user interactions, and network problems affecting SAP users. It does not debug or profile ABAP code.Prerequisites
Before enabling browser-side diagnostics:Supported SAP interfaces
The JS Profiler can analyze browser-side activity in compatible:- SAP Fiori applications
- SAPUI5 applications
- SAP Web GUI
- Custom SAP web applications
- Browser-based SAP portals
What the JS Profiler analyzes
The JS Profiler can collect supported information about:- JavaScript execution
- Function and call-stack activity
- Long-running browser operations
- Browser freezes
- Client-side errors
- Network requests
Show all 9
Show all 9
- Resource activity
- Browser-side SAPUI5 behavior
- Third-party JavaScript
What it does not analyze
The JS Profiler does not directly analyze:- ABAP execution
- ABAP classes, methods, or function modules
- SAP application-server call stacks
- Database statements executed by ABAP
- SAP background jobs
- Native SAP GUI code
- Server-side integrations
Enable JavaScript profiling
Go to: Germain Workspace > Analytics > UX Monitoring ProfilesSteps
Select the SAP monitoring profile
Open the configuration editor
Select JavaScript Profiling Monitoring
Enable profiling
Select the profiling method supported by the environment
Restrict profiling to the required users or pages
Save the profile
Select a profiling method
JS Profiler browser extension
Use the supported GermainUX JS Profiler extension when browser-side profiling cannot be enabled directly through the application. Deploy the extension to:- Application support users
- QA users
- Developers
- Selected users reproducing a problem
- Controlled diagnostic workstations
JavaScript Self-Profiling API
Where supported, profiling can use the browser’s JavaScript Self-Profiling API. The monitored page must return:Target profiling
Avoid enabling continuous profiling for every SAP user unless its overhead, volume, security, and privacy implications have been reviewed.Include selected users
Exclude selected users
Target selected applications
Restrict profiling by:- Application
- Environment
- Hostname
- URL
- SAP application
- User
- Diagnostic period
Configure profiling
Available settings include:Reproduce an SAP browser problem
Enable profiling for the selected diagnostic user
Start a new browser session
Open the monitored SAP application
Perform only the actions required to reproduce the issue
Record the approximate reproduction time
Close the diagnostic session or disable profiling
Open the corresponding session in GermainUX
Review the browser and JavaScript telemetry
- Long-running JavaScript activity
- Function and call-stack samples
- Browser blocking
- Network wait time
- Failed requests
- JavaScript errors
Show all 9
Show all 9
- Browser freezes
- Resource loading
- The action immediately preceding the problem
Correlate with other telemetry
Where compatible identifiers and data are available, correlate browser diagnostics with:- RUM user actions
- Page and logical-view transitions
- Network requests
- HTTP endpoint monitoring
- SAP-related log events
- Supported database telemetry
- Synthetic-scenario failures
Privacy and security
Configure:- User targeting
- Page exclusions
- URL sanitization
- Request-header exclusion
- Request- and response-body exclusion
- Sensitive-data masking
- Data retention
- Role-based access
- Passwords
- Authentication tokens
- Session cookies
- Authorization headers
- Sensitive business data
- Personal information that is not required for diagnostics
Validate the configuration
Confirm that:- Profiling is enabled only for intended users.
- The extension or Self-Profiling API starts successfully.
- The SAP URL matches the monitoring profile.
- Profiling data appears in GermainUX.
- The data is associated with the correct user session.
- The reproduction period is included.
Show all 9
Show all 9
- Browser overhead remains acceptable.
- Sensitive data is not captured.
- Profiling stops when disabled.
Disable profiling
When the investigation is complete:Open the SAP UX monitoring profile
Select JavaScript Profiling Monitoring
Disable profiling or remove the included users
Save the profile
Remove the extension or response header if it is no longer required
Confirm that new profiling data is no longer collected
Troubleshooting
No profiler data appears
Verify:- Profiling is enabled.
- The user is included and not excluded.
- The SAP URL matches the profile.
- RUM JS loads successfully.
- The extension is installed and active.
- The browser supports the selected profiling method.
Show all 9
Show all 9
- The
Document-Policyheader is present when using self-profiling. - The browser can reach GermainUX.
- Privacy and consent rules permit collection.
The browser reports a policy violation
Confirm that the document response includes:Profiling increases browser overhead
Reduce:- Profiling duration
- Number of targeted users
- Number of targeted pages
- Sample-buffer size
- Profiling frequency
ABAP information does not appear
This is expected. The JS Profiler collects browser-side JavaScript and network telemetry only.Related documentation
Get More Information
GermainUX can help determine which monitoring, analytics and automation capabilities are appropriate for your SAP environment. Contact GermainUX Support.Get Help
Contact GermainUX Support
Can't find what you need?
The content of this document is proprietary to GERMAIN SOFTWARE.

