<?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: Problem processing Idoc with FM IDOC_INPUT_DELVRY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117621#M1707412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BACKGROUND&amp;nbsp; Task will be executed after the update task is finished if this is registered after update task. &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm" title="http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial; background-color: #ffffff;"&gt;When executing the &lt;/SPAN&gt;&lt;SPAN class="ScreenOutput11" style="font-family: 'Courier New'; color: #000000; background-color: #ffffff;"&gt;&lt;STRONG&gt;COMMIT WORK&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Arial; background-color: #ffffff;"&gt; statement, the function modules registered for the current SAP LUW are started in the sequence in which they were registered.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So your BAPI should ideally executed after finish of Update Task. if its still start same time (Not 100% sure) You can put small delay but that will be last option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2012 10:28:56 GMT</pubDate>
    <dc:creator>former_member189779</dc:creator>
    <dc:date>2012-12-07T10:28:56Z</dc:date>
    <item>
      <title>Problem processing Idoc with FM IDOC_INPUT_DELVRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117615#M1707406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need help. I am using a Z funcion module copy of IDOC_INPUT_DELVRY FM to process Inbound Idocs. It works fine, perfect but after the&amp;nbsp; IDOC_INPUT_DELVRY FM I call the BAPI 'BAPI_OUTB_DELIVERY_CHANGE' To modify some filed in the delivery taht we cannot modify with the idoc processing. The problem is the BAPI dosen´t update sometimes this fileds. I think its a block problem because the IDOC_INPUT_DELVRY its executed in update task so sometimes when the bapi its going to uodate the delivery the IDOC_INPUT_DELVRY its modifying it and the BAPI dosen´t run. I' am checking the delivery blocks before updating the delivery with the BAPI but it never gives any block . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So how can I be sure the IDOC_INPUT_DELVRY have finished the update to start the BAPI_OUTB_DELIVERY_CHANGE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you tell me anything??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 12:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117615#M1707406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-06T12:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem processing Idoc with FM IDOC_INPUT_DELVRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117616#M1707407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes you are right, it seems to be caused by the processing in update task, but why do you want to change the incoming delivery this way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it not possible to implement all necessary changes within the function for inbound processing before posting? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use very easily UserExit V55K0030.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 13:35:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117616#M1707407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-06T13:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem processing Idoc with FM IDOC_INPUT_DELVRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117617#M1707408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try calling your BAPI &lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;BAPI_OUTB_DELIVERY_CHANGE&lt;/SPAN&gt; in Background task. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 13:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117617#M1707408</guid>
      <dc:creator>former_member189779</dc:creator>
      <dc:date>2012-12-06T13:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem processing Idoc with FM IDOC_INPUT_DELVRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117618#M1707409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; Hi gurus again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; First of all , thanks for your replies. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Second:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Robert, yes we are using that user to modify some fileds of the delivery head, but we have to modify filelds like the partner name and other things we coluldn´t do it there because the&amp;nbsp; IDOC_INPUT_DELVRY calls internally to the delivery_update_2 and in case of picking it dosen´t use some structures to call the delivery_update_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vinit, why in background task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thinking about the issue maybe the best option before calling the bapi could be getting the updating tasks pending and if there is any update task pending for the delivery wait till this update task is processed. What do you think about??&amp;nbsp; The table storing that update task information I think its VBHDR, do you know any fm to read the update tasks pending?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other posibility could be make a WAIT big betwen the idoc processing and the BAPI execution, something like 30 seconds or 60 , because every idoc is processed in background so we don´t need it to be fast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; What do you think friends?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 16:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117618#M1707409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-06T16:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem processing Idoc with FM IDOC_INPUT_DELVRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117619#M1707410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put a WAIT statement say for 5 or 10 seconds and then call the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Felix&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 06:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117619#M1707410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-07T06:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem processing Idoc with FM IDOC_INPUT_DELVRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117620#M1707411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK If it is like this than I would recomend to do as follow:&lt;/P&gt;&lt;P&gt;- encapsulate the BAPI in update FM &lt;/P&gt;&lt;P&gt;- within this FM check within loop and periodic times (100 ms) the existance of the relevant infos on Database. &lt;/P&gt;&lt;P&gt;- if they are exist, than run the BAPI&lt;/P&gt;&lt;P&gt;- do not forget to implement a mechanism to leave the loop in case of failure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 09:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117620#M1707411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-07T09:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem processing Idoc with FM IDOC_INPUT_DELVRY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117621#M1707412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BACKGROUND&amp;nbsp; Task will be executed after the update task is finished if this is registered after update task. &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm" title="http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial; background-color: #ffffff;"&gt;When executing the &lt;/SPAN&gt;&lt;SPAN class="ScreenOutput11" style="font-family: 'Courier New'; color: #000000; background-color: #ffffff;"&gt;&lt;STRONG&gt;COMMIT WORK&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Arial; background-color: #ffffff;"&gt; statement, the function modules registered for the current SAP LUW are started in the sequence in which they were registered.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So your BAPI should ideally executed after finish of Update Task. if its still start same time (Not 100% sure) You can put small delay but that will be last option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 10:28:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-processing-idoc-with-fm-idoc-input-delvry/m-p/9117621#M1707412</guid>
      <dc:creator>former_member189779</dc:creator>
      <dc:date>2012-12-07T10:28:56Z</dc:date>
    </item>
  </channel>
</rss>

