How To Fix R5517 - City &1 does not exist in country &2


R5517 - Overview

  • Message type: E = Error

  • Message class: R5 - Regional structure

  • Message number: 517

  • Message text: City &1 does not exist in country &2

  • Show details Hide details
  • What causes this issue?

    The specified city could not be found in the city table
    (ADRCITY/ADRCITYT), maintained by the transactions SR10 and SR11.
    Either the city name was spelt incorrectly or the city has not yet been
    created.
    This check will only run when the flag 'XREGS' (address check with city
    file) is marked in the table T005 (country table).

    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?


    Error message extract from SAP system. Copyright SAP SE.


R5517 - Details

  • The SAP error message R5517 indicates that the system cannot find a specified city in the given country. This error typically occurs during processes that involve address validation, such as when creating or updating customer or vendor master data, or during sales order processing.
    
    Cause: Missing City Data: The city you are trying to use is not defined in the SAP system for the specified country. Incorrect Country Code: The country code provided may be incorrect or not aligned with the city name. Data Inconsistency: There may be inconsistencies in the address data, such as typos or incorrect formatting. Master Data Issues: The city may not be part of the master data maintained in the system.
    Solution: Check City and Country Data: Verify that the city name is spelled correctly and matches the expected format. Ensure that the country code is correct and corresponds to the city. Maintain City Data: If the city is indeed missing, you can add it to

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


R5517 - Related SAP Errors

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author