<?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: table maintain with amount in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintain-with-amount/m-p/2725798#M632595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tks for reply soon,I try to use this way but not ok --&lt;/P&gt;&lt;P&gt;1. create table(ZTAB) with no local currency field&lt;/P&gt;&lt;P&gt;2. table maintenance generate&lt;/P&gt;&lt;P&gt;3. add event(01,05,08,18) and add subroutine for amt convert to internal format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i convert the amt by local currency which get from company code,table maintain by SM30 also see the internal format,this will make confusing...&lt;/P&gt;&lt;P&gt;ex.  company code A000(ZTAB-BUKRS) --&amp;gt; local currency is JPY(decimal place is 0),enter amt 100,through &amp;lt;b&amp;gt;convert subroutine&amp;lt;/b&amp;gt; change amt to 1.00(ZTAB-AMT)...is there other way to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;convert subroutine&amp;lt;/b&amp;gt; code as follow:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM CONVERT_AMT.
SELECT SINGLE WAERS INTO T001-WAERS FROM T001 WHERE BUKRS = ZTAB-BUKRS.
CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP'
   IMPORTING
       CURRENCY = T001-WAERS
       IDOC_AMOUNT = ZTAB-AMT
   EXPORTING
       SAP_AMOUNT = ZTAB-AMT.

ENDFORM
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2007 01:33:12 GMT</pubDate>
    <dc:creator>rt50896</dc:creator>
    <dc:date>2007-09-13T01:33:12Z</dc:date>
    <item>
      <title>table maintain with amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintain-with-amount/m-p/2725796#M632593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;   when table maintain with amount,i have a situation that amt may need to convert by currency which decimal place is 0. ex. JPY 100 --&amp;gt; 1.00 save into table.&lt;/P&gt;&lt;P&gt;but i don't want to add field &amp;lt;b&amp;gt;local currency&amp;lt;/b&amp;gt; in table maintain because this field may be input wrong with company code define. How can i create a table maintain that no local currency field and amt also convert for internal format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks!&lt;/P&gt;&lt;P&gt;Regina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 09:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintain-with-amount/m-p/2725796#M632593</guid>
      <dc:creator>rt50896</dc:creator>
      <dc:date>2007-09-12T09:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: table maintain with amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintain-with-amount/m-p/2725797#M632594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you need to write the code in the Table maintanence Generator Events, in the evetns you can write the code, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the link&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-8765287250fc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 12:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintain-with-amount/m-p/2725797#M632594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T12:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: table maintain with amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintain-with-amount/m-p/2725798#M632595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tks for reply soon,I try to use this way but not ok --&lt;/P&gt;&lt;P&gt;1. create table(ZTAB) with no local currency field&lt;/P&gt;&lt;P&gt;2. table maintenance generate&lt;/P&gt;&lt;P&gt;3. add event(01,05,08,18) and add subroutine for amt convert to internal format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i convert the amt by local currency which get from company code,table maintain by SM30 also see the internal format,this will make confusing...&lt;/P&gt;&lt;P&gt;ex.  company code A000(ZTAB-BUKRS) --&amp;gt; local currency is JPY(decimal place is 0),enter amt 100,through &amp;lt;b&amp;gt;convert subroutine&amp;lt;/b&amp;gt; change amt to 1.00(ZTAB-AMT)...is there other way to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;convert subroutine&amp;lt;/b&amp;gt; code as follow:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM CONVERT_AMT.
SELECT SINGLE WAERS INTO T001-WAERS FROM T001 WHERE BUKRS = ZTAB-BUKRS.
CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP'
   IMPORTING
       CURRENCY = T001-WAERS
       IDOC_AMOUNT = ZTAB-AMT
   EXPORTING
       SAP_AMOUNT = ZTAB-AMT.

ENDFORM
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 01:33:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintain-with-amount/m-p/2725798#M632595</guid>
      <dc:creator>rt50896</dc:creator>
      <dc:date>2007-09-13T01:33:12Z</dc:date>
    </item>
  </channel>
</rss>

