Symptom
In the Fiori app "Manage Workforce", when trying to import an employee using the option "Import Worker and Work Agreement Data (Basic Import)", the following error is thrown in the application log of the import:
- Worker: * - PaymentMethod cannot be empty.
Environment
SAP S/4HANA Cloud Public Edition.
Reproducing the Issue
- Open the Fiori Launchpad.
- Select the app "Manage Workforce".
- Click on "Import".
- Choose the option "Worker and Work Agreement Data (Basic Import)".
- Download the template file, fill it and upload it.
- Click on "Show Application Log".
- Open the Log Details of the activity (by clicking on the ">" arrow at the extreme right of the line).
Cause
In the system, there's already an employee with the same WorkerID as one of the WorkerIDs filled in the template file uploaded.
Resolution
Make sure that all WorkerIDs in the template file don't match a WorkerID that already exists in the system. For instance, if the application log throws the following error:
- Worker: SAP - PaymentMethod cannot be empty.
It means that both an employee in the system and in the template file have the WorkerID "SAP".
See Also
Keywords
Manage, Workforce, error, Worker, PaymentMethod, Payment, Method, cannot, be, empty, basic, import, created, employee, template, file. , KBA , CA-WFD-INT , S/4HANA Cloud Workforce Domain Integration , Problem