Professional Documents
Culture Documents
Upgrade Fails When User-Defined Field Is Defined On Table
Upgrade Fails When User-Defined Field Is Defined On Table
Symptom
When you try to upgrade to SAP Business One version 9.2 or 9.3, the upgrade wizard fails without any
warning with the error message: "Failed, error code: -2004"
Prerequisites:
You have a user-defined field (UDF) which is defined on a table missing in metadata.
Scenario:
Perform the upgrade to SAP Business One version 9.2 or 9.3, or SAP Business One, version for SAP HANA
9.2 or 9.3.
Expected behavior:
1. The upgrade wizard shows a warning and points to this note informing you that there is a user-defined
field created on a non-existing table.
2. The message in the log report shows the table name which is not found in metadata.
For the OPBU table, the message is: "Table OPBU was not found in metadata, when loading existing
UDFs. Error -2004."
Actual behavior:
The upgrade wizard fails with an unknown error without any warning, and in the log report you find
the error message: "Failed, error code: -2004".
Solution
SAP intends to provide a patch or patches in order to solve the problem described. The section Reference to
Related Notes below will list the specific patches once they become available. The corresponding Info file
of the patches in SAP Service Marketplace will also show the SAP Note number. Be aware that these
references can only be set at patch release date. SAP will deliver patches only for selected releases at its own
discretion, based on the business impact and the complexity of the implementation.
Products
2483558 Collective Note for SAP Business One 9.3, version for SAP HANA Upgrade Issues
2483410 Collective Note for SAP Business One 9.3 Upgrade Issues
2633761 Overview Note for SAP Business One 9.3 PL05, version for SAP HANA