SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Sets(FI-SL-SL-MD-SE) SAP FI

RG_SET_RW_CLEAN SAP ABAP Report - Delete Old Sets and SAP Delivery Reports







RG_SET_RW_CLEAN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Deletes obsolete Report Writer reports, sets and variables from the SAP delivery...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 RG_SET_RW_CLEAN 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 RG_SET_RW_CLEAN. "Basic submit
SUBMIT RG_SET_RW_CLEAN AND RETURN. "Return to original report after report execution complete
SUBMIT RG_SET_RW_CLEAN 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: TESTRUN = Test run
Title: Delete Old Sets and SAP Delivery Reports


INCLUDES used within this REPORT RG_SET_RW_CLEAN

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:

G_SET_AUTHORITY_CHECK CALL FUNCTION 'G_SET_AUTHORITY_CHECK' EXPORTING actvt = '06' EXCEPTIONS OTHERS = 4.

G_VARIABLE_AUTHORITY_CHECK CALL FUNCTION 'G_VARIABLE_AUTHORITY_CHECK' EXPORTING actvt = '06' EXCEPTIONS OTHERS = 4.

G_LIBRARY_AUTHORITY_CHECK CALL FUNCTION 'G_LIBRARY_AUTHORITY_CHECK' EXPORTING actvt = '06' EXCEPTIONS OTHERS = 4.

TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' TABLES xmsg = g_protocol EXCEPTIONS OTHERS = 0.

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG'.

G_VARIABLE_DELETE CALL FUNCTION 'G_VARIABLE_DELETE' EXPORTING variable = lt802g-global force_deletion = 'X' EXCEPTIONS OTHERS = 4.

G_DELETE_SET CALL FUNCTION 'G_DELETE_SET' EXPORTING no_commit_work = 'X' set = l_setid force_deletion = 'X' EXCEPTIONS OTHERS = 4.

TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING systemname = l_sname systemtype = l_stype EXCEPTIONS OTHERS = 0.



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