cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is it possible to display Custom Application Logs in S/4HANA Cloud Public Edition?

DiegoValdivia
Active Participant
3,988

Hi everyone,

Today i implemented some ABAP Restful Event handling.

As part of the logic, I save some messages in the system using class CL_BALI_LOG which creates Application Logs, just like we used to do with BAL_LOG Function Modules.

The Log logic works great, I’m allowed to save the logs correctly.

The problem I’m facing is that I haven’t found a way to Display those custom logs using a Fiori app in Cloud Public using a standard Fiori App. In On-Premise systems, we display them using tcode SLG1.

Here is the list of my findings:

Please let me know if you have any suggestions or if you have accomplish Log Display in a different way.

 

Accepted Solutions (0)

Answers (1)

Answers (1)

HenrikeGrtecke
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

Thank you very much for your question and sorry for the late reply.

Can you please check whether the following information (GenAI was used to help generate this content) solves your issue?

To display custom application logs in SAP S/4HANA Cloud using a standard Fiori app, you can consider the following options:

  1. SAP Fiori App ‘Display Application Logs’ (F1487): Manage Your SAP S/4HANA Cloud Public Edition - Application Logs

    • This app is designed to display application logs and is available in the SAP Fiori Library. However, you mentioned difficulties in finding it within the IAM Information System. Ensure that the app is included in the correct business catalog and that you have the necessary authorizations.
  2. Freestyle App Integration: Developer Extensibility - Freestyle App Integration

    • You can create a freestyle app and integrate the application log display using the Fiori Reuse Library. This involves adapting your view definition and controller files to include the log display component. Although you have had challenges with reuse libraries before, this method provides a structured way to display logs.
  3. Custom Class CL_BALI_LOG_DB:

    • As you have already implemented, using a custom class to retrieve and display logs is a viable option. You can enhance this approach by creating a CDS Custom Entity to expose the logs in a more structured format.
  4. Creating a Custom Tile:

    • You attempted to create a custom tile pointing to the F1487 app intent. Ensure that you have the necessary authorizations and that the tile configuration is correct.
  5. Business Catalog and Authorization:

    • Verify the business catalog that contains the application logs tile and ensure that your user role includes this catalog. You may need to consult with your system administrator to adjust roles and authorizations.

For more detailed guidance on implementing the Fiori Reuse Library, you can refer to the documentation on Freestyle App Integration.

Kind regards,

Henrike

 [1] Manage Your SAP S/4HANA Cloud Public Edition - Application Logs

DiegoValdivia
Active Participant
Hi @HenrikeGrtecke even when I'm pro AI, I think it shouldn't be used for all scenarios, like the one in this post. This AI reply basically just reprhased my post and made it look like a response.