<?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 ALV and numeric fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795831#M341946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm working with ALV tables. &lt;/P&gt;&lt;P&gt;In my code i have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_clientes.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE * FROM knkk WHERE kunnr = t_clientes-kunnr&lt;/P&gt;&lt;P&gt;                        and kkber = t_clientes-bukrs.&lt;/P&gt;&lt;P&gt;    i_alv_credito-limite = knkk-klimk.  &lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;	append i_alv_credito.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_alv_credito-limite have the Type knkk-klimk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP table i have knkk-klimk = '12.000.000,00' but when i saw that value in my ALV table i have '12000000,00'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I want to have the same format than in Knkk-klimk. &lt;/P&gt;&lt;P&gt;How i can do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2006 16:00:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-13T16:00:54Z</dc:date>
    <item>
      <title>ALV and numeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795831#M341946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm working with ALV tables. &lt;/P&gt;&lt;P&gt;In my code i have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_clientes.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE * FROM knkk WHERE kunnr = t_clientes-kunnr&lt;/P&gt;&lt;P&gt;                        and kkber = t_clientes-bukrs.&lt;/P&gt;&lt;P&gt;    i_alv_credito-limite = knkk-klimk.  &lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;	append i_alv_credito.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_alv_credito-limite have the Type knkk-klimk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP table i have knkk-klimk = '12.000.000,00' but when i saw that value in my ALV table i have '12000000,00'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I want to have the same format than in Knkk-klimk. &lt;/P&gt;&lt;P&gt;How i can do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 16:00:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795831#M341946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T16:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV and numeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795832#M341947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  First Check your User Own data Settings. &lt;/P&gt;&lt;P&gt;In any SAP Screen click SYSTEM -&amp;gt; USER PROFILE -&amp;gt; USER OWN DATA&lt;/P&gt;&lt;P&gt;or open transactoin SU3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on tab DEFAULTS.&lt;/P&gt;&lt;P&gt;on the left side there will be provision to choose the Decimal Notation, choose 1,234,567.89. Save the settings and run your ALV again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second option.&lt;/P&gt;&lt;P&gt;Along with the value specify the Corresponding Unit in ALV Fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 16:06:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795832#M341947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T16:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: ALV and numeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795833#M341948</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;Didn't work.. In User Profile i already have the decimal notation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ALV Fieldcatalog i specify the value type currency, but it always appears '12000000,00' and not '12.000.000,00' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 08:58:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795833#M341948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T08:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV and numeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795834#M341949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_data(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_clientes.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM knkk WHERE kunnr = t_clientes-kunnr&lt;/P&gt;&lt;P&gt;and kkber = t_clientes-bukrs.&lt;/P&gt;&lt;P&gt;v_data = knkk-klimk&lt;/P&gt;&lt;P&gt;i_alv_credito-limite = v_data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;append i_alv_credito.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your internal table declare the field as charecter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it may work&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 09:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795834#M341949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T09:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV and numeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795835#M341950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also mentioned &lt;/P&gt;&lt;P&gt;in the field catalog parameters &lt;/P&gt;&lt;P&gt;reference tsble name  &amp;amp; reference field name.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( -just try it - iam not sure )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 09:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795835#M341950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T09:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: ALV and numeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795836#M341951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yukimai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you have specified REF_FIELDNAME and REF_TABNAME in the fieldcatalog with the following values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REF_FIELDNAME = 'KLIMK'&lt;/P&gt;&lt;P&gt;REF_TABNAME   = 'KNKK'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 10:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795836#M341951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T10:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: ALV and numeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795837#M341952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in your output table add one more field for decimalplaces for ex say DECP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and populate this field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in your fieldcat for the field klimk decimalsfieldname = DECP&lt;/P&gt;&lt;P&gt;and decmal placestabname = your internal table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will work.&lt;/P&gt;&lt;P&gt;assign points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SAI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 11:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795837#M341952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T11:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV and numeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795838#M341953</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;         You can try creating a conversion routine in the below allowd namespace&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_&amp;lt;i&amp;gt;XXXXX&amp;lt;/i&amp;gt;_INPUT  and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_&amp;lt;i&amp;gt;XXXXX&amp;lt;/i&amp;gt;_OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the second one just write the code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE input TO output CURRENCY .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And specify this conv, routine in ur ALV table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 11:05:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-and-numeric-fields/m-p/1795838#M341953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T11:05:55Z</dc:date>
    </item>
  </channel>
</rss>

