cancel
Showing results for 
Search instead for 
Did you mean: 

File uploading: custom data in callback of FileUploader and UploadCollection?

0 Kudos

Hi All,

I am using both: sap.ui.unified.FileUploader and sap.m.UploadCollection.

After files are uploaded in backend, they do receive new filenames. Is it possible to send these new filenames to UI as result of successful upload? These new filenames would be used then for next step.

Thanks and regards,

Mindaugas

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Solution is the following, seems there is nothing better:

copy_data_to_ref(

EXPORTING
is_data = ls_odata_return
CHANGING
cr_data = er_data
).

Regards,

Mindaugas

Answers (1)

Answers (1)

0 Kudos

Hi All,

maybe somebody knows if it is possible to change the callback information at backend side at all?

For example to change oEvent in UploadComplete : function(oEvent){}

I guess it must be possible, because there is no unique way to check if file was really uploaded or not,

this is for developer to handle.

Thanks and regards,

Mindaugas