Code: Alles auswählen.
REPORT bug_debug.
DATA:
lv_text_mit_umlaut TYPE char10,
lv_text1 TYPE text15,
lv_text2 TYPE text15.
lv_text_mit_umlaut = 'Prüfcode A'.
lv_text1 = lv_text_mit_umlaut.
lv_text2 = lv_text_mit_umlaut && cl_abap_char_utilities=>cr_lf.
BREAK-POINT.
Code: Alles auswählen.
LV_TEXT_MIT_UMLAUT Prüfcode A 5072FC66636F64652041 C(10)
LV_TEXT1 Prüfcode A 5072FC66636F646520412020202020 C(15)
LV_TEXT2 Pruefcode A# 5072FC66636F646520410D0A202020 C(15)
LV_TEXT2(10) Prüfcode A 5072FC66636F64652041 C(10)
als auch WRITE:LV_TEXT_MIT_UMLAUT: Prüfcode A 50007200FC00660063006F006400650020004100
LV_TEXT1: Prüfcode A 50007200FC00660063006F00640065002000410020002000200020002000
LV_TEXT2: Prüfcode A## 50007200FC00660063006F0064006500200041000D000A00200020002000
lv_text_mit_umlaut: Prüfcode A
lv_text1: Prüfcode A
lv_text2: Prüfcode A##
Code: Alles auswählen.
DATA: lv_text_mit_umlaut TYPE char10,
lv_text1 TYPE text15,
lv_text2 TYPE text15.
lv_text_mit_umlaut = 'Prüfcode A'.
lv_text1 = lv_text_mit_umlaut.
CONCATENATE lv_text_mit_umlaut cl_abap_char_utilities=>cr_lf INTO lv_text2.
BREAK-POINT.