SAP Reports / Programs | Logistics - General | Logistics Basic Data | Retail Pricing(LO-MD-RPC) SAP LO

RWVKPAD1 SAP ABAP Report - Archiving: Deletion program for object W_KALK (pricing documents)







RWVKPAD1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This deletion program executes the second step in archiving pricing documents, namely the deletion of archived data on 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 RWVKPAD1 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 RWVKPAD1. "Basic submit
SUBMIT RWVKPAD1 AND RETURN. "Return to original report after report execution complete
SUBMIT RWVKPAD1 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 program for object W_KALK (pricing documents)
Text Symbol: 001 = Parameters for program flow
Text Symbol: 002 = Test run, data not deleted
Text Symbol: 003 = Create log
Text Symbol: 010 = Program options
Text Symbol: 011 = Delete:
Text Symbol: 012 = Specifications for program run
Text Symbol: 013 = Archive contents:
Text Symbol: 014 = Successful DB deletions:
Text Symbol: 099 = ********************************************************************************************
Text Symbol: 100 = Log for archiving (deletion program)
Text Symbol: 101 = Start deletion program:
Text Symbol: 102 = End of deletion program:
Text Symbol: 103 = Archive file:
Text Symbol: 104 = Created on
Text Symbol: 105 = Next data object
Text Symbol: 106 = Test run, no deletion in the database
Text Symbol: 107 = Program run with deletion in the database
Text Symbol: 108 = Selected archive file:
Text Symbol: 109 = End log for deletion program
Text Symbol: 110 = Deletion program had to be terminated
Text Symbol: 111 = Number of table entries in WKBK (Pricing documents header):
Text Symbol: 113 = Number of table entries in WKBP (pricing documents item):
Text Symbol: 210 = Error when opening the archive file
Text Symbol: 200 = No active archive key was selected
Text Symbol: 133 = Duration:
Text Symbol: 132 = Data for archive file:
Text Symbol: 131 = SAP release:
Text Symbol: 130 = SAP system:
Text Symbol: 127 = Deleted table entries in S111 (document indices):
Text Symbol: 126 = Deleted table entries in KONP (conditions item):
Text Symbol: 125 = Deleted table entries in condition tables:
Text Symbol: 124 = Deleted table entries in KONH (header conditions):
Text Symbol: 123 = Deleted table entries in KONV (transaction conditions):
Text Symbol: 122 = Deleted table entries in WKBP (Pricing documents item):
Text Symbol: 121 = Deleted table entries in WKBK (Pricing documents header):
Text Symbol: 120 = Number of table entries in S111 (document indices):
Text Symbol: 119 = Number of table entries in CDPOS (item changes):





Text Symbol: 118 = Number of table entries in CDHDR (header changes):
Text Symbol: 117 = Number table entries in KONP (conditions item):
Text Symbol: 116 = Number table entries in condition tables:
Text Symbol: 115 = Number table entries in KONH (conditions header):
Text Symbol: 114 = Number of table entries in KONV (transaction conditions):


INCLUDES used within this REPORT RWVKPAD1

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_flags = dflag record_structure = rstruct record_ref = buffer_ref exceptions end_of_object = 01 others = 02.

ARCHIVE_DELETE_OBJECT_DATA call function 'ARCHIVE_DELETE_OBJECT_DATA' exporting archive_handle = arch_handle.



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