SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assortment Maintenance(LO-MD-RA-MT) SAP LO

RWARCH02 SAP ABAP Report - Delete assortment objects







RWARCH02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report program deletes all archived data physically 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 RWARCH02 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

WSR2 - Deletion assortment and listing


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


Text pool values


Selection Text: PA_TEST = Deletion run in test mode
Title: Delete assortment objects
Text Symbol: 072 = Delete Prog.
Text Symbol: 071 = Archiving of Listing Conditions and Modules:
Text Symbol: 064 = Result
Text Symbol: 063 = error
Text Symbol: 062 = Information
Text Symbol: 061 = Archiving of Listing Conditions and Modules
Text Symbol: 026 = Option
Text Symbol: 025 = Program RWARCH02 starts at:
Text Symbol: 024 = AG
Text Symbol: 023 = IG
Text Symbol: 022 = Generic material
Text Symbol: 021 = MT
Text Symbol: 020 = Promotion
Text Symbol: 018 = Sales unit
Text Symbol: 017 = Material group
Text Symbol: 016 = Created
Text Symbol: 015 = A
Text Symbol: 014 = Module name
Text Symbol: 013 = Assortment
Text Symbol: 012 = To
Text Symbol: 011 = From
Text Symbol: 010 = Material
Text Symbol: 009 = Module
Text Symbol: 008 = Deleted module names:
Text Symbol: 007 = Deleted module item records:
Text Symbol: 006 = Deleted module header records:
Text Symbol: 005 = Deleted listing conditions:
Text Symbol: 004 = Deleted Assignments: Module to Assortment:
Text Symbol: 001 = Archiving of listing conditions and modules: deletion program


INCLUDES used within this REPORT RWARCH02

INCLUDE RWARCHTP.


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_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = con_wlk_arch IMPORTING commit_count_for_delete_prg = gd_max_del.

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING object = con_wlk_arch test_mode = pa_test IMPORTING archive_handle = handle_lk EXCEPTIONS no_files_available = 01.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle_lk.



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