<?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 IDOC Inbound processing and Locks in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958349#M66824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are trying to process an incoming idoc. But all the time we get an error: Immediately processing not possible: EDI: IDOC "XYZ" is currently locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an lock entry for this IDOC in table EDIDC. We get this error while calling the FM IDOC_STATUS_WRITE_TO_DATABASE with status 52 (application doucument not fully posted).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can we do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2005 11:46:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-22T11:46:06Z</dc:date>
    <item>
      <title>IDOC Inbound processing and Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958349#M66824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are trying to process an incoming idoc. But all the time we get an error: Immediately processing not possible: EDI: IDOC "XYZ" is currently locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an lock entry for this IDOC in table EDIDC. We get this error while calling the FM IDOC_STATUS_WRITE_TO_DATABASE with status 52 (application doucument not fully posted).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can we do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 11:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958349#M66824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T11:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Inbound processing and Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958350#M66825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check in transaction SM12 and see if there is a lock entry . If yes delete it manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 11:50:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958350#M66825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T11:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Inbound processing and Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958351#M66826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I know there is a lock entry in SM12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is why is that lock entry causing an error while updating the IDOC status using the function module IDOC_STATUS_WRITE_TO_DATABASE...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 12:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958351#M66826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T12:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Inbound processing and Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958352#M66827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked the consistency of the IDOC in WE30.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 12:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958352#M66827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T12:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Inbound processing and Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958353#M66828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please tell us the message type and your logic(not code) for processing the IDocs? Looks like you are doing this using your custom program. Am I correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 12:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958353#M66828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T12:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Inbound processing and Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958354#M66829</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;  Did you try setting IDOC_OPENED_FLAG = 'X' in the call to fm IDOC_STATUS_WRITE_TO_DATABASE..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 13:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958354#M66829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T13:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Inbound processing and Locks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958355#M66830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly why are you trying to write the IDoc status to the database?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like you have written a custom IDoc.  If this is so, you would pass the IDoc status back in table IDOC_STATUS, and it will get updated automatically by SAP.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When SAP extracts the IDoc data, it places an Enqueue lock on the IDOC.  That is why you are getting the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2005 19:06:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-inbound-processing-and-locks/m-p/958355#M66830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-23T19:06:14Z</dc:date>
    </item>
  </channel>
</rss>

