SAP Knowledge Base Article - Public

3659472 - Error "BF00407" when maintaining tax number length for algerian nif in sap s/4hana cloud public edition

Symptom

While attempting to change the tax character length to 20 for the Algeria DZ (NIF) tax code 1, an error message is displayed: "Enter field with a length of 000016" in the country field checks.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Access the "Maintain Business Partner" application.
  2. Attempt to extend the tax number field length to 20 characters for Algeria DZ (NIF) tax code 1 using SSCUI 102592 - Set Country-Specific Checks.
  3. Observe the error message: "Enter field with a length of 000016."

Cause

The tax numbers are defined with maximum length, so entered values longer than the specified value will trigger an error 'BF00407'.

Maximum length of tax numbers:

  • Tax number 1 (STCD1): maximum length '16' character
  • Tax number 2 (STCD2): maximum length '11' character
  • Tax number 3 (STCD3): maximum length '18' character
  • Tax number 4 (STCD4): maximum length '18' character
  • Tax number 5 (STCD5): maximum length '60' character
  • VAT Registration number (STCEG): maximum length '20' character

The maximum length of tax numbers are hardcoded, so they cannot be modified.

Resolution

Make sure that the correct tax number field is selected to fill the data. The list of standard tax categories is displayed in Note:

  • 775919 - Missing tax number categories of business partner

In most of the cases, the mapping between Customer/Vendor tax number fields and business partner tax categories is straightforward.
Please refer to the following KBA for further details:

  • 2865204 - Mapping Business Partner Tax Number Categories to customer/vendor Tax Number fields

See Also

Keywords

error bf00407, tax number length, algerian nif, sap s/4hana cloud, maintain business partner, country-specific checks, stcd1, tax category dz1, sap note 775919, sap note 2865204, sap note 3311604, sap note 2963059, crm-bf-tax, feature request, sscui 102592. , KBA , CRM-BF-TAX , Tax Determination , AP-MD-BP , Business Partner , LO-MD-BP-2CL , Business Partners for Public Cloud , Problem

Product

SAP S/4HANA Cloud Public Edition all versions