cancel
Showing results for 
Search instead for 
Did you mean: 

FileUpload issue

Former Member
0 Kudos

Hi experts!

If there is a view with several FileUpload elements placed into it then they all upload files simultaneously on any button pressed in the view.

For example:

1) User specifies path to a file in the every FileUpload element

2) User presses any button in the view

3) All elements upload all files specified. WD application gets control only after all files are uploaded.

Is it possible to make FileUpload element upload files only by specific event (specific button), but not by any event in the view?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

Your question is not clear. What do you mean by 'not any event' ?

Thanks,

Sai

Edited by: Sai Krishna Kowluri on Aug 3, 2009 1:48 PM

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

No, not possible. This is detailed in the online help:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b3/be7941601b1d09e10000000a155106/frameset.htm

There is no action available to identify a FileUpload. Generally we recommend you use a dedicated screen or popup for the upload, since an upload is triggered by every user interaction requiring a roundtrip, for example scrolling through a table. This makes a round trip necessary, which may irritate the user.

This has to do with the technical architecture of how web browsers handle file uploads. You can read about how the HTML element <input type=file> works on line. This isn't something SAP can control or influence.

In NetWeaver 7.01, we have a new UI element called ACFUpDownload. it uses a Java Applet to perform the file Upload and Downloads and therefore by-passes the limitations of the web browser. It has some limitations of its own currently and is primarily designed for use with Content and Cache Servers - although I published an example of how it can be used with Web Dynpro ABAP directly.

Former Member
0 Kudos

Thanks, Thomas!

Former Member
0 Kudos

Question still actual