|Alert Notifications||Exceptions||Collects events sent from the Alert Notification Service|
|Java Application Logs||Exceptions||Collects exceptions in Java Logs for applications running in SAP Business Technology Platform|
Determine Root URL
Create User for Java Log Monitoring
To connect to SAP Business Technology Platform to collect Java application exceptions you need to provide SAP Cloud ALM with a user that is allowed to read the default trace.
Retrieve Technical Name for the Subaccount
To successfully read Java application logs you need to provide the technical name of the subaccount in which the Java application is running in the Landscape Management of SAP Cloud ALM.
You find the technical name of the sub-account on the sub-account "Overview" page under Subaccount Information → Technical Name.
Write Java Errors into Default Trace
This last preparation step starts already during the development of the SAP Business Technology Platform application. To be able to collect application errors, these errors must exist in the default trace for the SAP Business Technology Platform java application. Hence developers must write meaningful errors in this trace. The quality of the monitored exceptions completely depends on the quality of the exceptions written by the developer.
Enable SAP Business Technology Platform Alert Notifications
Receiving alert notifications is done via the Alert Notification Service which can be enabled for your SAP Business Technology Platform account.
Important: Please be aware that the use of this service is quota based (billable)!
To enable the service please follow the documentation:
Gather Connection Information
To authenticate towards the service you have to create an OAuth client in SAP Business Technology Platform. Information how to do this you find here:
Please make sure to note down or copy the client secret, as it cannot be retrieved later on.
You will need the following connection information to connect SAP Cloud ALM.
Create a new SAP BTP Neo Service in Landscape Management
While your SAP BTP - Neo service is already imported in the Landscape Management via the SLIS import, the imported tenant ID is currently not sufficient to retrieve Java application errors.
Hence you have to manually create an additional entry in Landscape Management for the SAP BTP - Neo service with the correct tenant ID.
Create Endpoint for Java Application Error collection
Create Endpoint for Alert Notification Collection
Because you have to choose the correct end-point for each of the categories in SAP Business Technology Platform - Neo you have to activate the monitoring manually.
Adjust Monitoring Categories
Available Alerts for SAP Business Technology Platform - Neo
Available Filter Fields for SAP Business Technology Platform - Neo
The filter fields depend on the monitoring category the alert is created for and additional on the filter category, if there is more than one available.
Java Application Logs