Application Development 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: 

Renaming database tables, dataelements & classes

0 Kudos

Hello!

I would like to change the names of some database tables, dataelement and classes, which I have created some time ago.

Recreating these objects with the correct names manually and updating all the references to these objects would be a lot of work. Does anyone know about a tool or some other means, on how to deals with this automatically?

Thanks a lot for your help and best Regards

Jens

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi, Jens Lipperheide

If the rename work on these database table and element etc is not too complex, you can try to create some application for automatically rename.

I think you can achieve it using BDC, just get the defination of the database and element class by some way(FMs, RTTI class), and write carefully some code to input the NAME TYPE to the defination screen. Except the automatically input, another benefits is the BDC can be run on the foreground, so we still have chance to correct the input if they are not correct.

It looks that the way is worth trying, if your rename works is really much much large than writing such a application.

hope it will be helpful

Thanks a lot

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

No, there is no such tool in ABAP. The manual way is the only way.

Regards

Rich Heilman

0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi, Jens Lipperheide

If the rename work on these database table and element etc is not too complex, you can try to create some application for automatically rename.

I think you can achieve it using BDC, just get the defination of the database and element class by some way(FMs, RTTI class), and write carefully some code to input the NAME TYPE to the defination screen. Except the automatically input, another benefits is the BDC can be run on the foreground, so we still have chance to correct the input if they are not correct.

It looks that the way is worth trying, if your rename works is really much much large than writing such a application.

hope it will be helpful

Thanks a lot