Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc Error with Status 11

0 Kudos
1,254

Hello all,

I tried 3 times to resend an Outbound IDoc with status 11, but it does not work. The status error is: mail(1): SendMail has failed!

I have checked the email orders through the transaction SOST and the mail order was successfully sent to the supplier. But why the EDI order is not going out I don't know.

So I tried to resend the IDoc:

1. through transaction ZRBDAGAIN I tried to reprocess the OUTBOUND IDoc but it didn't work.

2. i changed the status of the IDoc from 11 to 30 and the IDoc always ran on error

3. i have opened the IDoc through the transaction WE19 and a new IDoc has been created, but this new IDoc has always run on error always with the same status

Can someone please help here ?

1 ACCEPTED SOLUTION

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos
986

I think this probably needs to be checked on technical level in the Email Adapter that is used here: why does the Email Adapter "think" that sendmail has failed, when the mail was in fact sent successfully? So there is probably nothing on ALE level that can be done here. The Email Adapter is "misbehaving"...

By the way: how do you send the mail? As far as I know, there are only 5 Port types in the ALE layer:

  1. Transactional RFC
  2. EDI Flatfile
  3. ABAP-PSS
  4. XML File
  5. XML via HTTP

There is no option for sending the IDoc by mail. Are you using a middleware component like SAP BC for sending the mail? Then the problem needs to be checked in the middleware component.

2 REPLIES 2

Ryan-Crosby
Active Contributor
0 Kudos
986

Don't think anyone on here is going to be able to diagnose a problem with a Z transaction if it's a custom program without seeing the code.

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos
987

I think this probably needs to be checked on technical level in the Email Adapter that is used here: why does the Email Adapter "think" that sendmail has failed, when the mail was in fact sent successfully? So there is probably nothing on ALE level that can be done here. The Email Adapter is "misbehaving"...

By the way: how do you send the mail? As far as I know, there are only 5 Port types in the ALE layer:

  1. Transactional RFC
  2. EDI Flatfile
  3. ABAP-PSS
  4. XML File
  5. XML via HTTP

There is no option for sending the IDoc by mail. Are you using a middleware component like SAP BC for sending the mail? Then the problem needs to be checked in the middleware component.