Hello,
I have a problem with a Java-Mapping with attachments. The source message is created by an ABAP-proxy with multiple attachments. Now I need an Java-Mapping, which is working fine, except the names of the attachments. They get lost and the SAP PI sets the names to the contentID. In the API for the attachment (Interface: Attachment) you have only methods for getting the contentId and content-type, not the "content-name".
Have somebody a solution, how I can get and set the content-names of the attachments in the Java-Mapping?
Here two screenshot to explain the problem: