SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Activation Program, Conversion Program, DB Utility, MC, SPDD(BC-DWB-DIC-AC) SAP BC

RUTMSJOB SAP ABAP Report - Dictionary check tool: Schedule, display, clean up







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


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 RUTMSJOB. "Basic submit
SUBMIT RUTMSJOB AND RETURN. "Return to original report after report execution complete
SUBMIT RUTMSJOB VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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





Text Symbol: S08 = Cleanup by activation
Text Symbol: S07 = Only obj. list
Text Symbol: S06 = Start cleanup
Text Symbol: S05 = object list
Text Symbol: S04 = or only create the
Text Symbol: S03 = Start the clean up at once
Text Symbol: S02 = list &
Text Symbol: S01 = The objects are placed in object
Text Symbol: D52 = Correct DDTYPES entries
Text Symbol: D51 = Check DDTYPES entries
Text Symbol: D42 = Compon. separation
Text Symbol: D41 = Check activation
Text Symbol: D32 = Reactivate partially active objects
Text Symbol: D31 = Find part. active objects
Text Symbol: 201 = Specify MLP user
Text Symbol: 060 = The following jobs have been newly scheduled:
Text Symbol: 056 = Period.
Text Symbol: 055 = Status ;;
Text Symbol: 054 = Time
Text Symbol: 053 = Date
Text Symbol: 052 = Prog. name
Text Symbol: 051 = Job name
Text Symbol: 050 = Job overview
Text Symbol: 039 = - Serious errors:
Text Symbol: 038 = - No messages in log
Text Symbol: 037 = - Info. messages:
Text Symbol: 036 = - Warning messges:
Text Symbol: 035 = - Error messages:
Text Symbol: 031 = Comparison
Text Symbol: 030 = Log
Text Symbol: 027 = No parallel processing for these settings
Text Symbol: 025 = Define percent. only betw. 0 and 100
Text Symbol: 021 = Overlaps
Text Symbol: 020 = Invalid entry
Text Symbol: 015 = Ready
Text Symbol: 014 = Canceled
Text Symbol: 013 = Scheduled
Text Symbol: 012 = Completed
Text Symbol: 011 = Active





Text Symbol: 010 = Released
Text Symbol: 002 = Overview of $
Text Symbol: 133 = does not belong to this check run
Text Symbol: 132 = does not exist
Text Symbol: 131 = Obj. list
Text Symbol: 130 = Find Logs
Text Symbol: 128 = Saved and activation started
Text Symbol: 127 = saved
Text Symbol: 126 = Function is only allowed for user DDIC
Text Symbol: 125 = Object list
Text Symbol: 124 = Object list generated from RUTMSJOB
Text Symbol: 122 = Overwrite
Text Symbol: 120 = Object list already exists
Text Symbol: 119 = No fields to be cleaned up found
Text Symbol: 117 = Start date in the past
Text Symbol: 116 = Clean-up is not available for this check
Text Symbol: 115 = Start time in the past
Text Symbol: 114 = Last complete run is missing
Text Symbol: 113 = Function only available for test run
Text Symbol: 111 = Position cursor on test run
Text Symbol: 110 = Specify the name of the object list
Text Symbol: 109 = Function not supported for test activation
Text Symbol: 108 = Last complete run is missing
Text Symbol: 107 = Jobs older than & days marked
Text Symbol: 106 = No jobs exist which are older than & days
Text Symbol: 105 = Position cursor on check run or clean-up
Text Symbol: 071 = Clean-ups
Text Symbol: 070 = Test Runs


INCLUDES used within this REPORT RUTMSJOB

INCLUDE RADBTMAC.


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:

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.



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