Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix DDLS349 - CAST & to identical type &


DDLS349 - Overview

  • Message type: E = Error

  • Message class: DDLS - For DDL source handling

  • Message number: 349

  • Message text: CAST & to identical type &

  • Show details Hide details
  • What causes this issue?

    You use the CAST function and leave the data type the same in the event
    of a changed length or decimal places.

    System Response

    A warning is generated.

    How to fix this error?

    If the CAST is superfluous, which is the case for the same type and same
    length and same number of decimal places, in particular, you need to
    remove it. A superfluous CAST always results in an additional database
    action.

    Procedure for System Administrators

    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.


DDLS349 - Details

  • The SAP error message DDLS349 "CAST & to identical type &" typically occurs during the execution of a Data Definition Language (DDL) statement, particularly when there is an attempt to cast a data type to itself. This can happen in various scenarios, such as when creating or altering database objects, or when working with views or table definitions.
    
    Cause: The error is caused by an attempt to perform a type cast operation where the source and target types are identical. In other words, the system is trying to convert a data type to itself, which is unnecessary and not allowed.
    Solution: To resolve this error, you should: Review the DDL Statement: Check the DDL statement that triggered the error. Look for any CAST operations and ensure that you are not trying to cast a type to itself. Remove Unnecessary Casts: If you find a CAST operation that is attempting to convert a type to itself, simply

    Already have an account? Login here!




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


DDLS349 - Related SAP Errors

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