<?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 absolutely minimal data and typical sample data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-absolutely-minimal-data-and-typical-sample-data/m-p/6133848#M1365835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ABAP experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one help me with absolutely minimal data and typical sample data values for &lt;/P&gt;&lt;P&gt;BAPI_INCOMINGINVOICE_CREATE ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Sep 2009 04:49:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-13T04:49:12Z</dc:date>
    <item>
      <title>BAPI_INCOMINGINVOICE_CREATE absolutely minimal data and typical sample data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-absolutely-minimal-data-and-typical-sample-data/m-p/6133848#M1365835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ABAP experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one help me with absolutely minimal data and typical sample data values for &lt;/P&gt;&lt;P&gt;BAPI_INCOMINGINVOICE_CREATE ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2009 04:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-absolutely-minimal-data-and-typical-sample-data/m-p/6133848#M1365835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-13T04:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE absolutely minimal data and typical sample data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-absolutely-minimal-data-and-typical-sample-data/m-p/6133849#M1365836</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;This block of code might help you.&lt;/P&gt;&lt;P&gt;LOOP AT it_final INTO &amp;lt;fs_final&amp;gt;.    &lt;/P&gt;&lt;P&gt;*Creation of header for bapi&lt;/P&gt;&lt;P&gt;    t_header-invoice_ind = 'X'.&lt;/P&gt;&lt;P&gt;    t_header-doc_date = so_date-high.&lt;/P&gt;&lt;P&gt;    t_header-pstng_date = so_date-high.&lt;/P&gt;&lt;P&gt;    t_header-comp_code = 'RS01'.&lt;/P&gt;&lt;P&gt;    t_header-gross_amount = &amp;lt;fs_final&amp;gt;-fin_amt .&lt;/P&gt;&lt;P&gt;    t_header-currency = 'INR'.&lt;/P&gt;&lt;P&gt;    t_header-pmnttrms = '0001'.&lt;/P&gt;&lt;P&gt;  ***************************************&lt;/P&gt;&lt;P&gt;LOOP AT it_mseg2 ASSIGNING &amp;lt;fs_mseg&amp;gt; WHERE lifnr = &amp;lt;fs_final&amp;gt;-lifnr.&lt;/P&gt;&lt;P&gt;      wa_itemdata-invoice_doc_item = idx.&lt;/P&gt;&lt;P&gt;      wa_itemdata-po_number = &amp;lt;fs_mseg&amp;gt;-ebeln.&lt;/P&gt;&lt;P&gt;      wa_itemdata-po_item = &amp;lt;fs_mseg&amp;gt;-ebelp.&lt;/P&gt;&lt;P&gt;      wa_itemdata-tax_code = 'V0'.&lt;/P&gt;&lt;P&gt;      wa_itemdata-item_amount = &amp;lt;fs_mseg&amp;gt;-dmbtr .&lt;/P&gt;&lt;P&gt;      wa_itemdata-quantity =  &amp;lt;fs_mseg&amp;gt;-menge.&lt;/P&gt;&lt;P&gt;      wa_itemdata-ref_doc = &amp;lt;fs_mseg&amp;gt;-mblnr.&lt;/P&gt;&lt;P&gt;      wa_itemdata-ref_doc_year = &amp;lt;fs_mseg&amp;gt;-mjahr.&lt;/P&gt;&lt;P&gt;      wa_itemdata-ref_doc_it = &amp;lt;fs_mseg&amp;gt;-zeile.&lt;/P&gt;&lt;P&gt;      wa_itemdata-po_unit = &amp;lt;fs_mseg&amp;gt;-meins.&lt;/P&gt;&lt;P&gt;      APPEND wa_itemdata TO it_itemdata.&lt;/P&gt;&lt;P&gt;      CLEAR wa_itemdata.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;********************************************************************************************&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        headerdata                = t_header&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ADDRESSDATA               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;       invoicedocnumber           = v_belnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FISCALYEAR                =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        itemdata                  = it_itemdata&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ACCOUNTINGDATA            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     glaccountdata              = it_gl_account&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MATERIALDATA              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TAXDATA                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WITHTAXDATA               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VENDORITEMSPLITDATA       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        return                    = it_return          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF v_belnr &amp;lt;&amp;gt; space.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          wait = 'X'.&lt;/P&gt;&lt;P&gt;      wa_belnr-belnr   =   v_belnr.&lt;/P&gt;&lt;P&gt;      wa_belnr-lifnr   =  &amp;lt;fs_mseg&amp;gt;-lifnr.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     wa_belnr-mblnr   =  &amp;lt;fs_mseg&amp;gt;-mblnr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      APPEND wa_belnr TO it_belnr.&lt;/P&gt;&lt;P&gt;      CLEAR wa_belnr.&lt;/P&gt;&lt;P&gt;      REFRESH: it_itemdata,it_gl_account.&lt;/P&gt;&lt;P&gt;      CLEAR: t_header.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      LOOP AT it_return INTO wa_return.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            id        = wa_return-id&lt;/P&gt;&lt;P&gt;            lang      = sy-langu&lt;/P&gt;&lt;P&gt;            no        = wa_return-number&lt;/P&gt;&lt;P&gt;            v1        = wa_return-message_v1&lt;/P&gt;&lt;P&gt;            v2        = wa_return-message_v2&lt;/P&gt;&lt;P&gt;            v3        = wa_return-message_v3&lt;/P&gt;&lt;P&gt;            v4        = wa_return-message_v4&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            msg       = wa_return-message&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            not_found = 1&lt;/P&gt;&lt;P&gt;            OTHERS    = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        wa_error-srno = wa_return-message_v1.&lt;/P&gt;&lt;P&gt;        wa_error-err_msg = wa_return-message.&lt;/P&gt;&lt;P&gt;        APPEND wa_error TO it_error.&lt;/P&gt;&lt;P&gt;        CLEAR: wa_error , wa_return.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;      REFRESH: it_itemdata,it_gl_account.&lt;/P&gt;&lt;P&gt;      CLEAR: t_header.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;with regards &lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2009 07:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-absolutely-minimal-data-and-typical-sample-data/m-p/6133849#M1365836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-13T07:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE absolutely minimal data and typical sample data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-absolutely-minimal-data-and-typical-sample-data/m-p/6133850#M1365837</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 must say the use of the BAPI correclty will depend on what kind of invoice you actually want to create, i suggest you use the t-code BAPI and Materials Management-&amp;gt;Invoice Verification-&amp;gt;CreateFromData then check the documentation for the possibilities also find there the limitations of the BAPI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good day, Hope it helps, if you can however tell me what you want to use it for i will be in a better position to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 09:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-absolutely-minimal-data-and-typical-sample-data/m-p/6133850#M1365837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T09:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_INCOMINGINVOICE_CREATE absolutely minimal data and typical sample data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-absolutely-minimal-data-and-typical-sample-data/m-p/6133851#M1365838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;closed in order to post a new question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Dec 2009 10:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-incominginvoice-create-absolutely-minimal-data-and-typical-sample-data/m-p/6133851#M1365838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-25T10:24:15Z</dc:date>
    </item>
  </channel>
</rss>

