RWMFAAD1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RWMFAAD1 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_PROT = Create Log
Selection Text: TESTRUN = Deletion program in test mode
Title: Archiving-Deletion Program for Archiving Object W_MARKDOWN
Text Symbol: 017 = Durat:
Text Symbol: 016 = End of deletion program:
Text Symbol: 015 = Spec. for program run
Text Symbol: 014 = SAP Release:
Text Symbol: 013 = SAP System:
Text Symbol: 012 = Created on:
Text Symbol: 011 = Archive file
Text Symbol: 010 = Data for archive file
Text Symbol: 009 = Deletion program had to be terminated
Text Symbol: 008 = Error when opening the archive file
Text Symbol: 007 = No active archiving session number was selected
Text Symbol: 006 = Start deletion program:
Text Symbol: 005 = Program run with deletion in the database
Text Symbol: 004 = Test run, no deletion in the database
Text Symbol: 003 = Delete:
Text Symbol: 002 = Archiving Log for Markdown Plans (Deletion Program)
Text Symbol: 001 = Options
Text Symbol: 018 = Archive Cont.
Text Symbol: 032 = Deleted Table Entries in WMFL (Price Lists):
Text Symbol: 031 = Number of Table Entries in WMFL (Price Lists):
Text Symbol: 030 = End of Archiving Log for Markdown Plans (Deletion Program)
Text Symbol: 029 = Deleted Table Entries in WMFU (Price Phases):
Text Symbol: 028 = Deleted Table Entries in WMFP (Item Data):
Text Symbol: 027 = Deleted Table Entries in WMFF (Stores):
Text Symbol: 026 = Deleted Table Entries in WMFHT (Description):
Text Symbol: 025 = Deleted Table Entries in WMFH (Header Data):
Text Symbol: 024 = Successful Database Deletions
Text Symbol: 023 = No. of Table Entries in WMFU (Price Phases):
Text Symbol: 022 = Number of Table Entries in WMFP (Item Data):
Text Symbol: 021 = Number of Table Entries in WMFF (Stores):
Text Symbol: 020 = Number of Table Entries in WMFHT (Description):
Text Symbol: 019 = No. of Table Entries in WMFH (Header Data):
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING * ARCHIVE_NAME = ' ' OBJECT = C_ARCH_OBJECT TEST_MODE = TESTRUN * AINDFLAG = 'X' IMPORTING ARCHIVE_HANDLE = L_ARCH_HANDLE * TABLES * SELECTED_FILES = EXCEPTIONS FILE_ALREADY_OPEN = 1 FILE_IO_ERROR = 2 INTERNAL_ERROR = 3 NO_FILES_AVAILABLE = 4 OBJECT_NOT_FOUND = 5 OPEN_ERROR = 6 NOT_AUTHORIZED = 7 OTHERS = 8.
ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING OBJECT = C_ARCH_OBJECT IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = COMMCNT * MAINTAIN_INDEX = * EXCEPTIONS * OBJECT_NOT_FOUND = 1 * OTHERS = 2 .
ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = L_ARCH_HANDLE * IMPORTING * OBJECT_ID = * OBJECT_OFFSET = * ARCHIVE_NAME = * COMPR_OBJECT_LENGTH = EXCEPTIONS END_OF_FILE = 1 * FILE_IO_ERROR = 2 * INTERNAL_ERROR = 3 * OPEN_ERROR = 4 * WRONG_ACCESS_TO_ARCHIVE = 5 * OTHERS = 6 .
ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = L_ARCH_HANDLE * GET_REAL_STRUCTURE_NAME = 'X' * AUTOMATIC_CONVERSION = 'X' IMPORTING * RECORD = L_RECORD * RECORD_CURSOR = * RECORD_FLAGS = RECORD_STRUCTURE = L_RSTRUCT * RECORD_LENGTH = RECORD_REF = L_RECORD_REF EXCEPTIONS END_OF_OBJECT = 1 * INTERNAL_ERROR = 2 * WRONG_ACCESS_TO_ARCHIVE = 3 * OTHERS = 4 .
ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING ARCHIVE_HANDLE = L_ARCH_HANDLE * EXCEPTIONS * INTERNAL_ERROR = 1 * WRONG_ACCESS_TO_ARCHIVE = 2 * OTHERS = 3 .
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = L_ARCH_HANDLE * EXCEPTIONS * INTERNAL_ERROR = 1 * WRONG_ACCESS_TO_ARCHIVE = 2 * OTHERS = 3 .
ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING ARCHIVE_HANDLE = P_ARCH_HANDLE IMPORTING ARCHIVE_CREATION_DATE = DATE ARCHIVE_CREATION_RELEASE = RELEASE ARCHIVE_CREATION_SYSTEM = SYSTEM * ARCHIVE_DOCUMENT = ARCHIVE_NAME = NAME * OBJECT = * ARCHIVE_CODE_PAGE = * ARCHIVE_NUMBER_FORMAT = * ADK_VERSION = * TABLES * USED_CLASSES = EXCEPTIONS INTERNAL_ERROR = 1 WRONG_ACCESS_TO_ARCHIVE = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RWMFAAD1 - Archiving-Deletion Program for Archiving Object W_MARKDOWN RWMFAAD1 - Archiving-Deletion Program for Archiving Object W_MARKDOWN RWMFA300 - Markdown Plan Evaluation RWMFA300 - Markdown Plan Evaluation RWMFA210 - Markdown Plan Price Calculation Test RWMFA210 - Markdown Plan Price Calculation Test