<?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 Problem creating source list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-source-list/m-p/3679497#M886074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;   We are on ECC 5.0 and in one of our ABAP programs create a PIR as a first step using ME11 BDC call and then go ahead to create a sourcelist for the material + plant and the vendor ( for which PIR was created in the first step ) . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create source list we use the following function modules ( fms )  in sequence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ME_INITIALIZE_SOURCE_LIST&lt;/P&gt;&lt;P&gt;ME_DIRECT_INPUT_SOURCE_LIST&lt;/P&gt;&lt;P&gt;ME_POST_SOURCE_LIST_NEW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we observe is that - the ME_DIRECT_INPUT_SOURCE_LIST fm always raises an abort message - ' &lt;STRONG&gt;No PIR exists for the material and vendor&lt;/STRONG&gt; ' even though PIR is created in the first step and we check for its existence before we call the fms for the source list. However if we introduce a wait for upto 15 seconds after the PIR has been created the sourcelist creation goes through. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why the above is happening. Similar situations faced with source list creation - shared is appreciated. Correct answers helping me solve this problem will be promptly rewarded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Apr 2008 03:32:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-06T03:32:49Z</dc:date>
    <item>
      <title>Problem creating source list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-source-list/m-p/3679497#M886074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;   We are on ECC 5.0 and in one of our ABAP programs create a PIR as a first step using ME11 BDC call and then go ahead to create a sourcelist for the material + plant and the vendor ( for which PIR was created in the first step ) . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create source list we use the following function modules ( fms )  in sequence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ME_INITIALIZE_SOURCE_LIST&lt;/P&gt;&lt;P&gt;ME_DIRECT_INPUT_SOURCE_LIST&lt;/P&gt;&lt;P&gt;ME_POST_SOURCE_LIST_NEW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we observe is that - the ME_DIRECT_INPUT_SOURCE_LIST fm always raises an abort message - ' &lt;STRONG&gt;No PIR exists for the material and vendor&lt;/STRONG&gt; ' even though PIR is created in the first step and we check for its existence before we call the fms for the source list. However if we introduce a wait for upto 15 seconds after the PIR has been created the sourcelist creation goes through. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why the above is happening. Similar situations faced with source list creation - shared is appreciated. Correct answers helping me solve this problem will be promptly rewarded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Apr 2008 03:32:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-source-list/m-p/3679497#M886074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-06T03:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating source list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-source-list/m-p/3679498#M886075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System takes some time to COMMIT all the work thats why it's happening.&lt;/P&gt;&lt;P&gt;Keep the WAIT FOR UP TO &amp;lt;reasonale seconds value&amp;gt; SECONDS in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Apr 2008 05:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-creating-source-list/m-p/3679498#M886075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-06T05:18:00Z</dc:date>
    </item>
  </channel>
</rss>

