cancel
Showing results for 
Search instead for 
Did you mean: 

RNIF attachment Content Type

Former Member
0 Kudos

I receive multiple attachments when I receive a message on the RNIF 2.0 sender adapter. But the content type gets converted to application/octet-stream when it is passed to the integration engine. I need the original content-Type of the attachment as I need to save the file.

This is the MIME Header of the attachments from the RNIF channel

Content-Type: application/pdf

Content-Transfer-Encoding: base64

Content-ID: d30d9084-7b07-1000-8271-0a0e06110001

Content-Description: Document

Content-Disposition: inline

Content-Type: application/msword

Content-Transfer-Encoding: base64

Content-ID: d30d9084-7b07-1000-a6fd-0a0e06110001

Content-Description: Document

Content-Disposition: inline

This is what I see in sxmb_moni

attachment1(application/octet-stream)

attachment2(application/octet-stream)

Since the attachment can have different content types on different messages, I need to get the actual Content-Type which the message came with. I tried AF_Modules/MultipartHeaderBean in the sender channel but it did not help. When I retrieve the attachment content type in my java code it comes as application/octet-stream.

Anyone worked with multiple attachment with RNIF throw some insight here.

Any help on this is greatly appreciated.

Thanks in Advance

Asif

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I opened a ticket with SAP and they fixed the bug with SAP Note: 1609803.