cancel
Showing results for 
Search instead for 
Did you mean: 

Get Content-Name from Attachments in Java-Mapping

Former Member
0 Kudos

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:

Former Member
0 Kudos

My question was how to name the attachments in an Java-Mapping. So it is not helping me, to rename them with an adapter module.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I am also facing same issue. Can you please share the solution if you resolved this issue?

Former Member
0 Kudos

Hello,

I have talked with a developer of the SAP and he hasn't an solution for this problem, too. I think this is a bug in the API.