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

Copy objects

muralidhar2796
Explorer
0 Likes
1,715

Hi All,

I need to copy objects dynamically using a report program.. Is there any FM to copy objects irrespective of its type (DDIC object or a program or webdynpro) Help me if you got one..

Thank you..

4 REPLIES 4
Read only

former_member1716
Active Contributor
0 Likes
1,354

No, we don't have any FM satisfying this requirement.

Regards

Read only

0 Likes
1,354

If so, i could find out only some of the FM that copies specific objects.. DDIC objects, FM, program.. Can you please tell me if you know any other FM that copies other objects..

Read only

Sandra_Rossi
Active Contributor
1,354

Did you try abapGit ?

Read only

former_member1716
Active Contributor
0 Likes
1,354

Follow the below FMs for Copying DDIC objects, You need to use the FMs in sequence, they will help for DDIC objects alone.

1) DDIF_TABL_GET = Interface to read a table from the ABAP Dictionary

2) DDIF_TABL_PUT= Interface to write a table in the ABAP Dictionary

3) DDIF_TABL_ACTIVATE = Interface to activate a table

Try the FM below To Copy Include Objects:

RS_COPY_PROGRAM_INCLUDE

Below FM is to Copy ABAP VARIANTS:

RS_COPY_SELECTION_SETS

Below Link helps you to copy a table through Program:

http://www.saphub.com/abap-dictionary/copy-sap-table-programmatically/

Hope it helps!

Cheers!!!