<?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: Currency format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338056#M515001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There might be a Conversion exit to attached to the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check Data elements of the field and go to the domain attached to the data element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Domain, There's a filed called Conv. Exit, double clikc on the value for this field.&lt;/P&gt;&lt;P&gt;This will take you to 2 function modules.&lt;/P&gt;&lt;P&gt;Use these functions to convert the values in the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2007 05:01:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-14T05:01:23Z</dc:date>
    <item>
      <title>Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338052#M514997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In vbap table the Netpr and netwr are displayed as 124,800,000 (like this). (currency is JPY). ( all other currency format working correctly).&lt;/P&gt;&lt;P&gt;But while picking the value  to report it will display as 1,248,000.00. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the value as it is available in table. Pls tell me what wrong with my selection and solution to pick correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Murugan Arumugam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 04:53:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338052#M514997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T04:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338053#M514998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Check your user settings in the SU01 tcode (defaults for currency and date fields)&lt;/P&gt;&lt;P&gt;and correct them as you need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can use the command &lt;/P&gt;&lt;P&gt;SET COUNTRY 'IN' to print Indian currency settings or 'US' for US currency setting in the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 04:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338053#M514998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T04:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338054#M514999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u are using alv then u have to call &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fcat-No_zero = X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in its normal report &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : itab-netpr no decimals.&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;Peram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 04:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338054#M514999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T04:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338055#M515000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murugan , &lt;/P&gt;&lt;P&gt;  In the write statement you can use the addition CURRENCY w . and specify w as JPY.&lt;/P&gt;&lt;P&gt;This should solve you issue.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 04:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338055#M515000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T04:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338056#M515001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There might be a Conversion exit to attached to the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check Data elements of the field and go to the domain attached to the data element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Domain, There's a filed called Conv. Exit, double clikc on the value for this field.&lt;/P&gt;&lt;P&gt;This will take you to 2 function modules.&lt;/P&gt;&lt;P&gt;Use these functions to convert the values in the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 05:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338056#M515001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T05:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338057#M515002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;        Check your user settings in the SU01 tcode &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarsd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 05:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338057#M515002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T05:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338058#M515003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darshil Shah ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No Conv. Exit. for this domain ya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 05:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338058#M515003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T05:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338059#M515004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;just multiply it by 100 before displaying.&lt;/P&gt;&lt;P&gt;V_temp =  Netpr  * 100.&lt;/P&gt;&lt;P&gt;write:/ V_temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sooness&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 05:16:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338059#M515004</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2007-06-14T05:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338060#M515005</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;follow this logic...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WRITE:/  &amp;lt;variable&amp;gt; CURRENCY &amp;lt;c&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;in the above statement you specifies the cyrrency type as per your requirement.&lt;/P&gt;&lt;P&gt; Format according to currency &amp;lt;c&amp;gt; in table TCURX.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;or&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SET COUNTRY &amp;lt;key&amp;gt;.&amp;lt;/b&amp;gt;  &lt;/P&gt;&lt;P&gt;For &amp;lt;key&amp;gt;, set either a country key defined in table T005X or SPACE. &lt;/P&gt;&lt;P&gt;here specifies the country key before displaying the country specific data.&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;Ashokreddy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ashok Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 05:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338060#M515005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T05:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338061#M515006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the below logic  for currency  getting inyour format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;please  pass the values for this 3 parameter  like   first the  system  currencey  ...second   JPY anyway youwant it  .....thrid   Amount  ..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

gd_fcurr = 'EUR'.
gd_tcurr = 'JPY'.
gd_date  = sy-datum.
gd_value = 10.

DATA: gd_fcurr TYPE tcurr-fcurr,
      gd_tcurr TYPE tcurr-tcurr,
      gd_date  TYPE sy-datum,
      gd_value TYPE i.

gd_fcurr = 'EUR'.
gd_tcurr = 'JPY'.
gd_date  = sy-datum.
gd_value = 10.

PERFORM currency_conversion USING gd_fcurr
                                  gd_tcurr
                                  gd_date
                         CHANGING gd_value.



* Convert value to Currency value 
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  currency_conversion
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;P_GD_FCURR  text
*      --&amp;gt;P_GD_TCURR  text
*      --&amp;gt;P_GD_DATE   text
*      &amp;lt;--P_GD_VALUE  text
*----------------------------------------------------------------------*
FORM currency_conversion  USING    p_fcurr
                                   p_tcurr
                                   p_date
                          CHANGING p_value.

  DATA: t_er        TYPE tcurr-ukurs,
        t_ff        TYPE tcurr-ffact,
        t_lf        TYPE tcurr-tfact,
        t_vfd       TYPE datum,
        ld_erate(12)   TYPE c.

  CALL FUNCTION 'READ_EXCHANGE_RATE'
    EXPORTING
*       CLIENT                  = SY-MANDT
      date                    = p_date
      foreign_currency        = p_fcurr
      local_currency          = p_tcurr
      TYPE_OF_RATE            = 'M'
*       EXACT_DATE              = ' '
   IMPORTING
      exchange_rate           = t_er
      foreign_factor          = t_ff
      local_factor            = t_lf
      valid_from_date         = t_vfd
*       DERIVED_RATE_TYPE       =
*       FIXED_RATE              =
*       OLDEST_RATE_FROM        =
   EXCEPTIONS
     no_rate_found           = 1
     no_factors_found        = 2
     no_spread_found         = 3
     derived_2_times         = 4
     overflow                = 5
     zero_rate               = 6
     OTHERS                  = 7
            .
  IF sy-subrc EQ 0.
    ld_erate = t_er / ( t_ff / t_lf ).
    p_value = p_value * ld_erate.
  ENDIF.
ENDFORM.                    " currency_conversion&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points  if it is usefull ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 05:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338061#M515006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T05:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Currency format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338062#M515007</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 tried with all. But nothing change in report. It is displayed as wrongly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in nornaml report i tested with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write : t_vbap-netpr currency t_vbap-waerk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need the same output in alv also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help me to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2007 06:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-format/m-p/2338062#M515007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-14T06:22:05Z</dc:date>
    </item>
  </channel>
</rss>

