Skip to Content

With SAP Fiori Cloud Edition  we also introduced HCP OData provisioning as a deployment option to connect to SAP Backend

You can refer Elizabeth’s blog where she talks more in details about what HCP ODP, how to configure it and how to build Fiori apps on top of it.

In my blog, I shall explain how you can troubleshoot while working with this service, either as an admin or as a service developer trying to publish a new service

Scenario:

Register a service in HCP ODP cockpit.

When an odata request is fired there can be exception thrown from HCP ODP and exception thrown from the backend both of which can be seen in Troubleshooting tab of HCP ODP cockpit.

In HCP ODP cockpit, click on the Show Navigation menu, under which click Troubleshooting tab

1.PNG

The troubleshooting screen shows the list of transactions that failed. Every log entry is uniquely identified by a transaction id. If the backend sends a transaction id for every request, then the same transaction id is shown here. You can also search the log entries specifying the date range.

2.PNG

On clicking a specific transaction id, you enter the “log entry details” screen.

3.PNG

The first section ‘Service Details’ shows the detail of the service. Here the Backend System shown is the default destination

The second section ‘Log Entry’ shows a high level detail about the error obtained.

The third section ‘Stacktrace’ gives the detailed stacktrace of the error message

If Backend throws an exception, then an additional tab is seen in “Log Entry Details” screen

4.PNG

Click on Backend Log Entry to see deatils of backend error.

5.PNG

Note the transaction id seen here is the same as that seen in the troubleshooting screen

In case of backend error, the obtained SAP Note can be used to check ABAP troubleshooting note https://service.sap.com/sap/support/notes/1797736


To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply