SAP Knowledge Base Article - Public

3633719 - Error - 'Company of employee doesn't match with company in allocation' occurs while posting the Expense report

Symptom

Unable to post the expense reports 'ABC' due to the error message.

Error: Company 'BBB' of employee 'XYZ' doesn't match with company 'AAA' in allocation.

'ABC' refers to the Expense reports ID.
'XYZ' refers to the Employee ID.
'AAA' refers to Company ID 1.
'BBB' refers to Company ID 2.

Environment

SAP Business ByDesign 

Reproducing the Issue

 

  1. Go to the General Ledger work center.
  2. Go to the expense reports sub view.
  3. Search for the Expense report 'ABC', below the error message will be visible.

Error: Company 'BBB' of employee 'XYZ' doesn't match with company 'AAA' in allocation.

 

Cause

  1. In the Expense report 'ABC' both the employee profile and the allocation carry the same company 'AAA'. 
  2. This can be checked in the JSON file of the Expense report 'ABC', the information of allocation and employee profile is sent in the fields "allocationCustom2Code" and "employeeOrgUnit2Code". 
  3. The employee 'XYZ' has the validity from 01.01.1950 to 03.03.2025 in company 'BBB'.
  4. Later employee been transferred to company 'AAA' from 04.03.2025 to Unlimited.
  5. The Expense report 'ABC' was posted on 21.02.2025 that time employee was in company 'BBB'.

This is the reason for the error message.

Note: Dates mentioned is for example reference purpose.

Resolution

  1. To correct this new expense report needs to be created after 04.03.2025 because employee 'XYZ' was in company 'BBB' after 04.03.2025 to unlimited. 
  2. And the existing expense report 'ABC' with the error message needs to be marked as Posting failed in the backend.

Note: For the backend status correction, a case needs to be created to SAP Technical Support.

See Also

Refer to KBA: https://i7p.wdf.sap.corp/sap/support/notes/2805775 

Keywords

Expense Report, Concur, Allocation, Company, Employee, Validity. , KBA , AP-FMD-EER , Business ByDesign: External Expense Report , Problem

Product

SAP Business ByDesign all versions