Code Snippet
Use method CLIPBOARD_EXPORT of class CL_GUI_FRONTEND_SERVICES to put data into your clipboard which can be copied anywhere like Notepad, Excel, etc.
Code Snippet
Use method CLIPBOARD_IMPORT of class CL_GUI_FRONTEND_SERVICES to import data from your clipboard.