Symptom
When assigning a postal code to an account, system returns errors such as:
"Postal code XYZ must have length XXX."
"Postal code XYZ can only contain numbers."
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Account Management work center.
- Go to the Account view.
- Show All Accounts and find the respective account.
- Choose Edit and select the General tab.
- In the Main Address section, enter a new Postal Code.
- Choose Save.
- The system throws one of the mentioned errors.
Cause
This may happen when the Postal Code format of a specific country changes, and during a transition time the old and the new format are valid. The standard settings of the system will be adapted to the new format at one point.
Resolution
In the meantime and as long as both formats are valid, you can change the country specific settings for the Postal Code in the Fine-Tune activity.
1. Go to the Business Configuration work center.
2. Go to the Implementation Projects view.
3. Choose Open Activity List.
4. Go to the Fine-Tune step.
5. Open the Countries activity.
6. Select Edit Countries.
7. Mark the row of the respective country and select tab Postal Attributes.
8. Change Postal Code Check Rule to 1 - Maximum value length, without gaps.
Keywords
Zip code, Country, Postal code, Unable, Add , KBA , postleitzahl; fehlermeldung , AP-BP-BPT , Business Partner Template , How To
SAP Knowledge Base Article - Public