cancel
Showing results for 
Search instead for 
Did you mean: 

API to query Application AIF Logs within Message Dashboard

0 Kudos

Hello!

I am trying to determine if there is an API for S/4HANA Cloud to retrieve the AIF application message logs within the Message Dashboard. I have searched the SAP API Business Hub (api.sap.com), but have unfortunately not found anything available.

I have several asynchronous interfaces inbound to S/4HANA Cloud from SAP CPI. I would like to be able to retrieve any error messages that may have occurred within the Message Dashboard and return them to the sending system for the inbound async. interfaces.

Is there anyone aware of an API available for this purpose or do you have other ideas that may help me?

Thank you in advance. I really appreciate your time.

Rhonda

pedano
Explorer

Hi rrwilcox , did you achieved your goal for this one? I'm having the same problem and it would be great if you can share it with me 🙂

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello Amith, Thank you for trying to help, but unfortunately your reply does not answer my question. I am trying find an API that I can call from SAP CPI to retrieve the message logs from the dashboard and return them to CPI.

After much research, I found one communication scenario that might be able to help me.

I am interested in using the communication scenario SAP_COM_454 (Application Monitoring Integration) to retrieve messages logs from the Dashboard. Based on my research, it was created for SAP Focused Run, however, I believe I may be able use the web service (or the OData service) to retrieve AIF application log messages from the Message Dashboard within S4HC. It looks like it will work, however, I am unable to find ANY documentation on this communication scenario in the SAP API Business Hub.

Does anyone have any documentation on this integration scenario? I would really appreciate more information on this scenario. I am interested in both the WSDL and the OData service and the fields I need to pass to each to retrieve the data.

BTW, I am already aware of this link which doesn't help with the documentation on the communication scenario.

https://support.sap.com/en/alm/focused-solutions/focused-run-expert-portal/focused-run-advanced-inte...

Thank you in advance.

Amith_Nair
Advisor
Advisor
0 Kudos

Hi Rhonda,

Thanks for giving more clarity to your problem statement. As you rightly pointed out, we do not have many information specific to the Comm. Arrangement SAP_COM_0454. However, I will also continue to research more on this topic and get back to this thread with more information specific to S4HANA Cloud.

However, please note that AIF Message Dashboard app in S4HANA Cloud is applicable only for Asynchronous SOAP API request because of its fundamental reason that its not real time and the source system will never be intimated about the return response and hence we need some mechanism to track the error handling which is why we have the Message Dashboard:-)

Thanks! Amith Nair

0 Kudos

Hello Marty,

Thank you so much for your message. Yes please, if you find out anymore information on SAP_COM_0454, I would really appreciate it.

Also, maybe there is another API to pull the messages logs from the dashboard, but I haven't found anything. My goal is to retrieve the message logs to be able to send error messages to sending systems.

If I knew how to access the messages, maybe a custom CDS view (converted to OData service) might work.

If you have anymore information, I would be grateful.

Thank you,

Rhonda

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rhonda

I spoke with the owners of the CA SAP_COM_0454. The CA was created for Focus Run and at this time wasnt intended for consumption via API hub which is why there is no documentation. Because it is public cloud, any customer can see this arrangement (and thereby use it). However, at this time, the link you provided is all of the info, so you would have to try to reverse engineer the API. I will let you know if I get any further update and/or can find additional information.

Thanks,

Marty

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rhonda

Will definitely continue to explore and let you know what may be coming. Today you cant pull from the message queue (unless you reverse engineer the 454 scenario which is definitely an option although less than ideal).

Thanks,

Marty

0 Kudos

Hey Marty, How would you go about reverse engineering the 454 scenario? I just want to make sure I understand exactly what you mean. Thank you again for your help. Rhonda

pedano
Explorer
0 Kudos

Hi Rhonda, were you able to do this?

Answers (3)

Answers (3)

Amith_Nair
Advisor
Advisor
0 Kudos

Hi Rhonda,

Yes, we do have several Asynchronous API's that can be tracked in the Message Dashboard. So I guess, your question is how to identify such API's? Well, I can enlist few of them which we have been working on for quite some time now.

Journal Entry Asynchronous API;Service Order: Create, Change; Service Confirmation; Service Contract etc. are few to name.

Now say for example you want to set up your user to track error handling for all asynchronous Journal Entry Posting, here is how you do it: Go to api.sap.com and select the API for asynchronous Journal Entry Posting and in the detail section you find the Business documentation.

https://help.sap.com/viewer/630f9d89492645408f7f131005f5faa7/1905.500/en-US/22a267e571e948499fda007a...

In the Business Documentation page scroll to bottom that says Message Monitoring and Error Handling, you will find the details to see how you can set up your user for reviewing the message logs and also how to set up your user for accessing AIF framework.

Please note that when you enable the API for the first time, you must create a communication arrangement for scenario SAP_COM_0002. If this communication arrangement already exists, you must reactive it by clicking the Edit and Save button.

former_member132363
Active Contributor
0 Kudos

Here are some SAP resources you may review based on your topic "s/4hana cloud,s/4hana cloud,application,application,inbound"

SAP S/4HANA Cloud

SAP S/4HANA Cloud, the next generation digital core designed to help you run ... applications with sales order without charge processing in SAP S/4HANA Cloud ... This asynchronous inbound SOAP service enables you to create a service?...

https://api.sap.com/package/SAPS4HANACloud

Post Goods Receipt for Inbound Delivery

SAP S/4HANA. SAP S/4HANA; SAP S/4HANA Cloud ... With this app, you can post a receipt of goods with reference to an inbound delivery. The app proposes a?...

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F2502')/S9OP

Create Inbound Delivery

This app is an SAP GUI for HTML transaction. These transactions are available in the SAP Fiori theme to support a seamless user experience in the SAP Fiori?...

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('VL31N')/S10OP

former_member132363
Active Contributor
0 Kudos

Here are some SAP resources you may review based on your topic "s/4hana cloud,s/4hana cloud,application,application,inbound"

SAP S/4HANA Cloud

SAP S/4HANA Cloud, the next generation digital core designed to help you run ... applications with sales order without charge processing in SAP S/4HANA Cloud ... This asynchronous inbound SOAP service enables you to create a service?...

https://api.sap.com/package/SAPS4HANACloud

Post Goods Receipt for Inbound Delivery

SAP S/4HANA. SAP S/4HANA; SAP S/4HANA Cloud ... With this app, you can post a receipt of goods with reference to an inbound delivery. The app proposes a?...

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F2502')/S9OP

Create Inbound Delivery

This app is an SAP GUI for HTML transaction. These transactions are available in the SAP Fiori theme to support a seamless user experience in the SAP Fiori?...

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('VL31N')/S10OP

0 Kudos

Thank you Edmin, but this doesn't answer my question.