Show TOC

Accessing information from a back-end systemLocate this document in the navigation structure

The JavaScript start-up API allows you to read the following information from a back-end system:

  • User information (for example user name, e-mail address)
  • Information on the user's logon system
  • The user menu
Note

The back-end service that is called by the JavaScript API may change in future support packages, but the JavaScript API will remain stable.

In order to use the JavaScript API, you have to include the following scripts:

<script src="/sap/public/bc/ui2/services/sap/ui2/srvc/error.js"></script>
<script src="/sap/public/bc/ui2/services/sap/ui2/srvc/utils.js"></script> 
<script src="/sap/public/bc/ui2/shell-api/sap/ui2/shell/startup.js"></script>