<?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 BAPI_INCOMINGINVOICE_CREATE Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119738#M1618374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem when using BAPI_INCOMINGINVOICE_CREATE, I have a requirement that I can create IR and adding tax, freight etc. through GL Account. &lt;/P&gt;&lt;P&gt;Because this is standard PO, I left blank field serial number in ACCOUNTINGDATA it comes with and error return message&lt;/P&gt;&lt;P&gt;"Account assignment 00 for purchasing document does not exist" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I try to fill the GLACCOUNTDATA table but always have a short dump &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was&lt;/P&gt;&lt;P&gt; not caught in&lt;/P&gt;&lt;P&gt;procedure "CO_FILL" "(FORM)", nor was it propagated by a RAISING clause.&lt;/P&gt;&lt;P&gt;The call to the function module "FUNC_AREA_CONVERSION_INBOUND" is incorrect:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module interface allows you to specify only&lt;/P&gt;&lt;P&gt;fields of a particular type under "I_FUNC_AREA".&lt;/P&gt;&lt;P&gt;The field "S_GLACCOUNTDATA-FUNC_AREA" specified here is a different&lt;/P&gt;&lt;P&gt;field type&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any notes that I can apply to solve this problem, or are there other solutions for the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2011 07:27:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-06T07:27:38Z</dc:date>
    <item>
      <title>BAPI_INCOMINGINVOICE_CREATE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119738#M1618374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem when using BAPI_INCOMINGINVOICE_CREATE, I have a requirement that I can create IR and adding tax, freight etc. through GL Account. &lt;/P&gt;&lt;P&gt;Because this is standard PO, I left blank field serial number in ACCOUNTINGDATA it comes with and error return message&lt;/P&gt;&lt;P&gt;"Account assignment 00 for purchasing document does not exist" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I try to fill the GLACCOUNTDATA table but always have a short dump &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was&lt;/P&gt;&lt;P&gt; not caught in&lt;/P&gt;&lt;P&gt;procedure "CO_FILL" "(FORM)", nor was it propagated by a RAISING clause.&lt;/P&gt;&lt;P&gt;The call to the function module "FUNC_AREA_CONVERSION_INBOUND" is incorrect:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module interface allows you to specify only&lt;/P&gt;&lt;P&gt;fields of a particular type under "I_FUNC_AREA".&lt;/P&gt;&lt;P&gt;The field "S_GLACCOUNTDATA-FUNC_AREA" specified here is a different&lt;/P&gt;&lt;P&gt;field type&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any notes that I can apply to solve this problem, or are there other solutions for the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119738#M1618374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-06T07:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119739#M1618375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wecome to scn.Are you able to create it manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:43:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119739#M1618375</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-09-06T07:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119740#M1618376</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;Yes we can create manually through MIRO transaction&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;AT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 07:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119740#M1618376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-06T07:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119741#M1618377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've rightly considered that Accounting Data being standard PO data, it should automatically flow. Once Account Assignment is done in PR, it gets automatically reflected in the PO as well as the Invoice. You need not pass it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the Account Assignment error, I suppose you need to verify your Line Item data in correspondence to your Schedule Line Item Data. If that is in sync., your BAPI will work successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still there is an element of doubt, then, please post your code for reference.&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>Tue, 06 Sep 2011 08:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119741#M1618377</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2011-09-06T08:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119742#M1618378</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;Please check the source and target strcure having same type or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 08:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119742#M1618378</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2011-09-06T08:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119743#M1618379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    If i understand correctly, you need to pass item no and serial no also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AccountingData table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st line: Change account assignment data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVOICE_DOC_ITEM (Document item in invoice document): 0001&lt;/P&gt;&lt;P&gt;SERIAL_NO (Serial number for the accont assignment): 01&lt;/P&gt;&lt;P&gt;TAX_CODE (Tax code): V1&lt;/P&gt;&lt;P&gt;ITEM_AMOUNT (Amount in document currency): 30&lt;/P&gt;&lt;P&gt;GL_ACCOUNT (G/L account number): 890000&lt;/P&gt;&lt;P&gt;COSTCENTER (Cost center): 1200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check documentation of FM BAPI_INCOMINGINVOICE_CREATE for further understanding..&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;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 09:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119743#M1618379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-06T09:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119744#M1618380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the prompt input &lt;/P&gt;&lt;P&gt;It appears that the short dump is caused because of modification of the bapi structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's solved now many thanks&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;AT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 09:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119744#M1618380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-06T09:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119745#M1618381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 09:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119745#M1618381</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2011-09-06T09:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119746#M1618382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Allan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting an error when calling this BAPI.  The error is CX_SY_DYN_CALL_ILLEGAL_TYPE.  &lt;/P&gt;&lt;P&gt; In the function module interface, you can specify only&lt;/P&gt;&lt;P&gt; fields of a specific type and length under "HEADERDATA".&lt;/P&gt;&lt;P&gt; Although the currently specified field&lt;/P&gt;&lt;P&gt; "IT_HEADERDATA" is the correct type, its length is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I have populated the IT_HEADERDATA correctly, as far as I know.  May I know how you resolved your error?  I am hoping your solution could help me with my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoops&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Hoops on Jan 14, 2012 3:27 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2012 19:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119746#M1618382</guid>
      <dc:creator>former_member468961</dc:creator>
      <dc:date>2012-01-13T19:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119747#M1618383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attach code for example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 12:44:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-error/m-p/8119747#M1618383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-18T12:44:39Z</dc:date>
    </item>
  </channel>
</rss>

