<?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: Function Module to convert currency field. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-currency-field/m-p/3715126#M894332</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;First you can move the field to anoth character field of say length 16.then equate this char field to reguh-rwbtr.Then use translate using the string ' *'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Have a look at the following code. You may copy &amp;amp; see the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Tables reguh.
*
DATA: w_x(16),
     w_y(2) value ' *'.
*
Select Single * from reguh
where laufi = 'VIDH1'
and   laufd  = '20010718'.
*
w_x = reguh-rwbtr.
break-point.
Translate w_x using w_y.
break-point.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In select replace hardcoded values so that it will retrieve a record from reguh on your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Raju Chitale on May 7, 2008 11:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 09:54:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T09:54:29Z</dc:date>
    <item>
      <title>Function Module to convert currency field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-currency-field/m-p/3715125#M894331</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;I have a requirement where in the value of a field called 'rwbtr' in table 'reguh' is to be changed to ****123.4  from 123.4.&lt;/P&gt;&lt;P&gt;In other words, I want to have a function module if any, to convert the spaces of the field to *.I checked the conversion routine tab in the database table but there is no conversion routine associated with it.Please suggest to solve the problem.Its urgent!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 09:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-currency-field/m-p/3715125#M894331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T09:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to convert currency field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-currency-field/m-p/3715126#M894332</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;First you can move the field to anoth character field of say length 16.then equate this char field to reguh-rwbtr.Then use translate using the string ' *'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Have a look at the following code. You may copy &amp;amp; see the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Tables reguh.
*
DATA: w_x(16),
     w_y(2) value ' *'.
*
Select Single * from reguh
where laufi = 'VIDH1'
and   laufd  = '20010718'.
*
w_x = reguh-rwbtr.
break-point.
Translate w_x using w_y.
break-point.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In select replace hardcoded values so that it will retrieve a record from reguh on your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Raju Chitale on May 7, 2008 11:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 09:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-currency-field/m-p/3715126#M894332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T09:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to convert currency field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-currency-field/m-p/3715127#M894333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 10:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-convert-currency-field/m-p/3715127#M894333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T10:12:29Z</dc:date>
    </item>
  </channel>
</rss>

