Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Web service with attachment error


Using a web service, I want to get a document out of a database.

The request is going fine and the response message, with the attachment, leaves the database correctly.

When I check my scenario on SAP PO, I see an error:

Transmitting the message using connection SOAP_ failed, due to:

Error encountered while executing mapping:

Mapping failed in runtimeRuntime Exception when executing application mapping program com/sap/xi/tf/_<response message mapping name>_;

Details:; Unexpected value <null> for node <node name>

In the receiver SOAP adapter, Keep Attachments is ticked.

On Operation Mapping level, Read Attachments is also ticked.

Any idea what could be wrong here?

Thanks a lot



Our response message mapping does not do anything. Just passing through data.

For that reason, I left it out the operation mapping.

Now, I see the maindocument and the PDF attachment in the message monitor on the SAP ERP system.

Next question is: how to get that PDF out of it using ABAP code, but that's a question I do not need to answer

All suggestions, I will pass to the ABAP team.

Thanks guys for the support!


0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question