How To Fix NP213 - &-& (Type VARC no longer supported as of release 3.0)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: NP - New checks in the activating program

  • Message number: 213

  • Message text: &-& (Type VARC no longer supported as of release 3.0)

  • Show details Hide details
  • What causes this issue?

    Data type VARC is no longer supported from Release 3.0 onwards.
    However, although you can continue to use active objects which have
    this data type, you may not create new domains with this data type.

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message NP213 - &-& (Type VARC no longer supported as of release 3.0) ?

    The SAP error message NP213, which states "Type VARC no longer supported as of release 3.0," typically occurs when you are trying to use a data type that has been deprecated in the version of SAP you are using. The VARC (variable character) data type was used in earlier versions of SAP but has been replaced with other data types in more recent releases.

    Cause:

    The error is caused by the use of the VARC data type in your ABAP code or data dictionary objects (like tables, structures, etc.). Since SAP release 3.0, VARC is no longer supported, and you need to replace it with a supported data type.

    Solution:

    To resolve this error, you need to replace the VARC data type with a supported alternative. The recommended alternatives are:

    1. STRING: This is a dynamic string type that can hold variable-length character data.
    2. CHAR(n): This is a fixed-length character type where n specifies the length of the character string. You can define the length according to your requirements.

    Steps to Fix:

    1. Identify the Usage: Locate where the VARC type is being used in your code or data dictionary.
    2. Modify the Data Type: Change the data type from VARC to either STRING or CHAR(n) as appropriate.
    3. Adjust Lengths: If you choose CHAR(n), ensure that the length n is sufficient for the data you expect to store.
    4. Test the Changes: After making the changes, test the program or functionality to ensure that it works as expected without any errors.

    Related Information:

    • Documentation: Refer to the SAP documentation for the specific version you are using to understand the changes in data types and best practices.
    • ABAP Development Guidelines: Follow the guidelines for ABAP development to ensure that you are using the most current and efficient data types.
    • SAP Notes: Check for any relevant SAP Notes that may provide additional context or solutions related to this error.

    By following these steps, you should be able to resolve the NP213 error and ensure your code is compatible with the current version of 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant