SAP Reports / Programs | Knowledge Management | Knowledge Warehouse(KM-KW) SAP KM

RSIWB_REORG_BATCH SAP ABAP Report - Reorganization: Report can be scheduled with RSIWB_REORG







RSIWB_REORG_BATCH 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 RSIWB_REORG_BATCH 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 RSIWB_REORG_BATCH. "Basic submit
SUBMIT RSIWB_REORG_BATCH AND RETURN. "Return to original report after report execution complete
SUBMIT RSIWB_REORG_BATCH 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: DEL = Delete Objects
Selection Text: DEL_REL = Delete Released Objects
Selection Text: JOB = Background Job Name
Selection Text: P_FOLDER = Folders
Selection Text: RELEASE = Release
Title: Reorganization: Report can be scheduled with RSIWB_REORG


INCLUDES used within this REPORT RSIWB_REORG_BATCH

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:

IWB_REORG_FOLDERS CALL FUNCTION 'IWB_REORG_FOLDERS' EXPORTING DELETE_PHIOS = DEL DELETE_RELEASED_PHIOS = DEL_REL JOB_NAME = JOB * jobcount = job_id RELEASE = RELEASE TABLES FOLDERS = FOLDER_TAB EXCEPTIONS RELEASE_INVALID = 1 OTHERS = 2.

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = lv_jobcount jobname = pv_job EXCEPTIONS no_runtime_info = 1 OTHERS = 2.

BP_FIND_JOBS_WITH_PROGRAM CALL FUNCTION 'BP_FIND_JOBS_WITH_PROGRAM' EXPORTING ABAP_PROGRAM_NAME = 'RSIWB_ROLLBACK_BATCH' STATUS = 'R' EXCEPTIONS NO_JOBS_FOUND = 1 OTHERS = 2.

BP_FIND_JOBS_WITH_PROGRAM CALL FUNCTION 'BP_FIND_JOBS_WITH_PROGRAM' EXPORTING ABAP_PROGRAM_NAME = 'RSIWB_FINDEL_BATCH' STATUS = 'R' EXCEPTIONS NO_JOBS_FOUND = 1 OTHERS = 2.

BP_JOB_COPY CALL FUNCTION 'BP_JOB_COPY' EXPORTING dialog = 'N' source_jobcount = iv_jobcount source_jobname = pv_job target_jobname = pv_job IMPORTING new_jobhead = ls_new_jobhead * CHANGING * RET = EXCEPTIONS cant_create_new_job = 1 cant_enq_job = 2 cant_read_sourcedata = 3 invalid_opcode = 4 jobname_missing = 5 job_copy_canceled = 6 no_copy_privilege_given = 7 no_plan_privilege_given = 8 OTHERS = 9.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = cv_jobcount jobname = pv_job sdlstrtdt = lv_date sdlstrttm = lv_time * IMPORTING * JOB_WAS_RELEASED = * CHANGING * RET = EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 invalid_target = 8 OTHERS = 9.



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