cancel
Showing results for 
Search instead for 
Did you mean: 

File Upload Problem

Former Member
0 Kudos

Hello guys.

I am working on SAP Netweaver BPM which has Java WebDynpro at its backend development platform.

The case is i have two webdynpro screens which gets displayed as a UWL task. (Universal Worklist).

Let us say for example in my first screen i have to upload a file. (To a location say)

In my second screen i want to download the same file that has been uploaded.

For this upload, i have defined a Context attribute of type "Resource"

I have placed a FileUpload UI element on the screen. The property resource has been binded to the above context attibute.

I have also defined an upload button (no logic in action) which triggers the upload.

Now to download the file i will do contect mapping within two screens and define a similar contect attribute in other screen to have the file.

Is this a correct approach? Need i write code for file uploading. Or this will be enough. I have read a doc but not fulfillin my purpose.

Thks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

ok

Former Member
0 Kudos

Hi Yogesh,

I am also working on the file upload program.

I have the sample tutorial code for NW2004s. This doesn't work for CE 7.1

Do you have any updated code for this ?

Thanks in advance

former_member185086
Active Contributor
0 Kudos

Hi

Yes, you have to write code for uploading (read the file and parse the data from file and put it in node/attribute)

Now data is available which can be used anywhere by context mapping .

Read this [thread|; will give the overview

Best Regareds

Satish Kumar