cancel
Showing results for 
Search instead for 
Did you mean: 

Copy table rows to clipboard

Former Member
0 Kudos

Hi,

we have a Web Dynpro application with a table and it should be possible to copy selected rows into the clipboard of the client.

The data in the clipboard is used to paste it in excel.

Does someone know how to manage this?

Thanks!

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

On which release are you? Have you tried to use the menu in the left-upper corner of the table. I remember there has been once implemented at least part of this functionality but I am not sure if it's still there.

Armin

Former Member
0 Kudos

Just some thought: On clicking button Open Modal Window with TextEdit UI Element. Copy all the data to TextEdit from the table rows. Data can be copied from TextEdit in normal way(Copy Ctrlc and Paste Ctrlv) to any other application in user's client system. I used this technique to copy data from users Clipboard to Table.

nikhil_bose
Active Contributor
0 Kudos

why don't you copy row to another node with same structure? you can do it in lead selection event.

nikhil

Former Member
0 Kudos

Thanks for the quick replys.

I will check the links.

@Nikhil Bos

what do you mean by that?

nikhil_bose
Active Contributor
0 Kudos

instead of coping to clipboard, in duplicate node, create element for the selected row is an alternative.

if it is not your requirement, please be specific

nikhil

Former Member
0 Kudos

It is only required to access the clients clipboard in order to copy table rows into the clipboard. The problem is how to access the client with a server-sided application

. The java.awt.datatransfer doesn't work.

The user shoulf have the possibility to paste it in Excel. An Excel export is not recommended.

Edited by: Florian Fuchs on Jun 6, 2008 1:07 PM

nikhil_bose
Active Contributor
0 Kudos

I am not use about the API support for Java Dynpro to do this. But it can be done with Visual Composer.

nikhil

Former Member
0 Kudos

Can you give me an example.

We do not use the visual composer, but for an important reason we are probably allowed to use the VC.

nikhil_bose
Active Contributor
0 Kudos

Please go through this readings.

[;

[KM GUI Copy|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7873] [original link is broken] [original link is broken] [original link is broken];

[Java Tips & Tricks|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c59736a7-0301-0010-c3bf-9f9f07bc6bc9]

[Export Data From Visual Composer|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/805709cb-ec97-2910-04b8-f3d6303d8d3b]

nikhil

Former Member
0 Kudos

Hi

Hope [this|http://www.javapractices.com/topic/TopicAction.do?Id=82] helps you

Best Regards

Chaitanya.A

Former Member
0 Kudos

Hi,

Instead you can provide an 'Export -to-excel' functuionality for the application.

Refer this link for help in the task :

[Export to excel|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4210] [original link is broken] [original link is broken] [original link is broken];

Regards,

Sudeep