Control Init Error in Data Provider at GUI_DOWNLOAD in a Test Class
I have a strange behaviour of the GUI_DOWNLOAD method from the cl_gui_frontend_services class.
GUI_DOWNLOAD delivers always FILE_WRITE_ERROR in a test class but in a report it works as expected. So I check the behaviour in the TAC SE80 and start there the unit test and here all works well and as expected. It seems that the same unit test with GUI_DOWNLOAD method works different in ABAP in Eclipse as in SE80. It is a problem of the detection routines in the data provider functions, the error raises on DP_SEND_STREAM_TO_URL (DP_ERROR_CREATE) > DP_CREATE > CONTROL_INIT (CONTROL_INIT_ERROR), CL_GUI_OBJECT=>IS_INIT is initial.
Thanks for tips and hints.
Message was edited by: Stefan Schnell