How To Fix SDDIC_ADT_DDLA047 - The recommended length should be '&1' (based on text length '&2')


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SDDIC_ADT_DDLA - Messages for Annotation Definition Design Time

  • Message number: 047

  • Message text: The recommended length should be '&1' (based on text length '&2')

  • Show details Hide details
  • What causes this issue?

    Language dependent CDS annotations contain texts which are translated. A
    CDS annotation is defined to be language dependent using the annotation
    @LanguageDependency.maxLength.
    For each language dependent annotation the annotation definition
    specifies:
    the maximum text length. Note that a text which is longer than the
    maximum length may be truncated when it is stored.
    the recommended length of the text within the bounds of the maximum text
    length. The recommended length is calculated so that sufficient space
    remains for translations. The recommended length is dependent on the
    maximum text length:
    Long texts (> 120 characters) - The recommended length is calculated so
    that 30% of the calculated length can still be added to the text without
    exceeding the maximum text length.
    Medium texts (> 32 characters and <= 120 charactes) - The recommended
    length is calculated so that 50% of the calculated length can still be
    added to the text without exceeding the maximum text length.
    Short texts (<= 32 characters) - The recommended length is determined
    using a predefined matrix of values corresponding to the maximum text
    length. These values are averages for the recommended length which
    generally enable successful translations in common languages.
    For example, the following definition defines a maximum text length of
    60 characters for the values of the annotation @EndUserText.label and
    recommends using maximum 40 characters thereof to always allow at least
    20 characters (50% of 40) additional space for translations.
    @LanguageDependency.maxLength: 40

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

    EndUserText.label : String(60);
    The recommended length is used to warn developers who specify a text
    value for the annotation in their data definitions if the specified text
    doesn't leave enough space for translations.

    How to fix this error?

    Use the suggested value for @LanguageDependency.maxLength in your
    annotation definition to ensure that developers are warned correctly
    when they specify texts that leave too little space for translations.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SDDIC_ADT_DDLA047 - The recommended length should be '&1' (based on text length '&2') ?




    • 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