SAP Reports / Programs

RSIRRLOC SAP ABAP Report - KPro: Relocation manager







RSIRRLOC 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 RSIRRLOC 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 RSIRRLOC. "Basic submit
SUBMIT RSIRRLOC AND RETURN. "Return to original report after report execution complete
SUBMIT RSIRRLOC 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: P_TIMDAT = Creation time stamp
Selection Text: P_STATE = Relocation status
Selection Text: P_FAULTY = only incorrect orders
Selection Text: P_DSTREP = Target Repository
Selection Text: P_DSTCAT = Target category
Title: KPro: Relocation manager
Text Symbol: 035 = No Relocation Requests Selected
Text Symbol: 034 = Prtctn
Text Symbol: 033 = Changed at
Text Symbol: 032 = Changed by
Text Symbol: 031 = Created by
Text Symbol: 030 = Components of selected relocations
Text Symbol: 029 = All components
Text Symbol: 028 = Are you sure you want to delete the selected source document?
Text Symbol: 027 = No
Text Symbol: 026 = Yes
Text Symbol: 025 = Are you sure you want to delete the selected relocation orders?
Text Symbol: 024 = Relocation
Text Symbol: 023 = Target
Text Symbol: 022 = Error
Text Symbol: 021 = Status
Text Symbol: 020 = Format
Text Symbol: 018 = File name
Text Symbol: 017 = Language
Text Symbol: 016 = Document
Text Symbol: 015 = Class
Text Symbol: 014 = Source categorie:
Text Symbol: 013 = Unaccepted documents:
Text Symbol: 012 = Companz.
Text Symbol: 011 = Error ID
Text Symbol: 010 = Target Repository
Text Symbol: 009 = Target category
Text Symbol: 008 = Status
Text Symbol: 007 = Created at
Text Symbol: 006 = Description
Text Symbol: 005 = Block
Text Symbol: 004 = Local time:
Text Symbol: 003 = Local date:





Text Symbol: 002 = System:
Text Symbol: 001 = SAP Knowledge Provider: Relocation management


INCLUDES used within this REPORT RSIRRLOC

INCLUDE LBTCHDEF.


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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING * TITLEBAR = ' ' * DIAGNOSE_OBJECT = ' ' text_question = 'markierte Relokationsaufträge wirklich löschen ?'(025) text_button_1 = 'Ja'(026) text_button_2 = 'Nein'(027) IMPORTING answer = answer.

SDOK_PERSISTENT_RELOC_EXECUTE CALL FUNCTION 'SDOK_PERSISTENT_RELOC_EXECUTE' EXPORTING reloc_id = object_list-reloc_id block_num = object_list-block_num IMPORTING state = object_list-state x_faulty = object_list-x_faulty.

SDOK_PERSISTENT_RELOC_COPY CALL FUNCTION 'SDOK_PERSISTENT_RELOC_COPY' EXPORTING reloc_id = object_list-reloc_id block_num = object_list-block_num IMPORTING state = object_list-state x_faulty = object_list-x_faulty.

SDOK_PERSISTENT_RELOC_ACTIVATE CALL FUNCTION 'SDOK_PERSISTENT_RELOC_ACTIVATE' EXPORTING reloc_id = object_list-reloc_id block_num = object_list-block_num IMPORTING state = object_list-state x_faulty = object_list-x_faulty.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING * TITLEBAR = ' ' * DIAGNOSE_OBJECT = ' ' text_question = 'markierte Quelldokumente wirklich löschen ?'(028) text_button_1 = 'Ja'(026) text_button_2 = 'Nein'(027) IMPORTING answer = answer.

