<?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 date validation with user settings in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-validation-with-user-settings/m-p/6596177#M1436643</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;Im uploading data from the excel file to internal table . Im facing the below mentioned problem in validation checking -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I need to check date provided in the excel sheet is aligned with user format or not. If not stop processing.&lt;/P&gt;&lt;P&gt;   i.e If the user has dd/mm/yyyy as his setting then he will upload the file using this setting. If the setting in the file is set to say    mm/dd/yyyy, then it will fail if the user setting is dd/mm/yyyy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same way I need to validate the amount field. As pert th user setting I need to check ',' or '.' for thousand separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLease help me out ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2010 06:34:45 GMT</pubDate>
    <dc:creator>sudipDas</dc:creator>
    <dc:date>2010-02-03T06:34:45Z</dc:date>
    <item>
      <title>date validation with user settings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-validation-with-user-settings/m-p/6596177#M1436643</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;Im uploading data from the excel file to internal table . Im facing the below mentioned problem in validation checking -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I need to check date provided in the excel sheet is aligned with user format or not. If not stop processing.&lt;/P&gt;&lt;P&gt;   i.e If the user has dd/mm/yyyy as his setting then he will upload the file using this setting. If the setting in the file is set to say    mm/dd/yyyy, then it will fail if the user setting is dd/mm/yyyy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same way I need to validate the amount field. As pert th user setting I need to check ',' or '.' for thousand separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLease help me out ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 06:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-validation-with-user-settings/m-p/6596177#M1436643</guid>
      <dc:creator>sudipDas</dc:creator>
      <dc:date>2010-02-03T06:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: date validation with user settings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-validation-with-user-settings/m-p/6596178#M1436644</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;Date format in user setting can get using function module SLS_MISC_GET_USER_DATE_FORMAT. Check whether the date input is in this format using String pattern Match eg CS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 06:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-validation-with-user-settings/m-p/6596178#M1436644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T06:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: date validation with user settings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-validation-with-user-settings/m-p/6596179#M1436645</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 using these function modules:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_CONVERT_TO_FACTORYDATE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT_DATE_TO_EXTERNAL -To Convert date from SAP format to User-specified format&lt;/P&gt;&lt;P&gt;CURRENCY_AMOUNT_SAP_TO_DISPLAY - To Convert currency from SAP format to User-specified format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2010 06:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-validation-with-user-settings/m-p/6596179#M1436645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-03T06:53:40Z</dc:date>
    </item>
  </channel>
</rss>

