Skip to Content
0
Dec 12, 2013 at 02:05 PM

Waiting to finish the document download dialog

35 Views

HI guys,

i have a WDA with a flow in which i have to store some data to my local computer. I press my button and use these lines.

**********************************************************************
* save data to local computer

**********************************************************************
cl_wd_runtime_services=>attach_file_to_response(
i_filename = ls_filename
i_content = xstr
i_mime_type = 'CSV' ).

**********************************************************************
* call batch programm to create archive...

**********************************************************************
ls_progname = 'ZDPRF_WRITE_PDF_TO_ARCHIVE'.
SUBMIT (ls_progname) WITH i_fname = ls_filename EXPORTING LIST TO MEMORY AND RETURN.


Without calling the batch programm the "save under" dialog appeared and works fine. But...

now the dialog didn't appeared.

Is there a way to force the dialog to "save under" the data before i call the batch program... or to wait somehow until the dialog appeard ?

Or another idea ?

Thx in advance

Best regards

--Bernward Henkel