<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to maintain an errors in Outbound Interface in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-maintain-an-errors-in-outbound-interface/m-p/4500364#M1064799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         You can follow the below procedure as one of the Error Notification mechanism.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If you are using a Standard Selection Program, then you can find the relevant exit to populate all the Errors in an Internal Table with&lt;/P&gt;&lt;P&gt;  Error Field Name&lt;/P&gt;&lt;P&gt;  Error Segment Name&lt;/P&gt;&lt;P&gt;  Error Message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Then, you can append all the errors (data mismatch , inconsistency) to that Internal Table, I_ERR_TAB per say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. After that, Export the same to Memory ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. In an Outbound Interface, after the Selection Program is processed, a Standard Function Module is Called, that is IDOC_CREATE_ON_DATABASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Go to that Function Module, and Create an Enhancement Implementation (In case of ECC 6.0) where you'll IMPORT the I_ERR_TAB from Memory ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Check if the I_ERR_TAB is initial. If it is not, then you can probably use the FM SO_OBJECT_SEND or SO_DOCUMENT_SEND_API1 or any other FM available for Sending Mails to the respective Persons / Users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Along with sending mail, you can also error out the IDoc by Calling the FM IDOC_STATUS_WRITE_TO_DATABASE where you'll update the IDOC_STATUS table with the errors that you have in your I_ERR_TAB table and set the Status as 26.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Venkat Phani Prasad Konduri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2008 11:52:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-22T11:52:26Z</dc:date>
    <item>
      <title>How to maintain an errors in Outbound Interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-maintain-an-errors-in-outbound-interface/m-p/4500363#M1064798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m Doing One Interface (Outbound From SAP) to Application Server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenever the File(TXT) in Created in Legacy Application Server with Succeesfull Record i have to Send an Email Notification to my Payroll  &lt;/P&gt;&lt;P&gt;Adminisatrtor Of the legacy System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one Pls tell me the steps Howto DO this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An also&lt;/P&gt;&lt;P&gt;If there is any error records found which tranferring Data to ths Legacy System.An Output shoul be display with error records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to maintain this in Interface Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Uday Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2008 13:47:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-maintain-an-errors-in-outbound-interface/m-p/4500363#M1064798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-19T13:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to maintain an errors in Outbound Interface</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-maintain-an-errors-in-outbound-interface/m-p/4500364#M1064799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         You can follow the below procedure as one of the Error Notification mechanism.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If you are using a Standard Selection Program, then you can find the relevant exit to populate all the Errors in an Internal Table with&lt;/P&gt;&lt;P&gt;  Error Field Name&lt;/P&gt;&lt;P&gt;  Error Segment Name&lt;/P&gt;&lt;P&gt;  Error Message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Then, you can append all the errors (data mismatch , inconsistency) to that Internal Table, I_ERR_TAB per say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. After that, Export the same to Memory ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. In an Outbound Interface, after the Selection Program is processed, a Standard Function Module is Called, that is IDOC_CREATE_ON_DATABASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Go to that Function Module, and Create an Enhancement Implementation (In case of ECC 6.0) where you'll IMPORT the I_ERR_TAB from Memory ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Check if the I_ERR_TAB is initial. If it is not, then you can probably use the FM SO_OBJECT_SEND or SO_DOCUMENT_SEND_API1 or any other FM available for Sending Mails to the respective Persons / Users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Along with sending mail, you can also error out the IDoc by Calling the FM IDOC_STATUS_WRITE_TO_DATABASE where you'll update the IDOC_STATUS table with the errors that you have in your I_ERR_TAB table and set the Status as 26.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Venkat Phani Prasad Konduri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 11:52:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-maintain-an-errors-in-outbound-interface/m-p/4500364#M1064799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T11:52:26Z</dc:date>
    </item>
  </channel>
</rss>

