<?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 SAP internal function 'CHECK_LOCALE' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-internal-function-check-locale/m-p/3631842#M874799</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've solved this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2008 10:33:55 GMT</pubDate>
    <dc:creator>com_2018</dc:creator>
    <dc:date>2008-04-24T10:33:55Z</dc:date>
    <item>
      <title>Regarding SAP internal function 'CHECK_LOCALE'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-internal-function-check-locale/m-p/3631839#M874796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run program 'RSCPINST' for activing a language. when I press the active button, the system give me error message 'Missing locales or unsupported combinations are found.'.&lt;/P&gt;&lt;P&gt;So I debug this program. I find the point of occuring error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call 'CHECK_LOCALE'
     id 'LOCALE'     field lloc_wa-locale
     id 'ERRMSG'     field lerrmsg
     id 'MODE'       field 'A'
     id 'CODEPAGE'   field lcp
     id 'ERRTAB'     field lerrtab.
 
   lloc_wa-status = sy-subrc.
   modify ploc_itab from lloc_wa.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because sy-subrc = 40, it means 'set locale failed'. So I can't active the language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to debug this function ''CHECK_LOCALE'' for finding the reason? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will reward points for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2008 00:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-internal-function-check-locale/m-p/3631839#M874796</guid>
      <dc:creator>com_2018</dc:creator>
      <dc:date>2008-04-19T00:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP internal function 'CHECK_LOCALE'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-internal-function-check-locale/m-p/3631840#M874797</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 this, the message &lt;STRONG&gt;set locale failed&lt;/STRONG&gt; is here and the status is set as &lt;STRONG&gt;40&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at ploc into ploc_wa where as = ml_wa-server.
      ltabix = sy-tabix.
      read table lloc_itab into lloc_wa
           with key
                locale   = ploc_wa-locale.
      ploc_wa-status = lloc_wa-status.
      modify ploc from ploc_wa index ltabix.
   if lloc_wa-status = 40.           " set locale failed.
        plocale_ok = 'N'.
      endif.
    endloop.
    commit work.                      " prevent time out.
  endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2008 03:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-internal-function-check-locale/m-p/3631840#M874797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-19T03:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP internal function 'CHECK_LOCALE'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-internal-function-check-locale/m-p/3631841#M874798</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, I've found these codes,too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, I want to know why sy-subrc = 40.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Colin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2008 03:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-internal-function-check-locale/m-p/3631841#M874798</guid>
      <dc:creator>com_2018</dc:creator>
      <dc:date>2008-04-19T03:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP internal function 'CHECK_LOCALE'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-internal-function-check-locale/m-p/3631842#M874799</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've solved this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 10:33:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-internal-function-check-locale/m-p/3631842#M874799</guid>
      <dc:creator>com_2018</dc:creator>
      <dc:date>2008-04-24T10:33:55Z</dc:date>
    </item>
  </channel>
</rss>

