cancel
Showing results for 
Search instead for 
Did you mean: 

Data transfer from attribute to node

Pramanan
Active Participant
0 Kudos

Dear Experts,

Currently i am working with File upload.In a pop window i kept the file upload UI element.User can upload one file at a time through that UI element in pop up window.But my requirement is to upload multiple files at one button click. For that I need to append the values from File upload UI element context to a node. In that node i need to append the values one by one.

How to append values one after the other in node from a context attribute which is having single input at a time.

Thanks,

Ramanan

Accepted Solutions (0)

Answers (2)

Answers (2)

Pramanan
Active Participant
0 Kudos

no solution posted

Former Member
0 Kudos

Hi,

Please try to do this way -

All the files that you want to upload in a table using the cl_gui_frontend_services for all the files. In this class check out the method for multiple files upload and once you get the contents into this table or update these entries into the database table of you own and loop at this table and do the processing on the context node.

Or

Please check out this link -

Regards

Lekha

Pramanan
Active Participant
0 Kudos

Dear lekha,

I have successfully uploaded and downloaded the file using cl_fitv_gos class.This class uploads the file and generate a link to view the file content.

My requirement is also the same, no problem with the class.I want to know how to append in a node, values from a cotext attribute.

Assume the user uploads the file using file upload ui element, the value will be in context.I want to append that value in other node.So that the user again uploads other file, then i append the second file in the node next to the first uploded file.

Former Member
0 Kudos

Hi Ramanan,

So each and every time what ever the file you selected you want to add that node data to other node am i right?

let us assume we have 2 nodes node A and node B.

you are getting selected file data to node A after that you want to add this to node B each and every time.

to do this read the Node B each and every before adding the data to it and take the previous data into temporaroy internal table then add the new data from node A to temp internal table after that bind the temp internal table to Node B.

Former Member
0 Kudos

Hi,

Pls try this way-

After getting the value in the context then consider another internal table and try to append the record. After this bind this appendned reocrd of this table to the new context node by using the bind table. Everytime you can invalidate the previous node after appending the record to the other Internal table then bund this resulted table to new contxet node to hold mutliple records.

Regards

Lekha