SAP Reports / Programs

RWRF_ARC_SITES SAP ABAP Report - Archiving of Department Stores and Shops







RWRF_ARC_SITES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report RWRF_ARC_SITES (transaction WRF_ARC_DEPSHOP) offers simplified archiving of shops or department stores...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 RWRF_ARC_SITES 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

WRF_ARC_DEPSHOP - Archive Department Store/Shop


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 RWRF_ARC_SITES. "Basic submit
SUBMIT RWRF_ARC_SITES AND RETURN. "Return to original report after report execution complete
SUBMIT RWRF_ARC_SITES 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: DEPSHOPX = Department Stores/Shops
Selection Text: X_DETAIL = Detail Log
Selection Text: X_S_DEP = Department Stores
Selection Text: X_S_SHOP = Shops
Selection Text: X_TESTL = Test Run
Title: Archiving of Department Stores and Shops
Text Symbol: 001 = Create Variant
Text Symbol: 002 = Select the variant for archiving
Text Symbol: 003 = Create a new variant for archiving
Text Symbol: 004 = Display Archiving Shops
Text Symbol: 005 = Select Dept Stores or Shops
Text Symbol: 006 = Selection Options
Text Symbol: 007 = Other Parameters
Text Symbol: 008 = Log
Text Symbol: 023 = Check Jobs


INCLUDES used within this REPORT RWRF_ARC_SITES

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:

RS_VARIANT_ADD CALL FUNCTION 'RS_VARIANT_ADD' "#EC * EXPORTING report = 'WS_ACSITE_WRITE' variant = admi_jobs-variant IMPORTING variant = admi_jobs-variant EXCEPTIONS illegal_variant_name = 01 not_authorized = 02 not_executed = 03 no_report = 04 report_not_existent = 05 report_not_supplied = 06 variant_exists = 07 variant_locked = 08 variant_not_supplied = 09.

XDA_SCHEDULE_JOB CALL FUNCTION 'XDA_SCHEDULE_JOB' EXPORTING object = 'WS_ACSITE' jobtype = 'WRI' variant = C_VARIANT user = sy-uname delete_failed_job = 'X' IMPORTING jobname = lf_jobname jobcount = lf_jobcount TABLES FILES_TO_BE_READ = lt_archive EXCEPTIONS object_not_found = 1 job_not_created = 2 no_such_variant = 3 input_inconsistent = 4 jobtype_not_supported = 5 not_authorized = 6 no_such_unlocked_user = 7 OTHERS = 8.

XDA_SCHEDULE_JOB CALL FUNCTION 'XDA_SCHEDULE_JOB' EXPORTING object = 'FI_ACCRECV' jobtype = 'WRI' variant = C_VARIANT user = sy-uname delete_failed_job = 'X' IMPORTING jobname = lf_jobname EXCEPTIONS object_not_found = 1 job_not_created = 2 no_such_variant = 3 input_inconsistent = 4 jobtype_not_supported = 5 not_authorized = 6 no_such_unlocked_user = 7 OTHERS = 8.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = job_tab-jobcount job_read_jobname = job_tab-jobname job_read_opcode = 19 " btc_read_jobhead_only IMPORTING job_read_jobhead = lv_job EXCEPTIONS job_doesnt_exist = 1 job_doesnt_have_steps = 2 OTHERS = 3.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = job_rtab-jobcount job_read_jobname = job_rtab-jobname job_read_opcode = 19 " btc_read_jobhead_only IMPORTING job_read_jobhead = lv_job EXCEPTIONS job_doesnt_exist = 1 job_doesnt_have_steps = 2 OTHERS = 3.

BP_JOB_MANAGEMENT CALL FUNCTION 'BP_JOB_MANAGEMENT' EXPORTING jobselect_dialog = 'N' " btc_no joblist_opcode = 21 " btc_joblist_edit TABLES joblist = existjoblist EXCEPTIONS refresh_list_required = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = succ text = p_text.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = succ text = p_text.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = succ text = p_text.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = succ text = p_text.

RS_CREATE_VARIANT CALL FUNCTION 'RS_CREATE_VARIANT' EXPORTING curr_report = p_report curr_variant = p_variant vari_desc = l_variant_desc TABLES vari_contents = l_variant_contents vari_text = l_variant_text vscreens = l_vscreens EXCEPTIONS illegal_report_or_variant = 1 illegal_variantname = 2 not_authorized = 3 not_executed = 4 report_not_existent = 5 report_not_supplied = 6 variant_exists = 7 variant_locked = 8 OTHERS = 9.

RS_CHANGE_CREATED_VARIANT CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT' EXPORTING CURR_REPORT = p_report CURR_VARIANT = p_variant VARI_DESC = l_variant_desc * ONLY_CONTENTS = TABLES VARI_CONTENTS = l_variant_contents * VARI_TEXT = l_variant_text * VARI_SEL_DESC = l_vscreens * OBJECTS = EXCEPTIONS ILLEGAL_REPORT_OR_VARIANT = 1 ILLEGAL_VARIANTNAME = 2 NOT_AUTHORIZED = 3 NOT_EXECUTED = 4 REPORT_NOT_EXISTENT = 5 REPORT_NOT_SUPPLIED = 6 VARIANT_DOESNT_EXIST = 7 VARIANT_LOCKED = 8 SELECTIONS_NO_MATCH = 9 OTHERS = 10 .

ARCHIVE_PROTOCOLS_DISPLAY CALL FUNCTION 'ARCHIVE_PROTOCOLS_DISPLAY' EXPORTING I_ARCH_OBJECT = lt_obj_tab .



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