cancel
Showing results for 
Search instead for 
Did you mean: 

How to DELET DIR in production server.

Former Member
0 Kudos

hi, all,

i want delet some documents which are not required here after.

so how i could delet those DIR in production server.

i already set those with deletion indicator.

further what shall i do ?

this is very urgent friends.!

please send in details, coz i m working in production server.

rgrds,

ben

points waiting?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi, all i got ans thanks

Former Member
0 Kudos

To delete the documents physically from the database, you must run the MCDOKDEL program using the ABAP/4 editor.

This program deletes all documents of a selected document type for which Deletion Indicator is set.

Program for Deleting Documents with Deletion Indicator

Description

With this report (program), you delete all the flagged documents of a selected document type from the data bank. The documents are not archived before they are deleted.

The report allows you to execute a test run. You should start this test run first of all and check the list of documents if necessary.

Requirements

Only those documents that have a deletion flag are deleted.

Documents are not deleted if they fit into the following categories:

Quality assurance agreement or technical terms of delivery

Production resource/tool in work order or routing

Document item in BOM

Output

As a result you receive a list that is divided into two parts:

Part 1: Undeleted documents

This is a list of those documents that cannot be deleted due to their usage.

Part 2: Deleted documents

This is a list of the documents that have been deleted.

These documents have been deleted from the data bank without having been archived.

Note:

If you set the indicator for test mode on the entry screen of the report, then both of these parts of the list will have the heading Test Mode.

Former Member
0 Kudos

Hi, Srinivasn,

Is it delete the original file from KPRO server also ?

Regards,

Sunny

Former Member
0 Kudos

I am not sure.

i think it will deleted the original files in KPRO

Former Member
0 Kudos

Report MCDOKDEL is best way to delete the documents from SAP. it will clear the PHIO and LOIO of originals also.