<?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: MIR7 - Error in BAPI or what do I wrong? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mir7-error-in-bapi-or-what-do-i-wrong/m-p/4750218#M1114162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;maybe :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
.......

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
  EXPORTING
    wait = 'X'.

* invoicedocnumber/fiscalyear are obtained from 
* BAPI_INCOMINGINVOICE_PARK
WHILE l_invoicedocnumber IS INITIAL.
  SELECT SINGLE belnr FROM rbkp INTO l_invoicedocnumber
  WHERE belnr = invoicedocnumber 
  AND      gjahr = fiscalyear.
   WAIT UP TO 1 SECONDS.
ENDWHILE.

*
CALL FUNCTION 'BAPI_INCOMINGINVOICE_CHANGE'
.......

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
  EXPORTING
    wait = 'X'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Nov 2008 16:32:23 GMT</pubDate>
    <dc:creator>former_member182371</dc:creator>
    <dc:date>2008-11-17T16:32:23Z</dc:date>
    <item>
      <title>MIR7 - Error in BAPI or what do I wrong?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mir7-error-in-bapi-or-what-do-i-wrong/m-p/4750217#M1114161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a function that allows me to create incoming invoices as parked documents. Now I've the problem that the BAPI brings an error that I cannot understand...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Creating a parked document (without items) with BAPI_INCOMINGINVOICE_PARK.&lt;/P&gt;&lt;P&gt;- Add line for line new positions to the invoice I created the step before with BAPI_INCOMINGINVOICE_CHANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now I have the problem that the second BAPI let me only add a single position to the parked document. In each of the following lines I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E	Service number entered (0000000000) does not exist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to say that the purchase order has the following´entries in the tab "Services":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pos 10: Service 4711 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is my error? I can't find it &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 15:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mir7-error-in-bapi-or-what-do-i-wrong/m-p/4750217#M1114161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-06T15:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: MIR7 - Error in BAPI or what do I wrong?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mir7-error-in-bapi-or-what-do-i-wrong/m-p/4750218#M1114162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;maybe :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
.......

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
  EXPORTING
    wait = 'X'.

* invoicedocnumber/fiscalyear are obtained from 
* BAPI_INCOMINGINVOICE_PARK
WHILE l_invoicedocnumber IS INITIAL.
  SELECT SINGLE belnr FROM rbkp INTO l_invoicedocnumber
  WHERE belnr = invoicedocnumber 
  AND      gjahr = fiscalyear.
   WAIT UP TO 1 SECONDS.
ENDWHILE.

*
CALL FUNCTION 'BAPI_INCOMINGINVOICE_CHANGE'
.......

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
  EXPORTING
    wait = 'X'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 16:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mir7-error-in-bapi-or-what-do-i-wrong/m-p/4750218#M1114162</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2008-11-17T16:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: MIR7 - Error in BAPI or what do I wrong?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mir7-error-in-bapi-or-what-do-i-wrong/m-p/4750219#M1114163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have same problem,can you tell me how to handle with it,can you send mail to &lt;A href="mailto:550252982@qq.com"&gt;550252982@qq.com&lt;/A&gt; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 08:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mir7-error-in-bapi-or-what-do-i-wrong/m-p/4750219#M1114163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-15T08:44:51Z</dc:date>
    </item>
  </channel>
</rss>

