Skip to Content
0
Sep 20, 2005 at 05:31 AM

File Upload error

24 Views

Hi,

In Attachment view, if no file is added and ADD button is clicked, it results in an error. The next time, if a file is added and then ADD button is clicked, even now the file is not getting added.

I checked the code and found that in the method IF_HTMLB_DATA~RESTORE_FROM_REQUEST of class CL_HTMLB_FILEUPLOAD, in line 8, num_multiparts is always returned as 0 (the first time no file was added). How can this be avoided, if a file is added and then ADD button is clicked?

Thanks & Regards

G.Raja