<?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 Vendor invoice creation using BAPI BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-invoice-creation-using-bapi-bapi-acc-document-post/m-p/6966265#M1490524</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;I am trying to create vendor invoice(FB60) using BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;&lt;P&gt;Could anyone please let me know what all mandatory fields we have to pass in vendor item and header to create this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anubhuti Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jun 2010 08:42:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-01T08:42:56Z</dc:date>
    <item>
      <title>Vendor invoice creation using BAPI BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-invoice-creation-using-bapi-bapi-acc-document-post/m-p/6966265#M1490524</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;I am trying to create vendor invoice(FB60) using BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;&lt;P&gt;Could anyone please let me know what all mandatory fields we have to pass in vendor item and header to create this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anubhuti Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 08:42:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-invoice-creation-using-bapi-bapi-acc-document-post/m-p/6966265#M1490524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T08:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Vendor invoice creation using BAPI BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-invoice-creation-using-bapi-bapi-acc-document-post/m-p/6966266#M1490525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please call the FM BAPI_ACC_DOCUMENT_POST and try with the following parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Function module to post the accounting document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'            &lt;/P&gt;&lt;P&gt;"      EXPORTING&lt;/P&gt;&lt;P&gt;          documentheader    = w_documentheader                                           &lt;/P&gt;&lt;P&gt;"      TABLES&lt;/P&gt;&lt;P&gt;          accountgl               = i_accountgl&lt;/P&gt;&lt;P&gt;          accountreceivable = i_accountreceivable&lt;/P&gt;&lt;P&gt;          accountpayable     = i_accountpayable&lt;/P&gt;&lt;P&gt;          currencyamount    = i_currencyamount&lt;/P&gt;&lt;P&gt;          return                     = i_return&lt;/P&gt;&lt;P&gt;          contractitem           = i_contractitem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The required fields in the header document:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    w_documentheader-bus_act     &lt;/P&gt;&lt;P&gt;    w_documentheader-username    = sy-uname.                                             "Username &lt;/P&gt;&lt;P&gt;    w_documentheader-header_txt  &lt;/P&gt;&lt;P&gt;    w_documentheader-comp_code  &lt;/P&gt;&lt;P&gt;    w_documentheader-doc_date   &lt;/P&gt;&lt;P&gt;    w_documentheader-pstng_date  = sy-datum.  &lt;/P&gt;&lt;P&gt;    w_documentheader-trans_date                                 " Transaction date value as per document date&lt;/P&gt;&lt;P&gt;    w_documentheader-fisc_year   = sy-datum(4).       &lt;/P&gt;&lt;P&gt;    w_documentheader-doc_type       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the necessary information in the account GL and accounts payable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you in some way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 10:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-invoice-creation-using-bapi-bapi-acc-document-post/m-p/6966266#M1490525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T10:01:51Z</dc:date>
    </item>
  </channel>
</rss>

