<?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 in creating IR through BAPI_INCOMINGINVOICE_create BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-ir-through-bapi-incominginvoice-create-bapi/m-p/1517929#M238197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all I am assuming that you did not get any error in the BAPI return structure (even though you see document number populated). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly,  I guess you tested the BAPI with SE37 and did not get any error (functionally there are a number of BAPIs available to post an invoice and it is important to figure out the correct BAPI - e.g. PO, non-PO invoice, invoice as a GL entry only, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is not true (there is some error in posting), since during the BAPI call the next document number is obtained as a first step, you will see the document number but subsequently if for some reason it is not posted, you will see the result as you mentioned (no data in the database).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using correct BAPI and have no errors, then  in ABAP program make sure to call 'BAPI_TRANSACTION_COMMIT' after the BAPI call to post invoice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For non-SAP external system, you need not have to call the commit BAPI but just closing the connection to SAP will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Aug 2006 21:32:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-20T21:32:25Z</dc:date>
    <item>
      <title>Problem in creating IR through BAPI_INCOMINGINVOICE_create BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-ir-through-bapi-incominginvoice-create-bapi/m-p/1517926#M238194</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;Some problem in creating IR through the BAPI BAPI_INCOMINGINVOICE_create. I am able to see the IR number after executing the BAPI but unable to see the IR number in the table. The IR number is not getting updated in the database table even though we are doing the commit work after executing the BAPI. Could anyone help me out with this error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2006 11:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-ir-through-bapi-incominginvoice-create-bapi/m-p/1517926#M238194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-19T11:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating IR through BAPI_INCOMINGINVOICE_create BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-ir-through-bapi-incominginvoice-create-bapi/m-p/1517927#M238195</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;I have faced a similar problem with one of the material create BAPi's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the commit work as you did , but did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i wrapped the BAPI inside a 'Z' FM with same import / export parameters and did commit inside the Z FM. This something do with the logical unit of work (LUW ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it...wont take long time.  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2006 12:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-ir-through-bapi-incominginvoice-create-bapi/m-p/1517927#M238195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-19T12:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating IR through BAPI_INCOMINGINVOICE_create BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-ir-through-bapi-incominginvoice-create-bapi/m-p/1517928#M238196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use the transaction commit .&lt;/P&gt;&lt;P&gt;may be you need to use BAPI_INCOMINGINVOICE_SAVE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below link for your problem&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/problem-creating-invoice-with-bapi_incominginvoice_create-437168#" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/problem-creating-invoice-with-bapi_incominginvoice_create-437168#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Aug 2006 13:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-ir-through-bapi-incominginvoice-create-bapi/m-p/1517928#M238196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-19T13:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in creating IR through BAPI_INCOMINGINVOICE_create BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-ir-through-bapi-incominginvoice-create-bapi/m-p/1517929#M238197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all I am assuming that you did not get any error in the BAPI return structure (even though you see document number populated). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly,  I guess you tested the BAPI with SE37 and did not get any error (functionally there are a number of BAPIs available to post an invoice and it is important to figure out the correct BAPI - e.g. PO, non-PO invoice, invoice as a GL entry only, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is not true (there is some error in posting), since during the BAPI call the next document number is obtained as a first step, you will see the document number but subsequently if for some reason it is not posted, you will see the result as you mentioned (no data in the database).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using correct BAPI and have no errors, then  in ABAP program make sure to call 'BAPI_TRANSACTION_COMMIT' after the BAPI call to post invoice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For non-SAP external system, you need not have to call the commit BAPI but just closing the connection to SAP will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 21:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-creating-ir-through-bapi-incominginvoice-create-bapi/m-p/1517929#M238197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-20T21:32:25Z</dc:date>
    </item>
  </channel>
</rss>

