SAP Knowledge Base Article - Public

3197075 - Validation error: Invalid for this criterion - Report date filter on German locale

Symptom

Error encountered when choosing date from date picker, specifically for the month of March in German locale:

Validierungsfehler

Bevor Sie fortfahren, müssen Sie die folgenden Fehler korrigieren:

  • Sie haben einen Wert (MRZ/01/2022) eingegeben, der für dieses Kriterium (Abschlussdatum von) ungültig ist.
  • Sie haben einen Wert (MRZ/16/2022) eingegeben, der für dieses Kriterium (Abschlussdatum bis) ungültig ist.

Environment

SAP SuccessFactors Learning

 

Reproducing the Issue

  1. Login as LMS Admin (Active Locale: German, )
  2. Change language preference of user to (if not set already)
  3. Reports (Berichte) - Select any report having date as filter criteria
  4. Run sample report (Learning History (CSV)
    • select any user ID
    • select March from the calendar date picker: (e.g. MRZ 01 2022, MRZ 16 2022)
  5. Click Schedule Job (Job planen) 
  6. Error encountered:
    • Validierungsfehler

      Bevor Sie fortfahren, müssen Sie die folgenden Fehler korrigieren:


      • Sie haben einen Wert (MRZ/01/2022) eingegeben, der für dieses Kriterium (Abschlussdatum von) ungültig ist.

      • Sie haben einen Wert (MRZ/16/2022) eingegeben, der für dieses Kriterium (Abschlussdatum bis) ungültig ist.

 

Cause

Coding issue

Resolution

  • There is an ongoing discussion to have a permanent code fix for to change Mrz to Mär in the system. This KBA will be updated once finalized.
  • Workaround provided:
    • Use a date pattern that uses a number instead of a word for a month, for the German locale.
      1. You can make the following change:
        1. Open Preferences(Präferenzen in German).
        2. For the option: Datumsformat-ID, select: M/d/yyyy
      2. If the option is not available, then try the following before trying the above steps:
        1. Open Locales(Sprachversionen), and search for German, and click the edit link.
        2. Under the tab, Datumsformate (Date Patterns), click on the link fügen Sie eine oder mehrere aus der Liste hinzu (add one or more from list), and add M/d/yyyy. Note that you write (M/d/yyyy for the text box Hinweis zum Datumsformat).
        3. Apply changes. 
    • To use any date format including the ones with 'MMM' on it.
      1. Update the label value via the learning admin app (References > Manage Labels > Locale Labels)
      2. Make sure the shipped value of [“Jan”, “Feb”, “Mrz”, “Apr”, “Mai”, “Jun”, “Jul”, “Aug”, “Sep”, “Okt”, “Nov”, “Dez”] is altered to include [“März”] for the month of March (label.CalendarSMonths) in German label value

        Keywords

        SF, Success Factors, LMS, learning, German locale, report, date picker, March, MRZ, März, label.CalendarSMonths , KBA , LOD-SF-LMS-REP , Reporting Data , LOD-SF-LMS-ADM , System Admin, Global Variables, References , Problem

        Product

        SAP SuccessFactors Learning all versions