<?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: Document when posted shows amount zero in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-when-posted-shows-amount-zero/m-p/7976436#M1604265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens ,&lt;/P&gt;&lt;P&gt;thanks for you response....&lt;/P&gt;&lt;P&gt;the issue is resolved .&lt;/P&gt;&lt;P&gt;Actually the client has maintained different currency code for COnpany code and Country...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you worked on BAPIs like BAPI_ENTRYSHEET_CREATE ?&lt;/P&gt;&lt;P&gt;pl reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx and regards,&lt;/P&gt;&lt;P&gt;Renuka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2011 11:58:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-23T11:58:57Z</dc:date>
    <item>
      <title>Document when posted shows amount zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-when-posted-shows-amount-zero/m-p/7976434#M1604263</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;I am posting  a  FI inovice using bapi BAPI_ACC_DOCUMENT_POST.&lt;/P&gt;&lt;P&gt;The document is  getting posted successsfully and gets updated in the data base.&lt;/P&gt;&lt;P&gt;bu twhen I check the same document in fb03 or in fbl1n for the vendor the amount for the document is zero , and the amount in LC has the value that I have entered.&lt;/P&gt;&lt;P&gt;I tried creating a FI invoice manually using tcode fb60, when i chek this doc in fbl1n or fb03 the amount fields has some value and there is no amt in LC field .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do payment(tcode f-53) for the invocie i created using the bapi, but here i see the amount is zero again. &lt;/P&gt;&lt;P&gt;Plese let me kno whow should i post the document from bapi so that the amount field is not zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renuka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2011 12:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-when-posted-shows-amount-zero/m-p/7976434#M1604263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-12T12:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Document when posted shows amount zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-when-posted-shows-amount-zero/m-p/7976435#M1604264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Renuka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not easy to give a hint without seeing how you filled the BAPI parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We did like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ls_currencyamount-itemno_acc            = 1.
  ls_currencyamount-currency_iso          = lv_currency_iso.
  ls_currencyamount-amt_doccur            = ps_alv_display-dmbtr_post.
  APPEND ls_currencyamount TO lt_currencyamount.
  ls_currencyamount-itemno_acc            = 2.
  ls_currencyamount-currency_iso          = lv_currency_iso.
  ls_currencyamount-amt_doccur            = - ps_alv_display-dmbtr_post.
  APPEND ls_currencyamount TO lt_currencyamount.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and we took the currency_iso code from the company code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT isocd INTO p_isocd UP TO 1 ROWS
    FROM t001
    JOIN tcurc ON tcurc~waers             = t001~waers
    WHERE bukrs                           = p_bukrs.
  ENDSELECT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, code snippets are taken from &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I thinks that works similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2011 13:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-when-posted-shows-amount-zero/m-p/7976435#M1604264</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-06-12T13:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Document when posted shows amount zero</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-when-posted-shows-amount-zero/m-p/7976436#M1604265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens ,&lt;/P&gt;&lt;P&gt;thanks for you response....&lt;/P&gt;&lt;P&gt;the issue is resolved .&lt;/P&gt;&lt;P&gt;Actually the client has maintained different currency code for COnpany code and Country...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you worked on BAPIs like BAPI_ENTRYSHEET_CREATE ?&lt;/P&gt;&lt;P&gt;pl reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx and regards,&lt;/P&gt;&lt;P&gt;Renuka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 11:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-when-posted-shows-amount-zero/m-p/7976436#M1604265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-23T11:58:57Z</dc:date>
    </item>
  </channel>
</rss>

