<?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 Delayed IDoc acknowledgement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delayed-idoc-acknowledgement/m-p/5828636#M1316192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the scenario:&lt;/P&gt;&lt;P&gt;1. Send IDoc to middleware&lt;/P&gt;&lt;P&gt;2. Middleware updates an external application database&lt;/P&gt;&lt;P&gt;3. If the database update is successful&lt;/P&gt;&lt;P&gt;4. Send acknowledgement back to SAP&lt;/P&gt;&lt;P&gt;5. IDoc status is updated (possibly status 41?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Middleware is WebSphere which is SAP certified and obviously has adapters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is possible, does anyone know what BAPI would need to be called by the middleware or any other way this could be accomplished? web service?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2009 22:15:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-24T22:15:00Z</dc:date>
    <item>
      <title>Delayed IDoc acknowledgement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delayed-idoc-acknowledgement/m-p/5828636#M1316192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the scenario:&lt;/P&gt;&lt;P&gt;1. Send IDoc to middleware&lt;/P&gt;&lt;P&gt;2. Middleware updates an external application database&lt;/P&gt;&lt;P&gt;3. If the database update is successful&lt;/P&gt;&lt;P&gt;4. Send acknowledgement back to SAP&lt;/P&gt;&lt;P&gt;5. IDoc status is updated (possibly status 41?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Middleware is WebSphere which is SAP certified and obviously has adapters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is possible, does anyone know what BAPI would need to be called by the middleware or any other way this could be accomplished? web service?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 22:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delayed-idoc-acknowledgement/m-p/5828636#M1316192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T22:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Delayed IDoc acknowledgement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delayed-idoc-acknowledgement/m-p/5828637#M1316193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; In std SAP if the Idoc reaches receiving system the feedback would be send as message type ALEAUD to SAP, but for your case once the datas updated to target system then you want update the status of the same Idoc in SAP, for this I dont think we have any std BAPI in SAP, but still you can create a Z BAPI and need to update the status of the same Idoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technically speaking you need to have very good design to proceed further.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 06:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delayed-idoc-acknowledgement/m-p/5828637#M1316193</guid>
      <dc:creator>alex_m</dc:creator>
      <dc:date>2009-06-25T06:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Delayed IDoc acknowledgement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delayed-idoc-acknowledgement/m-p/5828638#M1316194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use a different Middleware (GenTrans), and we inbound iDocs to update the status of outbound iDocs in SAP. The Message Type is STATUS, iDoc Type STATUS01. In the Partner Profile, Process Code STA1 is assigned, which calls Task TS30000206. This updates the iDoc with whatever Status you determine. Here's an example STATUS iDoc, along with the fields we populate in our environment :&lt;/P&gt;&lt;P&gt;Field        Populated with&lt;/P&gt;&lt;P&gt;TABNAM	EDI_DS40&lt;/P&gt;&lt;P&gt;MANDT	010&lt;/P&gt;&lt;P&gt;DOCNUM	XXXXXXXXXXXXXXXX &amp;lt;iDoc Number you are updating&amp;gt;&lt;/P&gt;&lt;P&gt;LOGDAT	20090629&lt;/P&gt;&lt;P&gt;LOGTIM	044718&lt;/P&gt;&lt;P&gt;STATUS	12 &amp;lt;Status you want to set&amp;gt;&lt;/P&gt;&lt;P&gt;REPID	Sterling SAPSuite &amp;lt;will appear in the Status detail&amp;gt;&lt;/P&gt;&lt;P&gt;STATXT	Dispatch OK for GIS Workflow ID = YYYYYYYY &amp;lt;reference relating to your Middleware transaction&amp;gt;&lt;/P&gt;&lt;P&gt;STATYP	S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2009 23:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delayed-idoc-acknowledgement/m-p/5828638#M1316194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-28T23:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Delayed IDoc acknowledgement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delayed-idoc-acknowledgement/m-p/5828639#M1316195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about the middleware concept. But, I have achieved this functionality between two SAP sytems with the help of ALEAUD Idoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to configure both the systems in such a way that the ALEAUD Idoc is returned back to the Source system. This will directly update the Idoc which exactly needs to be updated. No need to mention the Idoc as the ALEAUD IDoc itself carries the Idoc information which needs to be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the updated status in the source system would be 41 if the actual Idoc got posted in the target system. Generally in the target system we set up a job which runs periodically. The program used in the job would be RBDSTATE which has standard SAP variant. You can use that send the audit back to the source system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of middleware only thing is you need to sit with the middleware guy and find out how this can be mapped to the source system. I think you should also maintain the distribution model for the ALEAUD Idoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Babu Kilari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2009 07:06:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delayed-idoc-acknowledgement/m-p/5828639#M1316195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-29T07:06:39Z</dc:date>
    </item>
  </channel>
</rss>

