How To Fix R5521 - Postal code &1 is not permitted for city &2 in country &3


SAP Error Message - Details

  • Message type: E = Error

  • Message class: R5 - Regional structure

  • Message number: 521

  • Message text: Postal code &1 is not permitted for city &2 in country &3

  • Show details Hide details
  • What causes this issue?

    The specified postal code is not permitted for the specified city.
    Display the permitted postal codes in the city with the transaction
    SR12.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Specify the correct postal code (or the correct city).

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message R5521 - Postal code &1 is not permitted for city &2 in country &3 ?

    The SAP error message R5521 indicates that there is a mismatch between the postal code, city, and country in the system. This error typically occurs when the postal code entered does not correspond to the specified city and country combination in the SAP database.

    Cause:

    1. Incorrect Data Entry: The postal code may have been entered incorrectly.
    2. Data Inconsistency: The postal code may not be valid for the specified city and country combination. This can happen if the postal code is outdated or if there have been changes in postal code assignments.
    3. Missing Data: The postal code, city, or country may not be properly maintained in the SAP system.
    4. Configuration Issues: The configuration settings in the SAP system for address validation may not be set up correctly.

    Solution:

    1. Verify Data Entry: Check the postal code, city, and country for any typographical errors. Ensure that the postal code is valid for the specified city and country.
    2. Check SAP Master Data: Look up the postal code in the SAP master data to confirm that it is correctly associated with the city and country. You can do this by using transaction codes like OVK1 (for country-specific settings) or OVK2 (for postal code settings).
    3. Update Master Data: If the postal code is indeed valid but not recognized by the system, you may need to update the master data. This can involve adding the postal code to the relevant city and country combination.
    4. Consult Documentation: Refer to SAP documentation or help resources for guidance on maintaining address data.
    5. Contact Support: If you are unable to resolve the issue, consider reaching out to your SAP support team or consulting with SAP support for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes for address maintenance, such as BP (Business Partner) for maintaining business partner addresses.
    • Address Validation: Ensure that your SAP system is configured for address validation, which may involve settings in the customizing area (SPRO).
    • Country-Specific Regulations: Be aware that postal code formats and rules can vary by country, so ensure compliance with local regulations.

    By following these steps, you should be able to identify and resolve the issue related to the R5521 error message in SAP.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker