2022 Nov 23 11:50 AM
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 ?
2022 Nov 24 9:09 AM
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:
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.
2022 Nov 23 1:17 PM
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.
2022 Nov 24 9:09 AM
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:
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.