Skip to Content
author's profile photo
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 08:43 PM

    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:

    External Command in SM69

    in order to schedule those commands,

    please create a program which runs this commands,

    as described in SM69 -> Operating system command

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

    Add comment
    10|10000 characters needed characters exceeded