SDOK_PERSISTENT_RELOC_DELETE CALL FUNCTION 'SDOK_PERSISTENT_RELOC_DELETE' EXPORTING reloc_id = object_list-reloc_id block_num = object_list-block_num IMPORTING state = object_list-state x_faulty = object_list-x_faulty.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_yes stdt_input = stdt_input stdt_opcode = btc_edit_startdate IMPORTING stdt_modify_type = stdt_modify_type stdt_output = stdt_output EXCEPTIONS * FCAL_ID_NOT_DEFINED = 1 * INCOMPLETE_LAST_STARTDATE = 2 * INCOMPLETE_STARTDATE = 3 * INVALID_DIALOG_TYPE = 4 * INVALID_EVENTID = 5 * INVALID_OPCODE = 6 * INVALID_OPMODE_NAME = 7 * INVALID_PERIODBEHAVIOUR = 8 * INVALID_PREDECESSOR_JOBNAME = 9 * LAST_STARTDATE_IN_THE_PAST = 10 * NO_PERIOD_DATA_GIVEN = 11 * NO_STARTDATE_GIVEN = 12 * PERIOD_AND_PREDJOB_NO_WAY = 13 * PERIOD_TOO_SMALL_FOR_LIMIT = 14 * PREDECESSOR_JOBNAME_NOT_UNIQUE = 15 * STARTDATE_INTERVAL_TOO_LARGE = 16 * STARTDATE_IN_THE_PAST = 17 * STARTDATE_IS_A_HOLIDAY = 18 * STARTDATE_OUT_OF_FCAL_RANGE = 19 * STDT_BEFORE_HOLIDAY_IN_PAST = 20 * UNKNOWN_FCAL_ERROR_OCCURED = 21 * NO_WORKDAY_NR_GIVEN = 22 * INVALID_WORKDAY_COUNTDIR = 23 * INVALID_WORKDAY_NR = 24 * NOTBEFORE_STDT_MISSING = 25 * WORKDAY_STARTTIME_MISSING = 26 * NO_EVENTID_GIVEN = 27 OTHERS = 28.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING * DELANFREP = ' ' * JOBGROUP = ' ' jobname = jobname IMPORTING jobcount = jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' at_opmode_periodic = stdt_output-periodic calendar_id = stdt_output-calendarid event_id = stdt_output-eventid event_param = stdt_output-eventparm event_periodic = stdt_output-periodic jobcount = jobcount jobname = jobname laststrtdt = stdt_output-laststrtdt laststrttm = stdt_output-laststrttm prddays = stdt_output-prddays prdhours = stdt_output-prdhours prdmins = stdt_output-prdmins prdmonths = stdt_output-prdmonths prdweeks = stdt_output-prdweeks predjob_checkstat = stdt_output-checkstat pred_jobcount = stdt_output-predjobcnt pred_jobname = stdt_output-predjob sdlstrtdt = stdt_output-sdlstrtdt sdlstrttm = stdt_output-sdlstrttm startdate_restriction = stdt_output-prdbehav strtimmed = strtimmed targetsystem = stdt_output-instname start_on_workday_not_before = stdt_output-notbefore start_on_workday_nr = stdt_output-wdayno workday_count_direction = stdt_output-wdaycdir * RECIPIENT_OBJ = * TARGETSERVER = ' ' * DONT_RELEASE = ' ' IMPORTING job_was_released = job_released EXCEPTIONS * CANT_START_IMMEDIATE = 1 * INVALID_STARTDATE = 2 * JOBNAME_MISSING = 3 * JOB_CLOSE_FAILED = 4 * JOB_NOSTEPS = 5 * JOB_NOTEX = 6 * LOCK_FAILED = 7 OTHERS = 8 .

SDOK_RELOC_BY_PHIOS_INIT CALL FUNCTION 'SDOK_RELOC_BY_PHIOS_INIT' * EXPORTING * DEST_CATEGORY = * DEST_REPOSITORY = TABLES object_list = selected_objects[] component_info = component_info * BAD_OBJECTS = EXCEPTIONS MISSING_DESTINATION = 1 BAD_STOR_CAT = 2 BAD_STOR_REP = 3 INCOMPLETE_LIST = 4 OTHERS = 5 .

SDOK_PERSISTENT_RELOC_CREATE CALL FUNCTION 'SDOK_PERSISTENT_RELOC_CREATE' EXPORTING descript = 'description' * DEST_CAT = * DEST_REP = TABLES component_info = component_info bad_objects = bad_objects CHANGING reloc_id = reloc_id block_num = block_num EXCEPTIONS DUPLICATE_KEY = 1 OTHERS = 2 .



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