SAP Reports / Programs

RAIRARDE SAP ABAP Report - Program ARCHIV_DELETE (Deletion of archived approp. requests)







RAIRARDE 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 RAIRARDE into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RAIRARDE. "Basic submit
SUBMIT RAIRARDE AND RETURN. "Return to original report after report execution complete
SUBMIT RAIRARDE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Program ARCHIV_DELETE (Deletion of archived approp. requests)


INCLUDES used within this REPORT RAIRARDE

INCLUDE RAD_TABLES.
INCLUDE RAD_DATA.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING * ARCHIVE_NAME = ' ' OBJECT = 'APPREQUEST' TEST_MODE = P_TEST * AINDFLAG = 'X' IMPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE TABLES SELECTED_FILES = SELECT_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 = 'APPREQUEST' IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = COMMCNT MAINTAIN_INDEX = INDEX EXCEPTIONS OBJECT_NOT_FOUND = 1 OTHERS = 2 .

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE IMPORTING OBJECT_ID = OBJECT_ID OBJECT_OFFSET = OFFSET ARCHIVE_NAME = ARKEY * 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 = ARCHIVE_HANDLE GET_REAL_STRUCTURE_NAME = 'X' AUTOMATIC_CONVERSION = 'X' IMPORTING RECORD_REF = RECORD_REF * record_cursor = * RECORD_FLAGS = RECORD_STRUCTURE = ARC_BUFFER-RNAME * RECORD_LENGTH = 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 = ARCHIVE_HANDLE * EXCEPTIONS * INTERNAL_ERROR = 1 * WRONG_ACCESS_TO_ARCHIVE = 2 * OTHERS = 3 .

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_HANDLE * EXCEPTIONS * INTERNAL_ERROR = 1 * WRONG_ACCESS_TO_ARCHIVE = 2 * OTHERS = 3 .

ARCHIVE_ADMIN_SET_STATUS CALL FUNCTION 'ARCHIVE_ADMIN_SET_STATUS' EXPORTING FILES_ARE_CONVERTED = ' ' INDEX_CREATED = 'X' TABLES ARCHIVE_FILES = ARCHIVE_FILES * EXCEPTIONS * cannot_change_status = 1 * OTHERS = 2 .

AIA_ECP_DELETE CALL FUNCTION 'AIA_ECP_DELETE' EXPORTING IS_IMAK = is_imak IS_IMAV = is_imav is_tka01 = ls_tka01 I_DARK = 'X' EXCEPTIONS USER_CANCEL = 1 ERROR = 2 OTHERS = 3 .

AIA_ECP_SAVE_TO_DB CALL FUNCTION 'AIA_ECP_SAVE_TO_DB' EXCEPTIONS FAILED = 1 OTHERS = 2 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RAIRARDE or its description.