Ansicht
Dokumentation

RN2DOC_DELETE_FROM_DB - Delete Med. Documents from the Database

RN2DOC_DELETE_FROM_DB - Delete Med. Documents from the Database

TXBHW - Original Tax Base Amount in Local Currency   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Description

You can use this program to delete all data from the database for the documents selected.

When you create a document, the system will set the change date; you can therefore also select unchanged documents using this change date.

Using the processing option, you can control whether the system should reorganize or delete the document data.

Reorganize Document Mgmt Data: During reorganization the system will delete the selected document management data for which no document exists.

Delete Documents: If you select delete, the system will delete the document management data and the also actual document. In this case, the system will also delete document management data for which no document exists.

The program will only process documents that have a deletion indicator.

If you wish to delete documents without a deletion indicator (i.e. all test documents before the productive start), then you must first use the program RN2DOC_SET_DELETION_INDICATOR to set the deletion indicator.

You can only run this program in test mode. The system will only display a log and will not make any database changes.

Requirements

To execute the program, you need the authorization for the authorization group N_2_DV1 in the authorization object S_PROGRAM.

Output

Example






Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1577 Date: 20240531 Time: 041007     sap01-206 ( 29 ms )