Code: Alles auswählen.
LOOP AT me->mt_output INTO truxs_s_text_data.
CLEAR: rt_soli. REFRESH: rt_soli.
" Zeilenumbruch einfügen
CONCATENATE truxs_s_text_data cl_abap_char_utilities=>cr_lf
INTO truxs_s_text_data.
" Horizontal Tab entfernen
SHIFT truxs_s_text_data LEFT DELETING LEADING cl_abap_char_utilities=>horizontal_tab.
lv_string = truxs_s_text_data.
SHIFT lv_string LEFT DELETING LEADING cl_abap_char_utilities=>horizontal_tab.
rt_soli = cl_document_bcs=>string_to_soli( ip_string = lv_string ).
APPEND LINES OF rt_soli TO me->mt_file_tab.
ENDLOOP.
Code: Alles auswählen.
REPLACE ALL OCCURRENCES OF REGEX '[^\d,]' IN <shadowline> WITH '' IN CHARACTER MODE.
Code: Alles auswählen.
LOOP AT me->mt_output INTO truxs_s_text_data.
IF lv_string IS INITIAL.
lv_string = truxs_s_text_data.
ELSE.
CONCATENATE lv_string cl_abap_char_utilities=>cr_lf truxs_s_text_data INTO lv_string.
ENDIF.
ENDLOOP.
rt_soli = cl_document_bcs=>string_to_soli( ip_string = lv_string ).
Folgende Benutzer bedankten sich beim Autor a-dead-trousers für den Beitrag:
Icke0801