Skip to Content
avatar image
Former Member

Issue with Mail Adapter

Hi Experts,

I am working in Mail to Idoc Scenario.

When the mail is sent from X user it's not been picked up by PI. But, when I forward the same mail and send it by using some other userID, its being picked up by Pi.

The error displayed in RWB is:

com.sap.aii.messaging.lang.BinaryIndexOutOfBoundsException:Binary index out of range :-2

while troubleshooting, when I checked "Generate Fetch Report", It was failing with the error "No Receiver_BE"

Please suggest.

Thanks & Regards,

Sushama

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 25, 2010 at 07:22 PM

    Hi Sushama,

    I think when you forward the email, the boundarys are changed by your mail client, thats why it works, when

    the mail is forwarded first..

    There is a SAP Note that describes the "index out of range -2" problem:

    when the sender mail adapter processes mails with multipart mime content type

    and boundary as "-", below exception occurs:

    exception caught during processing mail message [1]

    com.sap.aii.af.sdk.xi.lang.BinaryIndexOutOfBoundsException:

    Binary index out of range: -2

    Apply the following patch: Note 1362573 - Sender Mail Adapter - Multipart boundary "-" issue

    and it should work in the first place.

    regards,

    Daniel

    Edited by: Daniel Rexter on Aug 25, 2010 9:26 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 24, 2010 at 04:21 AM

    Hi,

    When the mail is sent from X user it's not been picked up by PI. But, when I forward the same mail and send it by using some other userID, its being picked up by Pi

    it means that the Mail cannot be picked from certain mail ID. Is this is the user u have configured in Sender Mail Adapter.. or any one...

    Mail adapter can pick the mails only from the User Inbox for which u have configured...

    Babu

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      User Name: Its nothing but the User name for the mail server.

      Once the PI finds any mail in the user inbox, it must be able to pick?

      Its unable to pick the mails from one particular user inside the user inbox..

      Any Suggestions?

      Thanks,

      Sushama

      Edited by: sushama pandey on Aug 25, 2010 10:27 AM

  • avatar image
    Former Member
    Sep 14, 2010 at 12:28 AM

    Hi,

    I have applied the patch as per the SAP note..the sender file adapter having adapter modules are failing with the Mapping exception??

    The adapter framework got affected from the Patch??

    The module needs to be redeployed?? Patch for File adapter has to be applied separately??

    Please suggest.

    Thanks,

    Sushama

    Edited by: sushama pandey on Oct 5, 2010 6:04 AM

    Add comment
    10|10000 characters needed characters exceeded