<?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: User setting for date format and decimal format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900624#M1792483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table USR01 stores the date format and user format for user.&lt;/P&gt;&lt;P&gt;Pass the user name to the table USR01, and get the date and decimals format.&lt;/P&gt;&lt;P&gt;Based on the user fomate, change&amp;nbsp; the date and decimal formate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2013 13:26:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-12-04T13:26:17Z</dc:date>
    <item>
      <title>User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900617#M1792476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a report which output ALV grid as below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/335891" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But user want to change the display Date format (as YYYY/MM/DD) and display Decimal Format (as 1,234,567.89) as below From SU3 (Maintain User Profile) :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/335892" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am not sure how to set this in my program, can any experts give me direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 01:16:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900617#M1792476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T01:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900618#M1792477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please you refer to the following link,&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="1490502" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="How to display date field in ALV in format 'YYYY-MM-DD'?" href="https://community.sap.com/" modifiedtitle="true" title="How to display date field in ALV in format 'YYYY-MM-DD'?"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Maybe you need to change your fields' format&amp;nbsp; in your program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 01:44:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900618#M1792477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T01:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900619#M1792478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jack for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just wonderinga is it possible to do what user want, I meant user can change the ALV date display format according what they set in SU3?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 01:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900619#M1792478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T01:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900620#M1792479</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;Yes it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; you need to get the date format of the user as per the SU3 settings. For this you can use the below FM:&amp;nbsp; SUSR_USER_DEFAULT_DATE_FORMAT&amp;nbsp;&amp;nbsp; ( FM provide the user date format)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Pass the date format and date to this FM&amp;nbsp; /OSP/TRVL_DATE_IN_USER_FORMATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SUSR_USER_DEFAULT_DATE_FORMAT'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATFM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;l_dateformat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'/OSP/TRVL_DATE_IN_USER_FORMATE'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iv_date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;" which you want to display&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IV_DATE_FORMATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;=&amp;nbsp; &lt;/SPAN&gt;l_dateformat&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EV_DATE_TEXT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;alv_date&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 04:56:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900620#M1792479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T04:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900621#M1792480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Blue,&lt;/P&gt;&lt;P&gt;Its very simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the field catalog, just set the following attributes for the date field. The format as defined in logon master data of user would be used to display the date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-DATATYPE = 'DATS'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-INTTYPE = 'D'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-INTLEN = '000008'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-DD_OUTLEN = '000010'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or another option is, you could just move this to a date field in the internal table.&amp;nbsp; The date format in ALV would automatically be according to SU3 settings. &lt;/P&gt;&lt;P&gt;begin of it_data.&lt;/P&gt;&lt;P&gt; ...&lt;/P&gt;&lt;P&gt;date type datum "date type ekbe-budat. &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;end of it_data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 06:06:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900621#M1792480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T06:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900622#M1792481</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;SPAN style="text-decoration: underline;"&gt;For date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I suppose you got a list box. You can feel it&lt;SPAN style="font-size: 10pt;"&gt; with different formats of date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;To do so you can use the following link.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="http://wiki.scn.sap.com/wiki/display/Snippets/FUNCTION+MODULE+FOR+CONVERTING+DATE+INTO+THE+GIVEN+FORMAT" title="http://wiki.scn.sap.com/wiki/display/Snippets/FUNCTION+MODULE+FOR+CONVERTING+DATE+INTO+THE+GIVEN+FORMAT"&gt;FUNCTION MODULE FOR CONVERTING DATE INTO THE GIVEN FORMAT - Code Gallery - SCN Wiki&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the following FM to convert date into user selected format.&lt;/P&gt;&lt;P&gt;FORMAT_DATE_4_OUTPUT.&lt;/P&gt;&lt;P&gt;And pass that value to the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;For decimal notation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Create a list box with entries like in field DCPFM of USR01.&lt;/P&gt;&lt;P&gt;For logic please check the below link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://scn.sap.com/thread/1449990" style="font-size: 10pt;"&gt;https://scn.sap.com/thread/1449990&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 07:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900622#M1792481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T07:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900623#M1792482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Susmitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your reply. I used your way, it is simple and works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing is the DATA in the other columns seems all messed up, and also do you know how to do the same thing for Decimal format set in SU3? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 13:21:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900623#M1792482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T13:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900624#M1792483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table USR01 stores the date format and user format for user.&lt;/P&gt;&lt;P&gt;Pass the user name to the table USR01, and get the date and decimals format.&lt;/P&gt;&lt;P&gt;Based on the user fomate, change&amp;nbsp; the date and decimal formate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 13:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900624#M1792483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T13:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900625#M1792484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you abap udupi for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to set Decimal format using FieldCatalog like Susmitha suggested for Date format as below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-DATATYPE = 'DATS'.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-INTTYPE = 'D'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-INTLEN = '000008'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-DD_OUTLEN = '000010'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 13:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900625#M1792484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T13:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900626#M1792485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to use the date function module DATE EXTERNAL FORMAT and DATE INTERNAL FORMAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else u can concatenate depend on the formate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 14:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900626#M1792485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T14:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900627#M1792486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible you give a sample code on how to use DATE EXTERNAL FORMAT and DATE INTERNAL FORMAT?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 14:03:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900627#M1792486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T14:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900628#M1792487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your way, the syntax is correct, but it seems not outputing the Date format set in SU3. Not sure if I missed anything&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 14:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900628#M1792487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900629#M1792488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can use concatenate also.&lt;/P&gt;&lt;P&gt;for example if u get the '/' date format&lt;/P&gt;&lt;P&gt;concatenate DD '/' MM '/' YYYY into s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly if u get the '.' date format&lt;/P&gt;&lt;P&gt;concatenate DD '/' MM '.' YYYY into s_date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 14:15:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900629#M1792488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-04T14:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900630#M1792489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you cleared the field catalog work area before adding the attributes of other&amp;nbsp; columns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt; &lt;SPAN style="color: #333333; font-size: 12px;"&gt; LVC_S_FCAT&lt;/SPAN&gt;-DATATYPE = 'DATS'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;APPEND lvc_s_fcat TO lvc_t_fieldcat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;STRONG&gt;clear &lt;SPAN style="color: #333333; font-size: 12px;"&gt; LVC_S_FCAT&lt;/SPAN&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Probably the clear statement is missing after you set the attributes of the date column in field catalog. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;For decimal numbers, try this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; LVC_S_FCAT&lt;/SPAN&gt;-datatype = 'QUAN' .&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-inttype = 'P'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-intlen = 13 .&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp; LVC_S_FCAT-dd_outlen = 17 .&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp; ......&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;APPEND lvc_s_fcat TO lvc_t_fieldcat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;clear &lt;SPAN style="color: #333333; font-size: 12px;"&gt; LVC_S_FCAT&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 02:54:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900630#M1792489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-05T02:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900631#M1792490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be default behavior if variable is declared correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Ex:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;lv_date &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c &lt;/SPAN&gt;LENGTH &lt;SPAN class="L0S32"&gt;8&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. --&amp;gt; results date in YYYYMMDD format&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;lv_date1 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;D&lt;SPAN class="L0S55"&gt;. --&amp;gt; results date in YYYYMMDD format&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;lv_date2 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;DATS&lt;SPAN class="L0S55"&gt;. --&amp;gt; results date in User default format&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;lv_date3 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55"&gt;. --&amp;gt; results date in User default format&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;lv_date4 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;vbak&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;erdat&lt;SPAN class="L0S55"&gt;. --&amp;gt; results date in User default format&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, Date format can be modified by providing the 'Reference field' (REF_FIELD) and 'Reference table' (REF_TABLE) in field catalog(structure LVC_S_FCAT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same holds good for quantity field also. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Date format conversion, other alternative solution is to call function module 'SLS_MISC_CONVERT_TO_DATE' to convert date into user default format from system default format(YYYYMMDD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check and let us know the result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 06:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900631#M1792490</guid>
      <dc:creator>former_member215575</dc:creator>
      <dc:date>2013-12-05T06:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: User setting for date format and decimal format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900632#M1792491</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;Please refer following link,&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2024" data-containertype="14" data-objectid="1490502" data-objecttype="1" href="https://answers.sap.com/thread/1490502"&gt;How to display date field in ALV in format 'YYYY-MM-DD'?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 10:06:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-setting-for-date-format-and-decimal-format/m-p/9900632#M1792491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-05T10:06:48Z</dc:date>
    </item>
  </channel>
</rss>

