cancel
Showing results for 
Search instead for 
Did you mean: 

S/4HANA Cloud AIF Monitoring not logging error message from SOAP Call

0 Kudos

I want to test out a SOAP API, but when I make the call I get a cryptic response back from the server that says:

<soap-env:Envelope xmlns:soap-env=\"http://schemas.xmlsoap.org/soap/envelope/\">
	<soap-env:Header/>
	<soap-env:Body>
		<soap-env:Fault>
			<faultcode>soap-env:Server</faultcode>
			<faultstring xml:lang=\"en\">Web service processing error; more details in the web service error log on provider side (UTC timestamp 20200422193956; Transaction ID DD811A6521930080E005E9A25590139A) The error log can be accessed by service provider from SAP backend</faultstring>
			<detail/>
		</soap-env:Fault>
	</soap-env:Body>
</soap-env:Envelope>

I have read other blog posts saying that I must assign a recipient to users in order to get message logging. Namely here: https://answers.sap.com/questions/10878648/web-service-processing-error-more-details-in-the-w.html

Before I was testing my SOAP Client, I did go through the process of setting up the Communication Arrangements inside Communication Management. If I did not, I would be getting a 401 HTTP error instead. The arrangement includes:

  • Comm. User: COM_USER01
  • Comm. System: COM_SYS01
  • Inbound Service: SAP_COM_0444
  • Authentication: Username & Password

So using this arrangement, I took my com user and assigned it a recipient inside Assign Recipient & Monitor based on the API's documentation:

  • Namespace: /SDAR
  • Recipient Name: EDI_SD_SCHEDAGRMT_RECIPIENT
  • Message Type: Application Error or Technical Error
  • Overview & Technical User are checked

I went to check the Message Dashboard after making a SOAP call that failed, there weren't any error logs. I was expecting the call to fail in the first place but what I really need are the details of what made the transaction fail. I have a few questions about this:

  • Where else can I go in S/4HANA to view the error logs? Is there a table I can look at for these error logs? I'd like to use the Transaction ID in a constructive way since the fault envelope gives it to me.
  • Am I using the right user for logging?
  • Should I set my SUser as a recipient for the message?
  • Is there anything else I am missing?

I'm willing to provide more details if it is helpful, and I really appreciate the help.

Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

To answer my own question, I was missing the uuid in my message url. I found this out here: https://launchpad.support.sap.com/#/notes/2773986

So the url should look like:

https://<host>/sap/bc/srt/scs_ext/sap/schedgagrmtdlivschedule_in?sap-client=<client-num>&MessageId=<...;

Answers (0)