<?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_INCOMINGINVOICE_CREATE Short Dump in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-short-dump/m-p/11007728#M1896964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to change your Z_FM to a RFC enabled FM, and don't call it IN UPDATE TASK but in BACKGROUND TASK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2015 12:06:03 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2015-03-26T12:06:03Z</dc:date>
    <item>
      <title>BAPI_INCOMINGINVOICE_CREATE Short Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-short-dump/m-p/11007727#M1896963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a MIRO Document when saving the PO. I am using the BADI's ME_PURCHDOC_POSTED -POSTED interface to call the&lt;/P&gt;&lt;P&gt;standard BAPI BAPI_INCOMINGINVOICE_CREATE to create the Invoice for the same in Update Task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am executing the BAPI with all the data populated into relevant internal tables, I am getting a short dump on FM CALCULATE_TAX_DOCUMENT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dump comes up with Runtime Error POSTING_ILLEGAL_STATEMENT. Upon investigation looks like it is trying to call a screen 301/300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a FM ZICA_CREATE_INV_FROM_PO which calls the standard BAPI BAPI_INCOMINGINVOICE_CREATE. This Z FM is called in an update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers to the solution would be helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 11:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-short-dump/m-p/11007727#M1896963</guid>
      <dc:creator>manukapur</dc:creator>
      <dc:date>2015-03-26T11:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Short Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-short-dump/m-p/11007728#M1896964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to change your Z_FM to a RFC enabled FM, and don't call it IN UPDATE TASK but in BACKGROUND TASK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 12:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-short-dump/m-p/11007728#M1896964</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-03-26T12:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Short Dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-short-dump/m-p/11007729#M1896965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Spot On. Worked in first instance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks a lot. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1237/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 15:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-short-dump/m-p/11007729#M1896965</guid>
      <dc:creator>manukapur</dc:creator>
      <dc:date>2015-03-26T15:41:37Z</dc:date>
    </item>
  </channel>
</rss>

