The below code shows how function module CLPB_EXPORT is used to export an ABAP internal table to the clipboard .
Export data to clipboard CALL FUNCTION 'CLPB_EXPORT' TABLES DATA_TAB = ld_BUFFER EXCEPTIONS CLPB_ERROR = 01.