cancel
Showing results for 
Search instead for 
Did you mean: 

Delete DC from the track

ashish_shah
Contributor
0 Kudos

Hi Experts,

I have created a DC in a Track.

Now i want to delete it from the track.

i referred to SAP note :864515.

However applying SAP note for my DCs it throws the error as "Folder or subtree contains local only files or folders"

whereas i can still see the DC deployed on the server.

Can you guys help me find the solution to this?

Regards,

Ashish Shah

Accepted Solutions (0)

Answers (3)

Answers (3)

ashish_shah
Contributor
0 Kudos

server restart did the trick

Former Member
0 Kudos

Hello Ashish,

remove the DC with the DC-Tool (you find it in your eclipse

installation folder under "tools/dc", a small ducumentation is

also there).

Since the DTR-plugin sometimes behaves a little bit strange,

this should work.

Regards

Karsten

ashish_shah
Contributor
0 Kudos

Hi Kirsten,

I am using NWDS version 2.0.16.

At the location "C:\Program Files\SAP\JDT\eclipse\tools\dc" i can see a "dc.bat" file.

When i clicked on this file it does not open any DC-tool.

and there is no documentation there as well.

Can you please guide me what do i do next?

Thanks and regards,

Ashish Shah

Former Member
0 Kudos

Hi,

Check whether you have any activity under 'Open activity' for the DC project you created. If so, revert and delete the activity. Select the option to delete all the files under the local directory (_comp).

As a next step, remove the DC from the client. Then proceed with the DC deletion steps given in the note. Ensure that no Used DC is syched and the DC is not built.

Hope this helps !

Regards

Srinivasan T

ashish_shah
Contributor
0 Kudos

Hi Srinivasan,

For my DC there are no open activities.

I am currently selecting the option ( on _comp folder of DC ) delete subtree.

Where it gives the error "Folder or subtree contains local only files or folders"

Now as you suggested if i remove the DC from the client then how can i follow the deletion stpes given in the note?

Please advice.

Thanks and regards,

Ashish shah

Former Member
0 Kudos

Hi,

After 'Remove from client' the locally available folders/files under <Drive>.....\.dtc\0\SCs\<>\<>\_comp folder will be removed. Then you can proceed from Step 1 of DC Deletion Steps in the note.

Hope this helps !

Regards

Srinivasan T

ashish_shah
Contributor
0 Kudos

HI Srinivasan,

I tried to remove the DC from client by using option "Remove from client"

however in DTR console i saw some information saying REMOVE skipped .

The summary in DTR console is : 3 files skipped. 3 folders skipped

And therefor when clicked on _comp folder to delete subtree , it gave me the same error.

Can you please advice on what am i missing?

Thanks and regards,

Ashish Shah

Former Member
0 Kudos

Hi,

Do you find files/folder under ..../_comp after 'Remove from client'?

If no, then 'Sync sources' of only the DC and then select '_comp' folder->Delete->Sub-tree.

Regards

Srinivasan T

ashish_shah
Contributor
0 Kudos

Hi srinivasan,

After i click on Remove from client on _comp folder of a DC, i get the information message for one folder.

"Folder is local" Folder name is "gen"

Can you please guide me what to do next?

Thanks and regards,

Ashish Shah

Former Member
0 Kudos

Hi Ashish,

Try this.

1)If Remove from Client does not work, then manually delete the dc folders from the file system.

2)Check in DTR perspective under this DC that all files exist only remotely (i.e no file under that DC tree in DTR should have a home icon)

3)In Dev Config perspective, rt-click on this DC and "Create Project" .. the whole point is you should get a "mount" for the resources to be deleted from the DTR.

4)Close the project and delete the project (select the radiobutton delete the contents from the folder too)

5)Goto DTR persp, rt-click on _comp folder and Delete subtree

6)Delete and check-in

Lemme know how it goes.

Thanks,

Rajit