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.
PS: I know P_BUKRS
is not the best name, it's just to show the issue.
Instead of text fields use an input field and set it to output only. Then you can set the text during PBO which will show underscores.
DATA: lbl_bukrs(7).
MODULE init.
lbl_bukrs = 'P_BUKRS'.
ENDMODULE.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With