SAP Knowledge Base Article - Public

2607743 - 'Replication Failed for Remote Employee From System'; 'Custom Code Missing'

Symptom

While performing an Employee master data replication from a legacy system you get the following error messages:

'Replication failed for remote employee ABC from system DEF.' (ABC represents the employee ID) (DEF represents the system code).

'Save failed.'

'Custom code XYZ missing.' (XYZ represents the custom code ID)

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to the Master Data Replication work center.
  2. Go to the Employees subview in the Import view.
  3. Search and select Remote Employee ID ABC and click Edit.
  4. In the Employee in Replication Request PQR (PQR represents the Replication request ID), click the Replicate button.

The error messages are:

'Replication failed for remote employee ABC from system DEF.'

'Save failed.'

'Custom code XYZ missing.'

You have maintained this Custom Code XYZ in the Account Assignment Types in Business Configuration work center.

You can check this as follows:

  1. Go to the Business Configuration work center.
  2. Go the Implementation Projects view.
  3. Select the Project and click the Open Activity List button.
  4. Navigate to the Fine-Tune tab, search for and open Activity Account Assignment Types.
  5. Open Maintain Account Assignment Types.

For Account Assignment Type ACC- General Ledger Account Only, Cost Center and Profit Center you have maintained CUSTOM_CODENNN - Custom Code NNN as 1 - Mandatory for Data Input Control.

With Assignment to Business Transactions like 001 - Purchase Order, 127 - Supplier Invoice, 128 - Supplier Invoice Request, 28 - Customer Invoice, 29 - Invoice Request, 557 - Project Invoice Request, 794 - Cash Flow Expense and Receipt Explanation and 903 - Point-of-Sale Transaction and for Profit center for 794 - Cash Flow Expense and Receipt Explanation.

According to you, this assignment should not cause any error message in the Employee Master Data Replication.

Cause

The replication of employee master data also affects the expense arrangement of an employee.

The cause for the issue is the assignment of the custom code as mandatory for cost centers. This has an indirect effect on the expense arrangement of an employee.

Expense arrangement is one of the business transaction documents that is assigned to this mandatory account assignment due to Cost Center assignment for expense arrangements.

Resolution

Using custom codes as mandatory fields together with SAP Business ByDesign Expense & Reimbursement Management is not supported.

As a workaround, you can set the custom code as Optional in the Data Input Field for Account Assignment Type in Business Configuration to allow replication of the employee master data.

Keywords

Employee master data replication; custom code; benutzerspezifisches Code; Spesen; Expense; Account Assignment Types, Expense arrangement , KBA , SRD-FIN-ERM , Travel and Expense Management , Problem

Product

SAP Business ByDesign all versions