Hello Experts,
I'm using a string variable to save the filepath. The problem is that when the filepath is longer than 132 characters, the variable gets truncated.
DATA: baja TYPE String. DATA: lv_path TYPE STRING, lv_long TYPE i, lv_tipo(4), l_sel_folder TYPE String. CLEAR baja. lv_long = STRLEN( l_sel_folder ). lv_long = lv_long - 4. lv_path = l_sel_folder(lv_long). CONCATENATE lv_path '-ERR-' sy-datum '-' sy-uzeit '.TXT' INTO baja. CALL METHOD cl_gui_frontend_services=>gui_download EXPORTING * bin_filesize = filename = baja
I have tried to find a solution in the forum with no luck. How can I resolve this?
Thanks in advance and regards!