cancel
Showing results for 
Search instead for 
Did you mean: 

Delete cofiles and data files from file system (4.6C / Windows NT)

fabiankegel
Employee
Employee
0 Kudos

Hello,

I am looking for a function module on 4.6C, which is able to delete specific or all cofiles and datafiles from the file system.

Up to now, I found the function module TRINT_TP_INTERFACE but I am not sure how to handle it.

I am looking for a function module in order to have a platform independent routine, that can be scheduled as background job.

Best regards,

Fabian

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey,

As far as i know there is no standard way to delete logs, and cofiles,

<u>however</u>:

The co-files and the data-files are stored in OS level (for example at unix: /usr/sap/trans/...)

you might use transaction SM69 to execute os commands:

rm /usr/sap/trans/data/. in unix or

del d:\usr\sap\trans\data\*.* in windows.

here is more information about SM69:

in order to schedule those commands,

please create a program which runs this commands,

as described in

now you can create a job which is calling sm69 and executing those commands...