Good morning to all of you. I came infrom of you with a small quaery related to IDOC. My query is sales order is going to be created via IDOCs (Which came from XI) through FM IDOC_INPUT_ORDERS. While creating the SO we are generating the mails to users if any errors will be encountered, but here every thing is working fine and some times it is generating mail with the message 'Idoc has wrong status' for successful also. Not for all only for few sucessfull SO's it is generating mail. Please suggest me any configuration i need to check or any thing else. Please suggest me....Appriciate your valuable suggestions......Waiting for your valuable reposnse.....