<?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 Issue while trying to post using BAPI_ACC_DOCUMENT_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-trying-to-post-using-bapi-acc-document-post/m-p/6829643#M1471304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a vendor credit memo using the BAPI BAPI_ACC_DOCUMENT_POST. Here in the header I am passing username,company code, doc date,posting date,doc type (as KG for credit memo) and reference document number.&lt;/P&gt;&lt;P&gt;In the account payable internal table I am passing itemacc as 1, vendor number,payment currency and payment amount.&lt;/P&gt;&lt;P&gt;In account GL internal table I am passing Item no (for 2 line items 2 and 3) the GL account &lt;/P&gt;&lt;P&gt;In Currency Amount internal table I have 3 entries 1 for the accounts payable and 2 for teh GL entered as above. The line items numbers are 1 (for accounts payable item) and 2,3 for the GL account items. &lt;/P&gt;&lt;P&gt;First amount value is 15680 and the other 2 in GL are   -14000 and -1680 (so the sum is matching with vendor amount). Upon execution I am receiving 2 errors in the return tables&lt;/P&gt;&lt;P&gt;as Error in document BKPFF and &lt;/P&gt;&lt;P&gt;     Enter a payment currency different to USD.&lt;/P&gt;&lt;P&gt;Could any one let me know what I am missing ? Why an error stating enter a payment currency different to USD ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for a response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 05:31:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-25T05:31:04Z</dc:date>
    <item>
      <title>Issue while trying to post using BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-trying-to-post-using-bapi-acc-document-post/m-p/6829643#M1471304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a vendor credit memo using the BAPI BAPI_ACC_DOCUMENT_POST. Here in the header I am passing username,company code, doc date,posting date,doc type (as KG for credit memo) and reference document number.&lt;/P&gt;&lt;P&gt;In the account payable internal table I am passing itemacc as 1, vendor number,payment currency and payment amount.&lt;/P&gt;&lt;P&gt;In account GL internal table I am passing Item no (for 2 line items 2 and 3) the GL account &lt;/P&gt;&lt;P&gt;In Currency Amount internal table I have 3 entries 1 for the accounts payable and 2 for teh GL entered as above. The line items numbers are 1 (for accounts payable item) and 2,3 for the GL account items. &lt;/P&gt;&lt;P&gt;First amount value is 15680 and the other 2 in GL are   -14000 and -1680 (so the sum is matching with vendor amount). Upon execution I am receiving 2 errors in the return tables&lt;/P&gt;&lt;P&gt;as Error in document BKPFF and &lt;/P&gt;&lt;P&gt;     Enter a payment currency different to USD.&lt;/P&gt;&lt;P&gt;Could any one let me know what I am missing ? Why an error stating enter a payment currency different to USD ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for a response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 05:31:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-trying-to-post-using-bapi-acc-document-post/m-p/6829643#M1471304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T05:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while trying to post using BAPI_ACC_DOCUMENT_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-trying-to-post-using-bapi-acc-document-post/m-p/6829644#M1471305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was able to solve this issue on my by using the same BAPI (BAPI_ACC_DOCUMENT_POST). Just needed to enter the vendor info in the accounts payable internal table and the GL info in the GL table with the amount in the currency amount table. Needed to reverse the sum in GL against the amount in accounts payable entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 07:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-while-trying-to-post-using-bapi-acc-document-post/m-p/6829644#M1471305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-29T07:52:57Z</dc:date>
    </item>
  </channel>
</rss>

