<?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: Regarding Output Currency Fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952079#M1154643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error is generally given when you use WRITE with an amount field.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; WRITE v_amount. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can correct this error by using the CURRENCY addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you have the currency field with you, else just declare a variable v_curr &amp;amp; use as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
DATA: v_curr TYPE waers.

WRITE v_amount CURRENCY v_curr. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is reqd for internal formatting of amounts (e.g., depending on the currency it displays the decimals) hence CURRENCY addition is necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i am clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2008 11:43:56 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2008-12-22T11:43:56Z</dc:date>
    <item>
      <title>Regarding Output Currency Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952077#M1154641</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;I have a doubt regarding Currency fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In output work area, i have a currency fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In EC Check, it shows an error like, &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Use Addition currency when outputting wa_p0221_suc-bet01.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please anybody give me any suggessions, how to remove this EC check Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank in advance&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952077#M1154641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Output Currency Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952078#M1154642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To remove this SLIN error you need to use the below addition with write statement, i.e. you need to specify explicitly that the field is currency field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &amp;lt;field&amp;gt; currency &amp;lt;Correct format for currency&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:42:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952078#M1154642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Output Currency Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952079#M1154643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error is generally given when you use WRITE with an amount field.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; WRITE v_amount. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can correct this error by using the CURRENCY addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you have the currency field with you, else just declare a variable v_curr &amp;amp; use as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
DATA: v_curr TYPE waers.

WRITE v_amount CURRENCY v_curr. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is reqd for internal formatting of amounts (e.g., depending on the currency it displays the decimals) hence CURRENCY addition is necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i am clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952079#M1154643</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2008-12-22T11:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Output Currency Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952080#M1154644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jayant,&lt;/P&gt;&lt;P&gt;please explain some more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WRITE:/2 wa_p0221_suc-pernr,
           11 wa_p0221_suc-perid ,
           21 wa_p0221_suc-ename,
           48 wa_p0221_suc-status,
           50 wa_p0221_suc-bet01 ,
           63 wa_p0221_suc-bet08 ,
           75 wa_p0221_suc-bet02 ,
           87 wa_p0221_suc-bet03 ,
           99 wa_p0221_suc-bet04 ,
           111 wa_p0221_suc-bet05 ,
           123 wa_p0221_suc-bet06 ,
           135 wa_p0221_suc-bet07 ,
           152 space.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give me some more inputs...&lt;/P&gt;&lt;P&gt;please............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:45:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952080#M1154644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Output Currency Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952081#M1154645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:50:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952081#M1154645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Output Currency Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952082#M1154646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While getting the wage type amounts (BET01, BET01... ) also get the field WAERS (Currency) from IT0221.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/2 wa_p0221_suc-pernr,&lt;/P&gt;&lt;P&gt;           11 wa_p0221_suc-perid ,&lt;/P&gt;&lt;P&gt;           21 wa_p0221_suc-ename,&lt;/P&gt;&lt;P&gt;           48 wa_p0221_suc-status,&lt;/P&gt;&lt;P&gt;           50 wa_p0221_suc-bet01 currency w_waers,&lt;/P&gt;&lt;P&gt;           63 wa_p0221_suc-bet08 currency w_waers,&lt;/P&gt;&lt;P&gt;           75 wa_p0221_suc-bet02 currency w_waers,&lt;/P&gt;&lt;P&gt;           87 wa_p0221_suc-bet03 currency w_waers,&lt;/P&gt;&lt;P&gt;           99 wa_p0221_suc-bet04 currency w_waers,&lt;/P&gt;&lt;P&gt;           111 wa_p0221_suc-bet05 currency w_waers,&lt;/P&gt;&lt;P&gt;           123 wa_p0221_suc-bet06 currency w_waers,&lt;/P&gt;&lt;P&gt;           135 wa_p0221_suc-bet07 currency w_waers,&lt;/P&gt;&lt;P&gt;           152 space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-output-currency-fields/m-p/4952082#M1154646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:52:15Z</dc:date>
    </item>
  </channel>
</rss>

