<?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: BAPI_PO_CREATE1 - Error Handling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-error-handling/m-p/8460853#M1650361</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;Plase follow the link&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="662422"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Dec 2011 11:57:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-15T11:57:51Z</dc:date>
    <item>
      <title>BAPI_PO_CREATE1 - Error Handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-error-handling/m-p/8460850#M1650358</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;During creation of  a POs using BAPI_PO_CREATE1, if there is a error in the first PO  then the BAPI is not processing the next records. Only the errors of the first record is repeated for all the iterations. I found that this happens only if a Purchase requisition is given during the creation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide your valuable inputs on this.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 23:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-error-handling/m-p/8460850#M1650358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-13T23:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 - Error Handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-error-handling/m-p/8460851#M1650359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you place the code how you are using bapi, and if any record fails you can move it to the BAPIRETURN  table and you can process next record.I can help you on this issue if you plac the code and flat file input and what error it is showing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 04:24:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-error-handling/m-p/8460851#M1650359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-14T04:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 - Error Handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-error-handling/m-p/8460852#M1650360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the same error is getting repeated, I believe it's the internal tables (Table paramaters) &amp;amp; header data that is not being cleared by you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To verify put a breakpoint at the loop start &amp;amp; at the FM BAPI call. Ensure that your data in the internal tables are cleared at the start of every loop pass and the data for the next PO's are then passed. There is a possibility that your data might be incorrect and hence, the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, I've used BAPI_PO_CREATE1 with PR reference and found absolutely no issues in subsequent loop passes after an error. Also, clarify the error with a Functional Consultant or you can post your code and error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pranav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 05:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-error-handling/m-p/8460852#M1650360</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2011-12-14T05:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_PO_CREATE1 - Error Handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-error-handling/m-p/8460853#M1650361</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;Plase follow the link&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="662422"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 11:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-create1-error-handling/m-p/8460853#M1650361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-15T11:57:51Z</dc:date>
    </item>
  </channel>
</rss>

