SAP Reports / Programs

RWVKUAD1 SAP ABAP Report - Archiving: deletion prgram for object W_VKAB (retail revaluation docs)







RWVKUAD1 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 RWVKUAD1 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 RWVKUAD1. "Basic submit
SUBMIT RWVKUAD1 AND RETURN. "Return to original report after report execution complete
SUBMIT RWVKUAD1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Archiving: deletion prgram for object W_VKAB (retail revaluation docs)
Text Symbol: 210 = Error when opening the archive file
Text Symbol: 200 = No active archive key exists
Text Symbol: 133 = Duration:
Text Symbol: 132 = Data for archive file:
Text Symbol: 131 = SAP release:
Text Symbol: 130 = SAP system:
Text Symbol: 122 = Deleted table entries in USEG (retail revaluation docs item):
Text Symbol: 121 = Deleted table entries in UKPF (retail revaluation docs header):
Text Symbol: 112 = Number of table entries in USEG (retail revaluation docs item):
Text Symbol: 111 = Number of table entries in UKPF (retail revaluation docs header):
Text Symbol: 110 = Deletion program had to be terminated
Text Symbol: 109 = End log for deletion program
Text Symbol: 107 = Program run with deletion in the database
Text Symbol: 106 = Test run, no deletion in the database
Text Symbol: 104 = Created on
Text Symbol: 103 = Archive file:
Text Symbol: 102 = End of deletion program:
Text Symbol: 101 = Start deletion program:
Text Symbol: 100 = Log for archiving (deletion program)
Text Symbol: 099 = ********************************************************************************************
Text Symbol: 014 = Successful DB deletions:
Text Symbol: 013 = Archive contents:
Text Symbol: 012 = Specifications for program run
Text Symbol: 011 = Delete:
Text Symbol: 010 = Program options
Text Symbol: 003 = Create log
Text Symbol: 002 = Test run, data not deleted
Text Symbol: 001 = Parameters for program flow


INCLUDES used within this REPORT RWVKUAD1

No INCLUDES are used within this REPORT code!


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_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = ARCH_HANDLE EXCEPTIONS END_OF_FILE = 01.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = ARCH_HANDLE IMPORTING * RECORD = RECORD RECORD_REF = RECORD_REF RECORD_FLAGS = DFLAG RECORD_STRUCTURE = RSTRUCT EXCEPTIONS END_OF_OBJECT = 01 OTHERS = 02.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = arch_handle.

ARCHIVE_GIVE_STATISTICS CALL FUNCTION 'ARCHIVE_GIVE_STATISTICS' EXPORTING archive_handle = arch_handle TABLES table = lt_statistics.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = PI_HANDLE.

ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING ARCHIVE_HANDLE = PI_HANDLE.

ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING OBJECT = ARCH_OBJECT IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = PE_COMMCNT.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING ARCHIVE_HANDLE = PI_HANDLE IMPORTING ARCHIVE_CREATION_DATE = DATE ARCHIVE_CREATION_RELEASE = RELEASE ARCHIVE_CREATION_SYSTEM = SYSTEM ARCHIVE_NAME = NAME OBJECT = OBJECT EXCEPTIONS INTERNAL_ERROR = 01 WRONG_ACCESS_TO_ARCHIVE = 02.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = PI_HANDLE EXCEPTIONS END_OF_FILE = 01 OPEN_ERROR = 02.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = PI_HANDLE IMPORTING RECORD = PE_RECORD RECORD_FLAGS = PE_FLAG RECORD_STRUCTURE = PE_STRUCTURE EXCEPTIONS END_OF_OBJECT = 01 INTERNAL_ERROR = 02 WRONG_ACCESS_TO_ARCHIVE = 03.

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING * archive_name = pi_archive OBJECT = 'W_VKAB' TEST_MODE = PI_TEST IMPORTING ARCHIVE_HANDLE = PE_HANDLE EXCEPTIONS FILE_IO_ERROR = 01 OBJECT_NOT_FOUND = 02 OPEN_ERROR = 03 NO_FILES_AVAILABLE = 04 OTHERS = 05.

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING * archive_document = pi_document OBJECT = 'W_VKAB' IMPORTING ARCHIVE_HANDLE = PE_HANDLE EXCEPTIONS FILE_IO_ERROR = 01 OBJECT_NOT_FOUND = 02 OPEN_ERROR = 03 NO_FILES_AVAILABLE = 04 OTHERS = 05.



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 RWVKUAD1 or its description.