<?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: Lock and Commit work in INBOUND IDOC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-and-commit-work-in-inbound-idoc/m-p/2341614#M516171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys&lt;/P&gt;&lt;P&gt;the packetsize is already set to 1 but the problem still again..... and where i can find this setting   "in Customizing choose Engineering Change Management ® Define statuses for master record". ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way i try in function module in inbound to check the lock object with this sample code:&lt;/P&gt;&lt;P&gt;      DO 30 TIMES.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'ENQUEUE_EMEKKOS'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;           mode_ekko            = 'S'&lt;/P&gt;&lt;P&gt;           mandt                = sy-mandt&lt;/P&gt;&lt;P&gt;           ebeln                = goodsmvt_item-po_number&lt;/P&gt;&lt;P&gt;           _scope               = '2'&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;           foreign_lock         = 1&lt;/P&gt;&lt;P&gt;           system_failure       = 2&lt;/P&gt;&lt;P&gt;           OTHERS               = 3.&lt;/P&gt;&lt;P&gt;        IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;          WAIT UP TO 1 SECONDS.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          EXIT.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but also with this....problem syill again...&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Boris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2007 07:28:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-01T07:28:06Z</dc:date>
    <item>
      <title>Lock and Commit work in INBOUND IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-and-commit-work-in-inbound-idoc/m-p/2341611#M516168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Problem is about lock and commit work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to receive idoc for Good receipt for purchase order.&lt;/P&gt;&lt;P&gt;For one Purchase Order i can receive many good receipt Idoc at the same time and when first came in Lock the Purchase Order and further idoc came after give Errors becouse purchase Order is lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is not the serialization (the sequence is correct), but is the lock.&lt;/P&gt;&lt;P&gt;Any idea on how to fix this issue? (maybe there is some std settings??)&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Boris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 15:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-and-commit-work-in-inbound-idoc/m-p/2341611#M516168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T15:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Lock and Commit work in INBOUND IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-and-commit-work-in-inbound-idoc/m-p/2341612#M516169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The requirement is your want to execute your IDOC separately, one IDOC each time,  right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should disable your server group for IDOC handling, because it will launch several session to handle IDOC parallel, lock issue will happen. So make sure you make it disable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Set your IDOC inbound process code for  Individual one, and Packetize one.&lt;/P&gt;&lt;P&gt;E.G.  BAPI  not  BAPP.&lt;/P&gt;&lt;P&gt;Because the Packetize will execute serial of IDOC in one commit work. I think individual one will be better for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 01:46:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-and-commit-work-in-inbound-idoc/m-p/2341612#M516169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T01:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Lock and Commit work in INBOUND IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-and-commit-work-in-inbound-idoc/m-p/2341613#M516170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       try like this Distribution lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can control the distribution of change master records with the indicator Distribution lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set the indicator in Customizing choose Engineering Change Management ® Define statuses for master record. This setting is read when distribution automatically starts after a change pointer is set or for an Integrated Distributed PDM Solution (ID PDM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An object with this indicator in its status will not be distributed into other ALE systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can ignore this setting by starting the distribution manually. When you set the indicator Ignore Distribution lock in the initial screen, then all change master records will be distributed overriding the previously set status. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 06:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-and-commit-work-in-inbound-idoc/m-p/2341613#M516170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T06:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lock and Commit work in INBOUND IDOC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lock-and-commit-work-in-inbound-idoc/m-p/2341614#M516171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys&lt;/P&gt;&lt;P&gt;the packetsize is already set to 1 but the problem still again..... and where i can find this setting   "in Customizing choose Engineering Change Management ® Define statuses for master record". ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way i try in function module in inbound to check the lock object with this sample code:&lt;/P&gt;&lt;P&gt;      DO 30 TIMES.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'ENQUEUE_EMEKKOS'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;           mode_ekko            = 'S'&lt;/P&gt;&lt;P&gt;           mandt                = sy-mandt&lt;/P&gt;&lt;P&gt;           ebeln                = goodsmvt_item-po_number&lt;/P&gt;&lt;P&gt;           _scope               = '2'&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;           foreign_lock         = 1&lt;/P&gt;&lt;P&gt;           system_failure       = 2&lt;/P&gt;&lt;P&gt;           OTHERS               = 3.&lt;/P&gt;&lt;P&gt;        IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;          WAIT UP TO 1 SECONDS.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          EXIT.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but also with this....problem syill again...&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Boris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 07:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lock-and-commit-work-in-inbound-idoc/m-p/2341614#M516171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-01T07:28:06Z</dc:date>
    </item>
  </channel>
</rss>

