RUTMSJOB is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With this transaction various checks on the consistency of the ABAP Dictionary can be carried out...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 RUTMSJOB into the relevant SAP transactions such as SE38 or SE80
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.
Title: Dictionary check tool: Schedule, display, clean up
Text Symbol: D22 = Activate new/revised objects
Text Symbol: D21 = Find new/revised objects
Text Symbol: D20 = Reactivate inconsistsent runtime objects of STRU
Text Symbol: D19 = Compare ABAP Dictionary with runtime object (VI/SH)
Text Symbol: D17 = Clean up inconsistent database objects
Text Symbol: D16 = Reactivate inconsistent runtime objects of TTYP
Text Symbol: D15 = Reactivate inconsistent runtime objects of DTEL
Text Symbol: D14 = Compare ABAP Dictionary with runtime object (TTYP)
Text Symbol: D13 = Compare ABAP Dictionary with runtime object (DTL/TTYP)
Text Symbol: D12 = Reactivate inconsistent runtime objects of TB/SQLT
Text Symbol: D10 = Compare ABAP Dictionary with runtime object (TB/SQLT)
Text Symbol: D09 = Compare ABAP Dictionary with runtime object (STRU)
Text Symbol: D08 = Reactivate inconsistent runtime objects
Text Symbol: D07 = Compare ABAP Dictionary with runtime object
Text Symbol: D01 = Compare ABAP Dictionary with database
Text Symbol: 504 = Parallel execution with &1 process.
Text Symbol: 503 = No parallel execution
Text Symbol: 502 = Change settings?
Text Symbol: 501 = No parallel execution for current setting.
Text Symbol: 301 = All specified checks already successfully performed
Text Symbol: 288 = in expert mode
Text Symbol: 207 = Mail could not be sent
Text Symbol: 206 = Mail sent to user &
Text Symbol: 203 = (TA SM59)
Text Symbol: 202 = Destination & not known
Text Symbol: D23 = Reactivate inconsistent runtime objects of VI/SH
Text Symbol: T23 = Start cleanup
Text Symbol: T22 = Activate Object List
Text Symbol: T12 = Reference log from &SYS& from &DATE&
Text Symbol: T11 = from &DATE& has been cancelled or is still running
Text Symbol: T10 = Run for Packages &DEVC& - &DEVC&
Text Symbol: T06 = Caution: Last run is older than one week!
Text Symbol: T05 = Test runs from &DATE& to &DATE&
Text Symbol: T04 = Last complete run: &DATE&.
Text Symbol: T03 = Penultimate complete run: &DATE&
Text Symbol: T02 = Run of &DATE& terminated or is still running
Text Symbol: T01 = No check logs exist
INCLUDE RADBTMAC.
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_SET_FUNCTIONCODE CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE' EXPORTING functioncode = strtcode EXCEPTIONS OTHERS = 0.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = 'Keine Parallelausführung bei jetziger Einstellung.'(501)
RFC_PING CALL FUNCTION 'RFC_PING' DESTINATION dest EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text.
DD_RUTMSJOB CALL FUNCTION 'DD_RUTMSJOB' DESTINATION dest EXPORTING start_fcode = startcode EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text.
DATE_COMPUTE_DAY CALL FUNCTION 'DATE_COMPUTE_DAY' EXPORTING date = cur_date IMPORTING day = curday.
BP_FIND_JOBS_WITH_PROGRAM CALL FUNCTION 'BP_FIND_JOBS_WITH_PROGRAM' EXPORTING abap_program_name = proglist-prog dialog = 'N' TABLES joblist = joblist_z EXCEPTIONS OTHERS = 0.
BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = 'N' jobsel_param_in = jobsel TABLES jobselect_joblist = joblist_z EXCEPTIONS OTHERS = 0.
BP_JOB_MANAGEMENT CALL FUNCTION 'BP_JOB_MANAGEMENT' EXPORTING jobselect_dialog = 'N' joblist_opcode = 21 "21 Edit, 22 Display jobsel_param_input = jobsel TABLES joblist = joblist EXCEPTIONS OTHERS = 4.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobgroup = 'A' jobname = jobname IMPORTING jobcount = jobcount.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jobcount jobname = jobname pred_jobcount = jobcount_old pred_jobname = jobname_old " LASTSTRTDT = " NO_DATE " LASTSTRTTM = " NO_TIME prddays = prddays prdweeks = prdweeks sdlstrtdt = strtdate sdlstrttm = strttime strtimmed = strtimmed * IMPORTING * JOB_WAS_RELEASED = * EXCEPTIONS * CANT_START_IMMEDIATE = 01 * INVALID_STARTDATE = 02 * JOBNAME_MISSING = 03 * JOB_CLOSE_FAILED = 04 * JOB_NOSTEPS = 05 * JOB_NOTEX = 06 * LOCK_FAILED = 07.
BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING forcedmode = 'X' jobcount = g_jobcount jobname = g_jobname.
BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING forcedmode = 'X' jobcount = g_jobcount jobname = g_jobname EXCEPTIONS OTHERS = 0.
DOCU_CALL CALL FUNCTION 'DOCU_CALL' "Besser: POPUP_DISPLAY_TEXT EXPORTING displ = 'X' displ_mode = '2' id = 'RE' langu = sy-langu object = 'RUTMSJOB'.
TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING wi_dialog = ' ' wi_trkorr = korrnum wi_sel_e070 = 'X' wi_sel_e071 = 'X' IMPORTING we_e070 = e070_wa TABLES wt_e071 = e071_tab wt_e071k = e071k_tab EXCEPTIONS not_exist_e070 = 1 no_authorization = 2 OTHERS = 3.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING * DEFAULTOPTION = 'Y' textline1 = 'Stückliste überschreiben ?'(122) * TEXTLINE2 = ' ' titel = 'Stückliste existiert bereits'(120) * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = answer EXCEPTIONS OTHERS = 0.
TR_MODIFY_COMM CALL FUNCTION 'TR_MODIFY_COMM' EXPORTING wi_e070 = e070_wa wi_e07t = e07t_wa wi_sel_e071 = 'X' wi_sel_e07t = 'X' TABLES wt_e071 = e071_tab wt_e071k = e071k_tab EXCEPTIONS OTHERS = 25.
TR_MODIFY_COMM CALL FUNCTION 'TR_MODIFY_COMM' EXPORTING wi_e070 = e070_wa wi_e07t = e07t_wa wi_sel_e071 = 'X' wi_sel_e07t = 'X' TABLES wt_e071 = e071_tab EXCEPTIONS OTHERS = 25.
POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING * DEFAULTOPTION = '1' diagnosetext1 = 'Die Objekte werden in die Stückliste'(s01) diagnosetext2 = diagnosetext2 * DIAGNOSETEXT3 = ' ' textline1 = 'Soll die Bereinigung sofort gestartet'(s03) textline2 = 'werden, oder soll die Stückliste'(s04) textline3 = 'nur erzeugt werden'(s05) text_option1 = 'Bereinigung starten'(s06) text_option2 = 'Nur Stückliste'(s07) titel = 'Bereinigung durch Aktivierung'(s08) IMPORTING answer = answer.
DD_INSERT_BATCH_REQUEST CALL FUNCTION 'DD_INSERT_BATCH_REQUEST' EXPORTING function = tbatg_tab-fct id_name = tbatg_tab-indname modeflag = ' ' obj_name = tbatg_tab-tabname obj_type = tbatg_tab-object user = guser IMPORTING subrc = locrc EXCEPTIONS OTHERS = 1.
POPUP_GET_VALUES_USER_BUTTONS CALL FUNCTION 'POPUP_GET_VALUES_USER_BUTTONS' EXPORTING formname = 'CHECK_NAME' programname = progname popup_title = 'Stückliste aktivieren'(t22) ok_pushbuttontext = ' ' icon_ok_push = icon_ok_push quickinfo_ok_push = 'Bereinigung starten'(t23) IMPORTING returncode = returncode TABLES fields = sval_tab.
TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING wi_trkorr = trkorr wi_dialog = ' ' wi_sel_e070 = 'X' wi_sel_e071 = 'X' * IMPORTING * WE_E070 = TABLES wt_e071 = e071_tab EXCEPTIONS not_exist_e070 = 1 no_authorization = 2 OTHERS = 3.
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 RUTMSJOB or its description.
RUTMSJOB - Dictionary check tool: Schedule, display, clean up RUTMSJOB - Dictionary check tool: Schedule, display, clean up RUTMCFRK - Pass on Foreign Key to Matchcode Pool Taable RUTMCFRK - Pass on Foreign Key to Matchcode Pool Taable RUTLENGTHCHK - DD: Length Checks RUTLENGTHCHK - DD: Length Checks