I have a report where I would like to inform the user of some open events (taken from DB) and then ask him if he'd like to continue.
My code new is something like this:
SELECT ... INTO TABLE lt_events WHERE.... "my data
DATA newline TYPE string
newline = cl_abap_conv_in_ce=>uccp( '0d0a' ) "new line code
lv_question = 'Attention! there are some open events'.
CONCATENATE lv_question newline INTO lv_question.
LOOP AT lt_events INTO ls_events.
CONCATENATE lv_question newline ls_events-string INTO lv_question.
CALL FUNCTION 'POPUP_TO_CONFIRM'
titlebar = 'open events'
text_question = lv_question
But when the popup appears in the screen everything is close to each other and without the new lines
How can I make the new lines appear in the popup??