Skip to Content
0
Former Member
Jul 12, 2013 at 07:31 PM

Clear Clipboard

2901 Views

Hi,

hope you can help me.

I have to copy an internal table into Excel. To do that:

1. I copy the table in the clipboard (CALL METHOD cl_gui_frontend_services=>clipboard_export)

2. I paste it in excel ( CALL METHOD OF w_excel 'Paste' .)

till now, everything work fine.

I need now to clear the clipboard (because, i repeat step 1 & 2 a few times).

someone propose to clipoard_export an empty table. It does'nt work.

Another "solution" was SET PROPERTY OF 'CutCopyMode' = 0. But again no success.

If you can help me to find a way to clear the clipboard between each export/paste, it would be great.

thank you,

Hector