SAP Knowledge Base Article - Public

2760934 - Data Workbench Error: "Invalid Code; Maintain Correct Function Code"


You are trying to perform an import in data workbench but receive an error: "Invalid code; maintain correct function code".


SAP Cloud for Customer

SAP Business By Design

Reproducing the Issue

  1. Go to the Data Workbench work center.
  2. Select an import function (Insert/Upsert/Update).
  3. Select an object to import.
  4. Upload file.
  5. Execute import.

You receive error message: "Invalid Code; Maintain Correct Function Code".


Function Codes are not maintained correctly. Example, you have maintained code as “18”, code should be maintained as “0018”.


Correct function codes can be found in the code list file. The code list file can be retrieved by downloading the object template.


data workbench, error, invalid code, function code , KBA , LOD-CRM-INT-DWB , Data Workbench , Problem


SAP Business ByDesign 1811 ; SAP Business ByDesign 1902 ; SAP Cloud for Customer add-ins 1811 ; SAP Cloud for Customer add-ins 1902