cancel
Showing results for 
Search instead for 
Did you mean: 

Remove old request

Former Member
0 Kudos

there are lots of old request which are already import. i want to remove old request . how can i do this and what is precaution before removing, there is any other use of old request. what is sideeffect of old request.

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You only want to delete them from the buffer correct ?? If so,

you can do

tp deletefrombuffer <SID> <REQUEST>

This will delete the entries from the buffer file in /usr/sap/trans/buffer/<SID>

Whenever you want to add or import then you need to do a

tp addtobuffer <SID> <Request>

Make sure you do not delete the data and cofile and also the log

Log will give you the history of the request

Pravin

Former Member
0 Kudos

My mistake. You do want to delete the data.

Would not delete the data as you never know when a request comes in for history of a transport.

Disk is cheap. Just add disk. If you really really need to then only move then to an alternate directory

Pravin

Answers (3)

Answers (3)

Former Member
0 Kudos

Could you be a bit more specific.

Do you want to:

- remove old entries from the import queues

or

- remove the old requests from SAP

or

- remove the old requests physically from the \usr\sap\trans directory

Removing the entries from the import queue has the consequence that you have a shorter import queue.

The import history is still in the system when you look at different requests.

Removing the requests from SAP means that you "archive" the old request information and it will not be available online.

Removing the old requests physically means that you have to make sure that the request is already imported

to the whole transport system landscape (e g to both QAS and PRD).

Please note that when you are using the CLEAROLD function of tp,

it will remove old requests AND the logs of requests as well.

You should always have backup routines for \usr\sap\trans or /usr/sap/trans if a request is deleted by mistake.

Former Member
0 Kudos

I want to remove or backup old import rquest . which is already imported from dev to production server.

actually there are lots of imported request ,

i have checked in my dev server there are lots of folder in \usr\sap\trans,( bin, buffer,cofiles,data,eps,ets,log,sapname.temp),

which folder is more important , should i take backup all folder

Former Member
0 Kudos

If you perform a backup of the whole usr\sap\trans directory, the you got what you need in this area.

short description:


bin - is where the transport profile is located. The profile is used when calling program tp.
buffer - this is where the actual import queues are located.
cofiles - Information about the requests and what steps need to be performed during import.
data - The actual data for the requests
EPS - directory which SPAM/SAINT works with when patching the system.
log - as it says. Logfiles.
sapnames - Each user has it's own file here with a list of requests.
tmp - as it says. Directory for temporary files.

The easiest way is to use the tp functions.

You can read more about this function under:

[Software Logistics|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b4/d0340a2d0f433cbeb69660e750d74b/frameset.htm]

- Change and Transport System

- Transport Tools

- Transport control Program tp

- tp: Additional function

- Cleaning up the Transport Directory

Here you can read about "tp clearold all" and "tp check all".

If you still want to delete the files manually:

Make sure that if you delete files from \usr\sap\trans\data, also remove files from \usr\sap\trans\cofiles accordingly.

\usr\sap\trans\EPS\in can be emptied whenever you have performed a complete system landscape patch operation.

Please note that you might have to unpack the patches again if you need to install additional languages in the system.

Remove old entries from \usr\sap\trans\log as well.

Please note that you should have a delete policy for cofiles, data and log.

Example:

Save logs for 6 months and the cofiles and data 12 months.

Still, a request can turn up after 1 year or so and then it's physically gone.

Then you need to have your backups in order!.

Former Member
0 Kudos

As Eric already has mentioned, this Note will help you further in understanding the concept

SAP Note 41732 - Deletion of data in transport directory

former_member204746
Active Contributor
0 Kudos

at OS level, type:

tp help

you'll get the syntax of tp command. look for CLEAROLD

Former Member
0 Kudos

hi Eric

Will it delete old request file not a data....