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

Using new namespace for existing abap objects

0 Likes
524

Hi,

We have just reserved a namespace and want to move existing code (tabels, data-elements, ...) to this namespace. The issue we notice is that the namespace is added to the name of the abap-object, so that every code-reference to that object must be changed. This leads to a lot of work. Can this somehow be avoided?

Regards,

Jurgen

Hi,

We have just reserved a namespace and want to move existing code (tabels, data-elements, ...) to this namespace. The issue we notice is that the namespace is added to the name of the abap-object, so that every code-reference to that object must be changed. This leads to a lot of work. Can this somehow be avoided?

Regards,

Jurgen

2 REPLIES 2
Read only

christian_wohlfahrt
Active Contributor
0 Likes
491

Hi Jurgen!

This can't be avoided, that's the very core of the names. Different question is: can this be automated. Not completely.

Fastest way (and it's really not so terrible as it seems):

- copy the objects to new names

- make where-used list to all objects (e.g. table name)

- search and replace in each object (e.g. include)

- generate new version

- delete old object

- check all objects for missed references

Still will take several days for one person. For very large developments you can think about a program to do the mentioned list - but this will take a lot of time to program, too.

Regards,

Christian

Read only

0 Likes
491

Christian,

Thanks for your answer. We will have to do this in a small project for a couple of days indeed.

Regards,

Jurgen