Hi Jcasas,
It seems that the system only call FM GUI_UPLOAD when i_t_file_content_ascii is initial,
make sure FM
is called with parameter I_T_FILE_CONTENT_ASCII, it should be ok to upload doc in background.
IF i_t_file_content_binary[] IS INITIAL AND
i_t_file_content_ascii[] IS INITIAL.
* load file with I_S_CONTENT_INFO-file_name
DATA l_string TYPE string. l_string = i_s_content_info-file_name.
DATA l_int TYPE i. l_int = i_s_content_info-file_size.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_string
filetype = 'BIN'
Regards,
Shidong