Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Que about copy paste concept....

Former Member
0 Likes
1,326

Dear Sir/Madam,

I guess i can copy no of rows from any application and paste it to the table control area as i have seen it in table maintainace screen many times..

Could you tell me how to do this...??? in detail.... i have gone throgh the debugging.. but it shows me to use Method... like thing...

Method concept is also little new to me... so i will be thank ful to you if u describe this method also....

I hope you understand my question...

Warm Regards,

Nirav Parekh

5 REPLIES 5
Read only

Former Member
0 Likes
616

Hi,

Goto the application & click "CTRL Y". Cursor will be changed to "+" sign. Then select the rows/columns and click "CTRL C".

Now go to the table control & click "CTRL V".

Best regards,

Prashant

Read only

0 Likes
616

Dear Prashant...

Thanks for ur interest towards my question....

But you didnt understand my meaning..... let me describe once agian...

I wanted to put button .... clicking on which you get paste the nos of rows selected else where...

I hope you would have cleared with my question...

Regards,

Nirav Parekh

Read only

anversha_s
Active Contributor
0 Likes
616

hi,

use CTRL Y. Move Cursor over the record

Then select the rows or columns and click CTRL C.

then in table control ,click CTRL V.

Rgds

Anver

Read only

0 Likes
616

Dear Anversha

Thanks for ur interest towards my question....

But you didnt understand my meaning..... let me describe once agian...

I wanted to put button .... clicking on which you get paste the nos of rows selected else where...

I hope you would have cleared with my question...

Regards,

Nirav Parekh

Read only

0 Likes
616

Hi ,

this should work

     CALL METHOD CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_IMPORT
        IMPORTING
           DATA                 = file_table_clip
         EXCEPTIONS
           CNTL_ERROR           = 1
           ERROR_NO_GUI         = 2
           NOT_SUPPORTED_BY_GUI = 3
           others               = 4.
      if sy-subrc = 3.
        message E888. Exit.
      elseif sy-subrc <> 0.
        message E889 with 'CLIPBOARD_IMPORT'. Exit.
      endif.