<?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 simulating FB01 in test mode? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-simulating-fb01-in-test-mode/m-p/8031977#M1609908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a standard program which uses this BAPI in line 81 and post in line 117:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program: ACC_BAPI_TEST_DOCUMENT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I think it's a good example of its use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Glauco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jul 2011 15:49:36 GMT</pubDate>
    <dc:creator>glauco</dc:creator>
    <dc:date>2011-07-18T15:49:36Z</dc:date>
    <item>
      <title>BAPI simulating FB01 in test mode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-simulating-fb01-in-test-mode/m-p/8031976#M1609907</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;I am looking for a BAPI or function module which can be used in order to simulate transaction FB01 in test mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We receive Idoc in USD and we want to calculate amount local currency just before execution of Idoc. In fact in some case if we do not calculate the balance the FI can not be create because balance is not equal to 0. Do you know a function module or BAPI which calculate amount from currency to local currency like FB01. We have exchange rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explanation of test found using FB01:&lt;/P&gt;&lt;P&gt;01 H 100 USD -&amp;gt; 89,96 GBP&lt;/P&gt;&lt;P&gt;02 H 100 USD -&amp;gt; 89,96 GBP&lt;/P&gt;&lt;P&gt;03 S 200 USD -&amp;gt; 179,93 GBP (instead of 179,92)&lt;/P&gt;&lt;P&gt;When you simulate the document using transaction FB01 the item 01 becomes 89,97 GBP in order to have a balance equal to 0.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to have the same result using a function module that is to say.&lt;/P&gt;&lt;P&gt;01 H 100 USD -&amp;gt; 89,97 GBP&lt;/P&gt;&lt;P&gt;02 H 100 USD -&amp;gt; 89,96 GBP&lt;/P&gt;&lt;P&gt;03 S 200 USD -&amp;gt; 179,93 GBP (instead of 179,92)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with BAPI_ACC_DOCUMENT_CHECK but I am unable have the local currency amount if I use exchange rate.&lt;/P&gt;&lt;P&gt;I need your help in order to find this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 15:29:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-simulating-fb01-in-test-mode/m-p/8031976#M1609907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-18T15:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI simulating FB01 in test mode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-simulating-fb01-in-test-mode/m-p/8031977#M1609908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a standard program which uses this BAPI in line 81 and post in line 117:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program: ACC_BAPI_TEST_DOCUMENT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I think it's a good example of its use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Glauco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 15:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-simulating-fb01-in-test-mode/m-p/8031977#M1609908</guid>
      <dc:creator>glauco</dc:creator>
      <dc:date>2011-07-18T15:49:36Z</dc:date>
    </item>
  </channel>
</rss>

