SAP Knowledge Base Article - Public

2928356 - Parameter "employment_information_country" is not filtering "job_information" records

Symptom

You used the "employment_information_country" filter in your query, but the "job_information" records in the results weren't filtered out by the parameter.

Environment

  • SAP SuccessFactors HXM Suite
    • Compound Employee API

Reproducing the Issue

Execute a Compound Employee query using the filter below:

employment_information_company IN ('AAA')

However, the results show job_information records with the field "company_territory_code = BBB", so it looks like the filter got ignored.

Resolution

This is the expected behavior, according to the Compound Employee API guide.

The parameters "employment_information_country" and "employment_information_company" are used together with the parameter "suppressUnwantedGlobalInfo".

The parameters use the job_information segment to select the employee records in the following logic:

  1. An employee has two job_information records:
    • One has company_territory_code = USA
    • The other has company_territory_code = BRA
  2. You used the parameter "employment_information_country IN ('USA')"
  3. Result: all job_information records are returned from that employee because the parameter selects employees that have job_information records according to the value provided (USA), but doesn't remove the other job_information records from other countries in the response

This occurs because, according to this page of the guide, the parameter will only filter out data in the following segments:

  • personal_information
  • dependent_information(dependent_personal_information)
  • national_id_card

So "job_information" segment is not under the filter scope of the parameter.

See Also

Compound Employee API guide

Keywords

compound employee, ce, compoundemployee, success factors, successfactors, sf, api, parameter, select, filter, segment, value, not apply, not applied, not valid, ignored, incorrect, unwanted, employment_information_company, employment_information_country, suppressUnwantedGlobalInfo, company_territory_code, country , KBA , LOD-SF-INT-CE , Compound Employee API , Problem

Product

SAP SuccessFactors HCM Suite all versions