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

RWARC012 SAP ABAP Report - Archiving: Deleting Assortment Modules







RWARC012 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report physically deletes all archived data 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 RWARC012 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 RWARC012. "Basic submit
SUBMIT RWARC012 AND RETURN. "Return to original report after report execution complete
SUBMIT RWARC012 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: Archiving: Deleting Assortment Modules
Text Symbol: 026 = Option
Text Symbol: 025 = Program RWARCH02 starts at:
Text Symbol: 024 = AG
Text Symbol: 023 = GM
Text Symbol: 022 = Generic material
Text Symbol: 021 = Module type
Text Symbol: 020 = Promotion
Text Symbol: 018 = Sales unit
Text Symbol: 017 = Material group
Text Symbol: 016 = Created
Text Symbol: 015 = ColPos
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-plant:
Text Symbol: 001 = Archiving of listing conditions and modules: deletion program
Text Symbol: %FS = Selection criteria


INCLUDES used within this REPORT RWARC012

INCLUDE RWA12TOP.


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