<?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: Using HRCM_STRING_TO_AMOUNT_CONVERT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hrcm-string-to-amount-convert/m-p/6421387#M1409448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="1832051"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Nov 2009 07:43:00 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-11-21T07:43:00Z</dc:date>
    <item>
      <title>Using HRCM_STRING_TO_AMOUNT_CONVERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hrcm-string-to-amount-convert/m-p/6421384#M1409445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I want to assign char field value to currency field. I am doing like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: W_AMT TYPE string,&lt;/P&gt;&lt;P&gt;      AMT LIKE TRLS_FLOW_ALV-POSITION_AMT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HRCM_STRING_TO_AMOUNT_CONVERT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;string = W_AMT&lt;/P&gt;&lt;P&gt;DECIMAL_SEPARATOR = '.'&lt;/P&gt;&lt;P&gt;THOUSANDS_SEPARATOR = ','&lt;/P&gt;&lt;P&gt;WAERS = 'HUF'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;BETRG = AMT . "converting into currency field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; And then assigining AMT to ITAM-Currency field. It's giving dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me this I need to send to Internal table which  is passed to ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 20:42:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hrcm-string-to-amount-convert/m-p/6421384#M1409445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-20T20:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using HRCM_STRING_TO_AMOUNT_CONVERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hrcm-string-to-amount-convert/m-p/6421385#M1409446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Use WRITE .. TO... instead of MOVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasenjit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 21:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hrcm-string-to-amount-convert/m-p/6421385#M1409446</guid>
      <dc:creator>prasenjit_sharma</dc:creator>
      <dc:date>2009-11-20T21:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using HRCM_STRING_TO_AMOUNT_CONVERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hrcm-string-to-amount-convert/m-p/6421386#M1409447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following code works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter str1(21).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:str type string, betrg type maxbt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;str = str1.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HRCM_STRING_TO_AMOUNT_CONVERT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    string                    = str&lt;/P&gt;&lt;P&gt;   DECIMAL_SEPARATOR         = '.'&lt;/P&gt;&lt;P&gt;   THOUSANDS_SEPARATOR       = ','&lt;/P&gt;&lt;P&gt;   WAERS                     = 'INR'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   BETRG                     = betrg&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   CONVERT_ERROR             = 1&lt;/P&gt;&lt;P&gt;   OTHERS                    = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Nov 2009 04:14:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hrcm-string-to-amount-convert/m-p/6421386#M1409447</guid>
      <dc:creator>former_member225631</dc:creator>
      <dc:date>2009-11-21T04:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using HRCM_STRING_TO_AMOUNT_CONVERT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hrcm-string-to-amount-convert/m-p/6421387#M1409448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="1832051"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Nov 2009 07:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hrcm-string-to-amount-convert/m-p/6421387#M1409448</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-21T07:43:00Z</dc:date>
    </item>
  </channel>
</rss>

