Symptom
You cannot assign an electronic file format to a company, or you cannot open it in the Electronic File Manager (EFM) add-on. Depending on the release, you may see an error like this:
Format cannot be loaded from file. FD.Runtime.FlowRunTimeException: @11It happens in one of these places:
- In the company: under Administration → Setup → General → Electronic File Manager, you right-click, choose Upload or Update, select the format file and click Update. The format is not assigned.
- In the EFM add-on: you start the Electronic File Manager add-on from the Add-on Manager, open Tools → Electronic File Manager and select the format file. The format does not open.
Cause
The format was created or last saved with a newer release than the company database or the EFM add-on you are using. The versions are not compatible.
As of FP 2502, SAP changed how electronic files are generated and stored. Since then, you can no longer assume that formats work across versions:
- When you upgrade a company database, the formats in it are upgraded too.
- Formats that SAP delivers through an SAP Note are built for the latest release available at that time.
- When you edit an older format with a newer EFM add-on, the format is converted to the requirements of that newer add-on.
- An older EFM add-on or company cannot open or use a format of a newer version.
Who is affected
- You use SAP Business One or SAP Business One, version for SAP HANA with electronic file formats (GEP, SPP, bank file formats and similar).
- The format was created, delivered or edited with a newer release than the company or the EFM add-on that should use it. This is typical when formats are edited on a newer test system and then moved to an older production system.
Solution
- Compare the versions. Check the release of the target company under Help → About SAP Business One, and the version of the EFM add-on in the Add-on Manager.
- Edit with a matching EFM. Create and change formats only with an EFM add-on that is compatible with the company where the format will be used.
- Plan an upgrade where needed. If a format from SAP requires a newer release than your company runs, upgrade the company before you use that format.
- Use the minimum-version indicator. As of FP 2602, the EFM add-on shows the minimum SAP Business One version a format needs. Check this before you move a format to another system (SAP Note 3714809).
- Keep the original. Save a copy of the original format file before you edit it with a newer add-on, so you can still use it in older companies.
If you are on FP 2608 or later and bank files or electronic reports fail with an EFM error after the upgrade, see SAP Business One bank files and electronic reports fail after upgrading to FP 2608.
Confirm the result
- Upload the format again in Administration → Setup → General → Electronic File Manager. It is assigned without an error.
- Open the format in the EFM add-on of the same release. It opens normally.
- Generate one test file or report with the format and check the output.