2014 Nov 12 10:47 AM
Hello everyone.
Once a new ABAP project, is created in ECLIPSE.
Is it possible to rename the project?
In java perspective we have the opcion RENAME but not in the ABAP perspective.
Can we change the data connection of a existing ABAP project?
Eg change the client or the SAProuter.
2014 Nov 12 3:00 PM
As far as I know, no, but you can have multiple projects.
And since a project is only a connection to a backend system, you can and create a new one without losing anything (except project-related configurations such as your favorite packages or your selected Test Cockpit variant).
(I also tried to edit the project files in \(your workspace folder)\.metadata\.plugins\org.eclipse.core.resources\.projects\(your project name), but I did not succeed.)
2014 Nov 12 3:00 PM
As far as I know, no, but you can have multiple projects.
And since a project is only a connection to a backend system, you can and create a new one without losing anything (except project-related configurations such as your favorite packages or your selected Test Cockpit variant).
(I also tried to edit the project files in \(your workspace folder)\.metadata\.plugins\org.eclipse.core.resources\.projects\(your project name), but I did not succeed.)
2014 Nov 12 3:34 PM
Thanks Danny.
I managed to change the data connection of an ABAP project by modifying the file:
\ (my workspace folder) \ .metadata \ .plugins \ org.eclipse.core.resources.semantic \ .cache \ (my project name) \ .destination.properties
In this file, i can change the data connection to sap system.
2014 Nov 14 1:22 PM
Hi David,
we are currently working on the Duplicate function for ABAP projects.
That means that you can copy a project with all the project settings and you can adjust the connection and logon setup. Maybe this helps in your scenario? What do you think?
Regards,
Thomas.
2014 Nov 16 7:50 PM
Hi Thomas.
Yes, that would help, but I had thought in casual scenarios.
For example, normally, I have to do the access to the system in Spanish (ES).
But, by default, ABAP projects are created in English (EN).
If I'm despite and don't change En to ES. I can not change anymore the language.
I have to delete and create a new ABAP project.
I do not think it necessary to copy an entire project just to change one parameter like the client or the language.
I think it would be a good feature than, we can change the client and language fields in Properties -> Abap Development
Or, if i need to connect with other client only one time, an option "Connect as ..." from the context menu, something like:
2024 Apr 27 7:53 PM
2024 update.
For the project name, the only solution is to Duplicate the project. Select the project > context menu > Duplicate > Type the new name.
For other configuration data like the IP address, yes, it's feasible, I reproduce here the answer by former_member620346 above (it's also explained here😞
11-12-2014 3:34 PM
I managed to change the data connection of an ABAP project by modifying the file:
(Eclipse workspace folder)\.metadata\.plugins\org.eclipse.core.resources.semantic\.cache\(project name)\.destination.properties
In this file, I can change the data connection to sap system.
NB: Eclipse must be restarted after changing the file (possibly by switching the workspace too?) You can find the path to your Eclipse workspace folder by the menu File > Switch workspace.
Example of .destination.properties:
#Sat Apr 27 20:26:44 CEST 2024
systemConfiguration=NPL 7.52
server=192.168.11.129
systemId=NPL
SNCType=0
SSOEnabled=0
client=001
description=
systemNumber=00
language=EN
id=NPL_001_developer_en
user=DEVELOPER
Note that changing the "id" is not reflected in the name of the project in Eclipse, the only solution is to duplicate the project and type any name you want (space and special characters not permitted).