How To Fix 01663 - Company address &1 is still used as a template


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 01 -

  • Message number: 663

  • Message text: Company address &1 is still used as a template

  • Show details Hide details
  • What causes this issue?

    You want to delete a company address that is still used by one or more
    users as a template for the organizational data and location data. The
    organizational data and location data of a user with access to a
    business partner of type Employee (business partner BUP003) can always
    only be <ZU>copied</> from the template.

    System Response

    The company address is not deleted.

    How to fix this error?

    First change the organizational data and location data for all users
    with this template to a new template.

    Procedure for System Administrators

    If there are no more user master records with this template, please
    check whether the address is used the default company address (table
    USADDEF).

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 01663 - Company address &1 is still used as a template ?

    The SAP error message 01663, which states "Company address &1 is still used as a template," typically occurs when you attempt to delete or modify a company address that is still being referenced as a template in the system. This can happen in various contexts, such as when managing company codes, vendor master data, or customer master data.

    Cause:

    The error is triggered because the address you are trying to delete or modify is still linked to one or more templates in the system. SAP uses templates for various purposes, such as creating new company codes, vendors, or customers, and if the address is still in use, the system will prevent changes to maintain data integrity.

    Solution:

    To resolve this error, you can follow these steps:

    1. Identify Usage: Check where the address is being used as a template. You can do this by reviewing the relevant master data records (e.g., company codes, vendors, customers) to see if the address is still linked.

    2. Remove References: If you find that the address is being used as a template, you will need to remove or change the references to that address in the relevant master data records. This may involve:

      • Changing the address in the master data records that reference it.
      • Deleting or deactivating the template if it is no longer needed.
    3. Check for Dependencies: Ensure that there are no other dependencies or references to the address in other parts of the system. This may include checking for any related documents or transactions that might still be using the address.

    4. Retry the Action: Once you have removed all references to the address, you can attempt to delete or modify the company address again.

    Related Information:

    • Transaction Codes: You may need to use transaction codes such as BP (Business Partner), OBY6 (for company code settings), or XK01/XK02 (for vendor master data) to manage the relevant data.
    • Authorization: Ensure you have the necessary authorizations to make changes to master data in SAP.
    • Documentation: Refer to SAP documentation or help files for more detailed instructions on managing company addresses and templates.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or refer to SAP Notes for any specific patches or updates related to this error message.

    • 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