How To Fix SWDP_WB_TOOL_VD_DEPR021 - Value "hard" of property "wrapping" of "TextEdit" is deprecated


SWDP_WB_TOOL_VD_DEPR021 - Overview

  • Message type: E = Error

  • Message class: SWDP_WB_TOOL_VD_DEPR - Deprecated Objects

  • Message number: 021

  • Message text: Value "hard" of property "wrapping" of "TextEdit" is deprecated

  • Show details Hide details
  • What causes this issue?

    Enumeration value "hard" is deprecated.

    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?

    When using value "hard" line breaks might occur where you do not want
    them. Differentiate between two situations for wrapping:
    Use value "soft" if you want the text display to be wrapped. If the text
    needs to be broken for technical reasons, for example because the number
    of characters per line is limited, proceed as follows:
    Use data type "STRING_TABLE" in the context for the "TextEdit.text"
    property.
    Integrate a function for displaying the text that converts the text from
    your text data type to the "STRING_TABLE".
    Integrate a function for processing the text that converts the text from
    the "STRING_TABLE" to your text data type and thus wraps the text the
    way you want it to.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SWDP_WB_TOOL_VD_DEPR021 - Value "hard" of property "wrapping" of "TextEdit" is deprecated ?
    The SAP error message SWDP_WB_TOOL_VD_DEPR021 indicates that the value "hard" for the property "wrapping" of the TextEdit control is deprecated. This means that the use of this specific value is no longer recommended and may be removed in future versions of the software.
    
    Cause: The deprecation of the "hard" value for the wrapping property is likely due to changes in the underlying framework or best practices in UI development. SAP continuously updates its UI frameworks to improve performance, usability, and maintainability. The "hard" wrapping option may have been replaced with a more flexible or efficient approach.
    Solution: To resolve this error, you should update the property value for the wrapping attribute of the TextEdit control in your application. Instead of using "hard", you can use one of the recommended values, such as: soft: This allows the text to wrap at the end of the line without inserting line breaks. none: This prevents any wrapping, and the

    Already have an account? Login here!




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


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