<?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: Account assignment for entry sheet  missing in MIRO BAPI - BAPI_INCOMINGINVOICE_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/account-assignment-for-entry-sheet-missing-in-miro-bapi-bapi/m-p/673219#M29680</link>
    <description>&lt;P&gt;Here are some suggestions - not really an answer:&lt;/P&gt;&lt;P&gt;1.  Can you do it manually using just the information you have provided to the BAPI?  You may be missing something.&lt;/P&gt;&lt;P&gt;2. Did you try running the BAPI in SE37?  It might give you some more information.&lt;/P&gt;&lt;P&gt;Try a search on sap BAPI_INCOMINGINVOICE_CREATE account assignment.   There is a lot out there.  I really didn't read it all to see if it would help in your case.&lt;/P&gt;&lt;P&gt;Finally: Thank you for providing the code it will make it easier for someone else to answer.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Oct 2018 13:47:12 GMT</pubDate>
    <dc:creator>mmcisme1</dc:creator>
    <dc:date>2018-10-12T13:47:12Z</dc:date>
    <item>
      <title>Account assignment for entry sheet  missing in MIRO BAPI - BAPI_INCOMINGINVOICE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/account-assignment-for-entry-sheet-missing-in-miro-bapi-bapi/m-p/673218#M29679</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I am getting error as '&lt;STRONG&gt;Account assignment for entry sheet missing&lt;/STRONG&gt;' in above MIRO bapi for service purchase order.&lt;/P&gt;
  &lt;P&gt;I have written the code as below in my program.&lt;/P&gt;
  &lt;P&gt;*** For header structure&lt;/P&gt;
  &lt;P&gt; gw_header-invoice_ind = gv_x.&lt;BR /&gt; gw_header-doc_type = gw_data-blart.&lt;BR /&gt; gw_header-doc_date = gw_data-bldat.&lt;BR /&gt; gw_header-pstng_date = gw_data-budat.&lt;BR /&gt; gw_header-ref_doc_no = gw_data-xblnr.&lt;BR /&gt; gw_header-comp_code = gw_data-bukrs.&lt;BR /&gt; gw_header-gross_amount = gw_data-rmwwr.&lt;BR /&gt; gw_header-calc_tax_ind = gw_data-xmwst.&lt;BR /&gt; gw_header-del_costs_taxc = gw_data-mwskz.&lt;BR /&gt; gw_header-business_place = gw_data-bupla.&lt;BR /&gt; gw_header-currency = gw_data-waers.&lt;BR /&gt; gw_header-currency_iso = gw_data-waers.&lt;BR /&gt; gw_header-item_text = gw_data-sgtxt.&lt;BR /&gt; gw_header-gst_part = gw_data-gst_part.&lt;BR /&gt; gw_header-plc_sup = gw_data-plc_sup.&lt;/P&gt;
  &lt;P&gt;*** For Item table&lt;/P&gt;
  &lt;P&gt; gw_item-invoice_doc_item = 000001.&lt;BR /&gt; gw_item-po_number = gw_data-ebeln.&lt;BR /&gt; gw_item-po_item = gw_data-ebelp.&lt;/P&gt;
  &lt;P&gt;gw_item-ref_doc = gw_data-lfbnr.&lt;/P&gt;
  &lt;P&gt; gw_item-ref_doc_year = gw_data-lfgja.&lt;BR /&gt; gw_item-ref_doc_it = gw_data-lfpos.&lt;BR /&gt; gw_item-tax_code = gw_data-mwskz.&lt;BR /&gt; gw_item-item_amount = gw_data-wrbtr.&lt;BR /&gt; gw_item-quantity = gw_data-menge.&lt;BR /&gt; gw_item-po_unit = gw_data-bstme.&lt;BR /&gt; gw_item-po_unit_iso = gw_data-bstme.&lt;BR /&gt; gw_item-hsn_sac = gw_data-hsn_sac.&lt;BR /&gt; gw_item-po_pr_uom = gw_data-bprme.&lt;BR /&gt; APPEND gw_item TO gt_item.&lt;/P&gt;
  &lt;P&gt;clear gw_item.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;*** Call bapi with structure and item table details&lt;/P&gt;
  &lt;P&gt; CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'&lt;BR /&gt; EXPORTING&lt;BR /&gt; headerdata = gw_header&lt;BR /&gt; IMPORTING&lt;BR /&gt; invoicedocnumber = gv_invno&lt;BR /&gt; fiscalyear = gv_fyear&lt;BR /&gt; TABLES&lt;BR /&gt; itemdata = gt_item&lt;BR /&gt; return = gt_return.&lt;/P&gt;
  &lt;P&gt;Please suggest how to resolve this problem.&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Amol Khochare&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 14:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/account-assignment-for-entry-sheet-missing-in-miro-bapi-bapi/m-p/673218#M29679</guid>
      <dc:creator>former_member207480</dc:creator>
      <dc:date>2018-10-11T14:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Account assignment for entry sheet  missing in MIRO BAPI - BAPI_INCOMINGINVOICE_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/account-assignment-for-entry-sheet-missing-in-miro-bapi-bapi/m-p/673219#M29680</link>
      <description>&lt;P&gt;Here are some suggestions - not really an answer:&lt;/P&gt;&lt;P&gt;1.  Can you do it manually using just the information you have provided to the BAPI?  You may be missing something.&lt;/P&gt;&lt;P&gt;2. Did you try running the BAPI in SE37?  It might give you some more information.&lt;/P&gt;&lt;P&gt;Try a search on sap BAPI_INCOMINGINVOICE_CREATE account assignment.   There is a lot out there.  I really didn't read it all to see if it would help in your case.&lt;/P&gt;&lt;P&gt;Finally: Thank you for providing the code it will make it easier for someone else to answer.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 13:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/account-assignment-for-entry-sheet-missing-in-miro-bapi-bapi/m-p/673219#M29680</guid>
      <dc:creator>mmcisme1</dc:creator>
      <dc:date>2018-10-12T13:47:12Z</dc:date>
    </item>
  </channel>
</rss>

