Symptom
- In the Keyword field, when using commas with no spaces, no records are returned.
- When using commas followed by a space, returns only the last user in the list.
- When using spaces only (no commas), all matching records are returned.
Environment
- SAP SuccessFactors Learning
Reproducing the Issue
- Sign in to SuccessFactors system.
- Access Learning administration -> Manage Learning -> Add Learning history for multiple courses -> Add courses.
- Select search for users.
- In the Keyword Search field, enter multiple user IDs as a comma-separated list (with or without spaces).
- Run the search and observe that only the last value returns a result, or no results are returned when commas are used without spaces.
Resolution
1. Using comma-separated values with no spaces (example: Value1,Value2,Value3) returns no results.
- Because there are no spaces, the entire string is treated as one keyword (Eg; "Value1,Value2,Value3"). If there is no exact match for that full string, no records are returned.
2. Using commas followed by a space (example: Value1, Value2, Value3) returns only the last user in the list.
- Because the keywords are split on spaces into: "Value1," "Value2," "Value3". The first two include a trailing comma, so they don’t match any user ID. Only the last keyword (without a comma) matches, so a single result is returned.
3. Using space-separated values and no commas (example: Value1 Value2 Value3) returns all matching users.
- Because each value is separated by a space and treated as an individual keyword (Eg; "Value1" "Value2" "Value3"), so all matching records are returned as expected.
Important: When using the keyword filter with multiple user IDs, separate the IDs with spaces only and avoid commas to return all matching records.
See Also
Keywords
keyword search, multiple users, last user returned, comma separated input, space separated input, user search, add courses users, learning administration, multiple ids, full text search, search behavior, keyword field, internal users, external users, results not returned, query string, search syntax, user search. , KBA , LOD-SF-LMS-USR , User Entity , LOD-SF-LMS-ADM , System Admin, Global Variables, References , How To
SAP Knowledge Base Article - Public