Recently I have been involved with several upgrade projects and have been faced with some very interesting and cryptic error messages. Thus, it has prompted me to write a short blog on how to to debug and enable logging on the different BPC components which can be used to troubleshoot the issues further. Depending on your error message that you are receiving, it will help to understand how to get more information in the different components.
For Client Side Logging (Admin and BPC Client)
SAP Note 1328702 - Centralized log BPC 70 M SP4. https://service.sap.com/sap/support/notes/1328702
In addition to troubleshooting, it is a good idea to do HTTP debugging. You can use the fiddler which is a free tool in order to debug the HTTP traffic between the client and the server. This tool is particularly useful for debugging slow refreshing reports.
For example: If you are having issues with slow refreshing reports, this tool will give you an idea of how long the client takes to send a request and how long it takes to receive a response from the web server. If your report is taking 5 minutes to refresh and the time it takes to send and receive a response from the web server is 10 seconds, it will point you in the right direction in terms of troubleshooting.
The .NET Middle Tier offers three primary logging mechanisms.
For the Server Side logging : (AppServer.dbo.tblLogs and PC_MS\LOGGING files)
In order to get extended information on the server side on back end server operations, it is recommended to follow the steps outlined below:
This approach will log records to the AppServer.dbo.tblLogs table, which can be used as a source of troubleshooting.
SAP Note 1328702 - Centralized log BPC 70 M SP4. https://service.sap.com/sap/support/notes/1328702
From SQL Server Management Studio, execute the following SQL query to get the information from the tblLogs table.
use Appserver
go
select * from AppServer.dbo.tblLogs
order by DateWritten desc
go
In general all exceptions will have the following string message in the Message column.
"==============[System Error Tracing]=============="
You will need to use the [datewritten] column as guide to isolating the time in which the exception has occurred. This kind of logging will generate a lot records, so it is a good idea to only use approach to troubleshoot critical issues and only for a limited time.
In order to get access to the Data Manager debug files it will be in the users [PrivatePublications] folder in the [WebFolder] path
BPC Data Manager Debug files
[WebFolders]\[AppSet]\[Application]\PrivatePublications\[UserID]\TempFiles
I hope this helps anyone who is struggling with an issue and needs to get more information.
This will help you with any OSS messages as the agent might ask you for debug logs
Kind Regards
Daniel
User | Count |
---|---|
6 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |