SD_COND_ARCH_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report SD_COND_ARCH_DELETE physically deletes all conditions from a file that exists in the archive system from the database...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SD_COND_ARCH_DELETE into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: P_DELPRD = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Title: ADK: Archiving Conditions: Delete Program
Text Symbol: 001 = Document deleted
Text Symbol: 002 = &1 documents deleted
INCLUDE ARCH_DELETE_PRG_STANDARD2.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_INIT_APPL call function 'ARCHIVE_PROTOCOL_INIT_APPL' exporting I_DETAILPROTOCOL = P_PROT.
ARCHIVE_GET_CUSTOMIZING_DATA call function 'ARCHIVE_GET_CUSTOMIZING_DATA' exporting OBJECT = 'SD_COND' importing COMMIT_COUNT_FOR_DELETE_PRG = CUST_COMMIT_COUNT.
ARCHIVE_OPEN_FOR_DELETE call function 'ARCHIVE_OPEN_FOR_DELETE' exporting OBJECT = 'SD_COND' TEST_MODE = P_DELTST importing ARCHIVE_HANDLE = G_HANDLE exceptions FILE_ALREADY_OPEN = 01.
ARCHIVE_GET_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' exporting ARCHIVE_HANDLE = G_HANDLE exceptions END_OF_FILE = 01.
ARCHIVE_DELETE_OBJECT_DATA call function 'ARCHIVE_DELETE_OBJECT_DATA' exporting ARCHIVE_HANDLE = G_HANDLE.
ARCHIVE_GET_NEXT_RECORD call function 'ARCHIVE_GET_NEXT_RECORD' exporting ARCHIVE_HANDLE = G_HANDLE importing RECORD_FLAGS = L_FLAGS RECORD_STRUCTURE = L_STRUCTURE RECORD_REF = L_RECORD exceptions END_OF_OBJECT = 01.
PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' exporting I_TEXT = TEXT-002 I_MSGV1 = G_PROCESSED I_PROCESSED = G_PROCESSED.
ARCHIVE_PROTOCOL_COLLECT_APPL call function 'ARCHIVE_PROTOCOL_COLLECT_APPL' exporting I_OBJECT =
-KNUMH I_MSGTYPE = '01' I_TEXT = TEXT-001.
PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' exporting I_TEXT = TEXT-002 I_MSGV1 = G_PROCESSED I_PROCESSED = G_PROCESSED I_OUTPUT_IMMEDIATELY = 'X'.
ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting ARCHIVE_HANDLE = G_HANDLE.
ARCHIVE_PROTOCOL_WRITE_APPL call function 'ARCHIVE_PROTOCOL_WRITE_APPL'.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting ARCHIVE_HANDLE = G_HANDLE.
RV_TABLE_NAME_SET call function 'RV_TABLE_NAME_SET' exporting RT_KOTABNR =
-KOTABNR RT_KVEWE = -KVEWE importing RT_KOTAB = L_KOTAB.
ARCHIVE_GIVE_STATISTICS call function 'ARCHIVE_GIVE_STATISTICS' exporting ARCHIVE_HANDLE = G_HANDLE tables TABLE = ARCH_STAT.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SD_COND_ARCH_DELETE - ADK: Archiving Conditions: Delete Program SD_COND_ARCH_DELETE - ADK: Archiving Conditions: Delete Program SD_COND_ACCESS_GEN - Generate Coding for the Access SD_COND_ACCESS_GEN - Generate Coding for the Access SD_CONDTAB_SWITCH - Condition Tables: Activate/Deactivate SD_CONDTAB_SWITCH - Condition Tables: Activate/Deactivate