<?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: Locking Issues while creating TOs using L_TO_CREATE_DN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issues-while-creating-tos-using-l-to-create-dn/m-p/11683852#M1945841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding the WAIT UP TO n SECONDS. Or Commit Work and Wait.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 01:48:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-04-26T01:48:13Z</dc:date>
    <item>
      <title>Locking Issues while creating TOs using L_TO_CREATE_DN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issues-while-creating-tos-using-l-to-create-dn/m-p/11683851#M1945840</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;I am trying to create putaway transfer order based on inbound delivery. If there exists more line items(ex: 100 items or more), it starts displaying locking errors from second item. I presume that it tries to process from 2nd item even though lock still exists on first item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14506, 9123452, 3891645, 54509 are materials, DHARMAG is the user name and 1900056735 is the inbound delivery&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I concatenated material to the message to know which line it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000000000000014506&lt;/STRONG&gt; Delivery Document &lt;STRONG&gt;1900056735&lt;/STRONG&gt; currently being processed by &lt;STRONG&gt;DHARMAG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;00000000000009123452&lt;/STRONG&gt; Delivery Document &lt;STRONG&gt;1900056735&lt;/STRONG&gt; currently being processed by &lt;STRONG&gt;DHARMAG&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;00000000000003891645&lt;/STRONG&gt; Delivery Document &lt;STRONG&gt;1900056735&lt;/STRONG&gt; currently being processed by &lt;STRONG&gt;DHARMAG&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;00000000000000054509&lt;/STRONG&gt; Delivery Document &lt;STRONG&gt;1900056735&lt;/STRONG&gt; currently being processed by &lt;STRONG&gt;DHARMAG&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;FM documentation&lt;/STRONG&gt; says, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If the function module is called up several times in a program, &lt;STRONG&gt;a COMMIT WORK should be placed between the calls&lt;/STRONG&gt; and&lt;STRONG&gt; the blocks set up should be removed.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;I placed the commit work between the calls but I don't know how to remove blocks set up between the calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 21:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issues-while-creating-tos-using-l-to-create-dn/m-p/11683851#M1945840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-25T21:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Locking Issues while creating TOs using L_TO_CREATE_DN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issues-while-creating-tos-using-l-to-create-dn/m-p/11683852#M1945841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding the WAIT UP TO n SECONDS. Or Commit Work and Wait.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 01:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issues-while-creating-tos-using-l-to-create-dn/m-p/11683852#M1945841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-26T01:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Locking Issues while creating TOs using L_TO_CREATE_DN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issues-while-creating-tos-using-l-to-create-dn/m-p/11683853#M1945842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Had really similar situation but with another SAP module. Commit work and wait is correct.&lt;/P&gt;&lt;P&gt;But..... I would suggest to check lock on order before processing of any item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, if system sees that order is unlocked - it feels free to change it. If order is locked you might &lt;/P&gt;&lt;P&gt; wait some time and check again ( keep in mind, it could be actually opened in transaction ). so max attempts should be there for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; That way you would be more sure that you are not changing locked object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope helpfull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 11:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issues-while-creating-tos-using-l-to-create-dn/m-p/11683853#M1945842</guid>
      <dc:creator>pavlo_denysyuk</dc:creator>
      <dc:date>2016-04-26T11:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Locking Issues while creating TOs using L_TO_CREATE_DN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issues-while-creating-tos-using-l-to-create-dn/m-p/11683854#M1945843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another thing that I could suggest to investigate is &lt;A href="https://help.sap.com/saphelp_nw70/helpdata/en/7b/f9813712f7434be10000009b38f8cf/frameset.htm" title="https://help.sap.com/saphelp_nw70/helpdata/en/7b/f9813712f7434be10000009b38f8cf/frameset.htm"&gt;SAP Lock Concept - The SAP Lock Concept (BC-CST-EQ) - SAP Library&lt;/A&gt;. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 11:57:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/locking-issues-while-creating-tos-using-l-to-create-dn/m-p/11683854#M1945843</guid>
      <dc:creator>pavlo_denysyuk</dc:creator>
      <dc:date>2016-04-26T11:57:36Z</dc:date>
    </item>
  </channel>
</rss>

