cancel
Showing results for 
Search instead for 
Did you mean: 

Best Practice to investigate HCP Document Repository issues

Former Member
0 Kudos

Hi,

Our HCP product is using HCP's Document Repository to store business documents from Fiori apps. Occasionally we encounter issues from Doc. Repo., such as files are missing or only part of files are listed, etc.

I would really appreciate it if HCP Doc. Repo. experts can provide us some tips/tricks and best practices on how to investigate those issues, say where to find logs and how to interpret common issues from the logs, etc.

Thanks and best regards,

Ken Huang

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ken,

you could access all the data stored in your repositories via the Document Service API. I’m not sure what best practices we could provide to analyze problems as these strongly depend on the application using the document service. For your particular problem where documents are missing, I would recommend to log your create and delete requests together with the document IDs.

And if you really see problems you could not resolve by your own, you have always the possibility to contact the Document Service team - as you already did via email.

The logs of the document service are not accessible for you. The document service is used by many applications and therefore these logs contain information of many applications which should not be spread to a broader audience.

How to access the logs of your application can be found here: https://help.hana.ondemand.com/help/frameset.htm?e6e8ccd3bb571014b6afdc54744eef4d.html

Best Regards,

Achim

Former Member
0 Kudos

Achim,

Thanks for your information. 

To summarize for all users viewing this post: Doc. Service logs are not open to general users and user can contact Doc. Service team for specific question.

Thanks,

Ken

Former Member
0 Kudos

Hi Ken,

you misunderstood here something: actually your own application logs reveal all information necessary for you to understand which objects you created, which objects you deleted at what point in time and when you received e.g. a 404 for a given object and for which object id.

Achim already pointed you to SAP HANA Cloud Platform.

You don't have a need to view the logs of the document service servers itself, why should you...

Regards,

Dieter

ChrisPaine
Active Contributor
0 Kudos

Of course this requires that you follow some good application architecture for your app and do actually log when you have any issues (and that you log these as errors, or have your logging set to a level so that these are logged)

Good application logging is an essential part of building any app. Of course it becomes much harder if your app is multi-tenant, but hopefully that's not your case.

Former Member
0 Kudos

Hi Dieter,

Thanks for your advice. Actually our product does have logging framework for our application logs. My question more towards to how to investigate general HCP Doc. Repository issues which are not directly related to applications. Achim gave a very good answer to my question.

Again thanks a lot to all your support.

Best,

Ken

Answers (0)