Search code examples
abapunderlinedynpro

How to display an underline _ in a field text of a dynpro?


As the title says, I would like to display an underline character _ in a dynpro field text. Is it possible? I have tried every possible option in the field text attributes.

Underline!!!

PS: I know P_BUKRS is not the best name, it's just to show the issue.


Solution

  • Here is a quotation from SAP Help.

    If the text consists of several words, they are joined together automatically by underscores, which are replaced by spaces at runtime.

    Based on that the answer would be no, it is not possible for a text field to display underscores because they will be replaced by spaces at runtime anyway.