<?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_ACC_DOCUMENT_POST Vendor Invoice with Asset Posting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477731#M1931038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, I did not mean item, I meant document. 2 accounting documents are created. One for Vendor invoice and the other one is related to the Asset Transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not get any error in the return parameters. Infact, I get a success message with the document number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked SM13 and found my update request in error, and the error says the newly created document number already exists in the company code &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/74/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the document does not exist when I look for it in any of the tables. I will continue looking for the reason the update has failed. Any more suggestions/ help is more welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Elan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2016 00:44:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-01-07T00:44:00Z</dc:date>
    <item>
      <title>BAPI_ACC_DOCUMENT_POST Vendor Invoice with Asset Posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477729#M1931036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I create a vendor invoice with an asset posting using transaction FB60, 2 documents gets created which are linked to each other, one for Vendor invoice and an other related to Asset posting. ( Posting key 31 - Vendor and posting key 70 - Asset)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now how can I achieve this with the BAPI BAPI_ACC_DOCUMENT_POST?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I pass ACCOUNTGL with the asset details&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and ACCOUNTPAYABLE with the vendor details&lt;/P&gt;&lt;P&gt;and ACCOUNTTAX and CURRENCYAMOUNT with the respective values I get a successful return message with a document number, but when I look for the document I can find it anywhere. I am calling BAPI_TRANSACTION_COMMIT after my BAPI call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other values that I need to pass to the BAPI? will this BAPI create both the documents? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Elan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 05:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477729#M1931036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T05:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Vendor Invoice with Asset Posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477730#M1931037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you elaborate on&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;When I create a vendor invoice with an asset posting using transaction FB60, &lt;EM style="text-decoration: underline;"&gt;2 documents&lt;/EM&gt; gets created which are linked to each other, one for Vendor invoice and an other related to Asset posting. ( Posting key 31 - Vendor and posting key 70 - Asset)&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Do you mean "item" when you wrote "document" &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/74/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You got no error message in RETURN parameter,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Was some error raised during commit/update (SM13)&lt;/LI&gt;&lt;LI&gt;Which values did you pass to the BAPI (OBJ_TYPE = BKPFF and BUS_ACT = RFBU?)&lt;/LI&gt;&lt;LI&gt;Did you use WAIT option in COMMIT, or did you select the document from database just after the commit without waiting for database update? &lt;/LI&gt;&lt;/UL&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>Wed, 06 Jan 2016 07:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477730#M1931037</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-01-06T07:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Vendor Invoice with Asset Posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477731#M1931038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, I did not mean item, I meant document. 2 accounting documents are created. One for Vendor invoice and the other one is related to the Asset Transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not get any error in the return parameters. Infact, I get a success message with the document number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked SM13 and found my update request in error, and the error says the newly created document number already exists in the company code &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/74/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the document does not exist when I look for it in any of the tables. I will continue looking for the reason the update has failed. Any more suggestions/ help is more welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Elan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 00:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477731#M1931038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-07T00:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Vendor Invoice with Asset Posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477732#M1931039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the exact error message, if related to actual document number you could look for customization/number ranges, else for duplicate invoice checks or existing parked document?&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, 07 Jan 2016 07:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477732#M1931039</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-01-07T07:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_ACC_DOCUMENT_POST Vendor Invoice with Asset Posting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477733#M1931040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;Hi Raymond,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;Note&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;2128832 solved my problem. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;Elan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 00:17:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-acc-document-post-vendor-invoice-with-asset-posting/m-p/11477733#M1931040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T00:17:47Z</dc:date>
    </item>
  </channel>
</rss>

