cancel
Showing results for 
Search instead for 
Did you mean: 

Read Attachment in a Mapping for Extdend Receiver Determination

0 Kudos

Hello Experts,

I create a java mapping vor the extended receiver determination PI 7.11

The scenrio is (Mail with attachments -> SFTP)

Is it possible to read the Attachment Content in the Mapping for the RD ?

I get a NullPointerException in the Monitoring if i want to read the attachment.

Why is inputAttachments.areAttachmentsAvailable() = false in the Mappinng ?

Thx for the answers.

Accepted Solutions (1)

Accepted Solutions (1)

avinash_ayanala
Participant
0 Kudos

Hi Aka,

This might help you it has provided the details about how to access the attached file.

Regards,

Avinash

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Aka,

Are you using the XIPayload in the sender mail protocol?. Check the Keep attachments in the sender mail adapter (SAP Library - Configuring the Mail Adapter in the Integration Directory/PCK)

Have you read carefully the steps in this blog ?

Hope this helps.

Regards.

gagandeep_batra
Active Contributor
0 Kudos

Hi Aka,

Did you select the keep attachment /read attachment option in operation mapping..

Regards

GB