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).
'Custom code XYZ missing.' (XYZ represents the custom code ID)
SAP Business ByDesign
Reproducing the Issue
- Go to the Master Data Replication work center.
- Go to the Employees subview in the Import view.
- Search and select Remote Employee ID ABC and click Edit.
- 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.'
'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:
Go to the Business Configuration work center.
Go the Implementation Projects view.
Select the Project and click the Open Activity List button.
Navigate to the Fine-Tune tab, search for and open Activity Account Assignment Types.
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.
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.
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.
Employee master data replication; custom code; benutzerspezifisches Code; Spesen; Expense; Account Assignment Types, Expense arrangement , KBA , SRD-FIN-ERM , Travel and Expense Management , Problem