Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Delete import requests

Hello guys,

I need to make some space in my transport directory ( /usr/sap/trans ) because it is running out of space. Inside this directory there are other directories like cofiles, data, buffer, logs, etc, where I have big files.

What procedure should I follow, to make a good clear of this directories, without affecting my transport system? It would be great to maintain the queue log, just delete the data or big files.

Thanks,

Javier.

replied

Hello,

Proceed as under.

This is an extract of sap help file http://help.sap.com/erp2005_ehp_03/helpdata/EN/3d/ad5b674ebc11d182bf0000e829fbfe/frameset.htm

1. To generate a list of all deletable files in these directories, enter the command tp check all. Files are considered deletable if the accompanying request is not marked for import into an SAP System. The list that is generated is stored as the check.log log file in the tmp subdirectory and can be read.

2. If you want to test the command tp clearold all, enter the command tp testold all. tp testold all simulates the actions performed by tp clearold all and writes the results to the file testold.log. This file is in the subdirectory tmp. The log file contains details of the actions of tp clearold all when cleaning up the transport directory.

3. To delete files from the subdirectories cofiles, log, and olddata, and to move files from the subdirectory data to the subdirectory olddata, enter the command tp clearold all. (This command works using the list generated in step 1.) The tp clearold all command writes the results to the clearold.log log file. This file is located in the tmp subdirectory.

For more information on the parameters for these commands, see Transport Profile. To get the current values, use the command tp showparams <sapsid>.

You do not need a connection to the database to execute the commands that are mentioned above. The function is independent of the installed SAP release.

Hope this helps.

Pl award suitably.

Regards

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question