SAP Reports / Programs

RPMREP00 SAP ABAP Report - HR: Scheduler for Parallel and Distributed Reporting







RPMREP00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for HR Scheduler for Parallel and Distributed Reporting The HR Scheduler for Parallel and Distributed Reporting report is used for the flow control of parallel and distributed reporting within Human Resources (HR)...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 RPMREP00 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 RPMREP00. "Basic submit
SUBMIT RPMREP00 AND RETURN. "Return to original report after report execution complete
SUBMIT RPMREP00 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: VARIANT = Variant
Selection Text: RFCDEST = RFC - links
Selection Text: REP_OUT = Use report output
Selection Text: REPORT = Report Name
Selection Text: P_REP_TI = Waiting time for next check
Selection Text: PREP_CNT = No. of repetitions
Selection Text: OUT_REP = Final processing by report
Selection Text: ONLINE = Online processing
Selection Text: NO_SORT = No sort
Selection Text: MODES = No. of sessions
Selection Text: MASTERS = RFC connection
Selection Text: DE_SORT = Sort in descending order
Selection Text: DELAY = Delay time
Selection Text: BATCH = Background processing
Selection Text: AS_SORT = Sort in ascending order
Title: HR: Scheduler for Parallel and Distributed Reporting
Text Symbol: S14 = Main delay
Text Symbol: S13 = Background
Text Symbol: S12 = Online
Text Symbol: S10 = Number of sessions
Text Symbol: S09 = Final processing by report
Text Symbol: S08 = Use report output
Text Symbol: S07 = No. of repetitions
Text Symbol: S06 = Waiting time for next check
Text Symbol: S05 = With variant
Text Symbol: S04 = Report Name
Text Symbol: S03 = Sort Descending
Text Symbol: S02 = Sort in ascend. order
Text Symbol: S01 = No sort
Text Symbol: ONL = Online processing
Text Symbol: E14 = Error
Text Symbol: E13 = Please select a valid variant
Text Symbol: E12 = No parallel reporting for non-PNP reports
Text Symbol: E10 = Job scheduling failed
Text Symbol: 873 = Enter valid print parameters
Text Symbol: 150 = Records processed
Text Symbol: 100 = RFC destination is not available
Text Symbol: 020 = Scheduler output





Text Symbol: 004 = Process options
Text Symbol: 003 = Output options
Text Symbol: 002 = Systems to be edited
Text Symbol: 001 = Report to be executed


INCLUDES used within this REPORT RPMREP00

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:

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING EVENTID = EVENTID EVENTPARM = EVENTPARM EXTERNAL_PROGRAM_ACTIVE = EXTERNAL_PROGRAM_ACTIVE JOBCOUNT = JOBCOUNT JOBNAME = JOBNAME STEPCOUNT = STEPCOUNT EXCEPTIONS NO_RUNTIME_INFO = 1 OTHERS = 2.

HR_START_BATCHJOB_IN_OTHER_SYS CALL FUNCTION 'HR_START_BATCHJOB_IN_OTHER_SYS' DESTINATION RFCDEST-LOW EXPORTING REPID = REPORT VARIANT = VARIANT JOBNAME = BATCH_JOBNAME_ENTRY CALL_BACK_DEST = MASTERS CALL_BACK_ID = JOBID IMPORTING JOBCOUNT = JOBCOUNT INDX_ID = INDX_ID TABLES VALUTAB = VALUTAB EXCEPTIONS COMMUNICATION_FAILURE = 1 MESSAGE MESS SYSTEM_FAILURE = 2 MESSAGE MESS NO_AUTHORITY = 4 OTHERS = 3.

HR_CHECK_SCHEDULED_TASKS CALL FUNCTION 'HR_CHECK_SCHEDULED_TASKS' IN BACKGROUND TASK EXPORTING MAIN_SYSTEM = MASTERS REPORT_OUTPUT = REPORT_OUTPUT USE_REPORT = REPORT SORT_OPTION = SORT_OPTION SCHEDULE_INDX_ID = SCHEDULE_INDX_ID OUTPUT_REPORT = OUT_REP MAIN_REQUEST = MAIN_REQUEST VARIANT = VARIANT REPEAT_TIME = REP_TIME REPEAT_COUNT = REP_CNT print_params = print_params TABLES PROZESSED_SYSTEMS = PROZESSED_SYSTEMS.

END_TIME_DETERMINE CALL FUNCTION 'END_TIME_DETERMINE' "XJFK018515 EXPORTING DURATION = DELAY UNIT = 'S' * FACTORY_CALENDAR = IMPORTING END_DATE = DATE END_TIME = TIME * CHANGING * START_DATE = SY-DATUM * START_TIME = SY-UZEIT EXCEPTIONS FACTORY_CALENDAR_NOT_FOUND = 1 DATE_OUT_OF_CALENDAR_RANGE = 2 DATE_NOT_VALID = 3 UNIT_CONVERSION_ERROR = 4 SI_UNIT_MISSING = 5 PARAMETERS_NO_VALID = 6 OTHERS = 7.

START_OF_BACKGROUNDTASK CALL FUNCTION 'START_OF_BACKGROUNDTASK' EXPORTING * startdate = sy-datum XJFK018515 STARTDATE = DATE "XJFK018515 STARTTIME = TIME EXCEPTIONS OTHERS = 1.

RS_VARIANT_CONTENTS CALL FUNCTION 'RS_VARIANT_CONTENTS' EXPORTING REPORT = REPORT VARIANT = VARIANT MOVE_OR_WRITE = 'M' * NO_IMPORT = ' ' TABLES L_PARAMS = L_PARAMS L_PARAMS_NONV = L_PARAMS_NONV L_SELOP = L_SELOP L_SELOP_NONV = L_SELOP_NONV VALUTAB = VALUTAB EXCEPTIONS VARIANT_NON_EXISTENT = 1 VARIANT_OBSOLETE = 2 OTHERS = 3.

HR_DETERMINATE_PNR CALL FUNCTION 'HR_DETERMINATE_PNR' DESTINATION RFCDEST TABLES SELECTION_VALUES = VALUTAB PERNRS = PNR EXCEPTIONS COMMUNICATION_FAILURE = 1 MESSAGE MESS SYSTEM_FAILURE = 2 MESSAGE MESS OTHERS = 3.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING REPORT = REPORT VARIANT = VARIANT IMPORTING R_C = RC EXCEPTIONS NOT_AUTHORIZED = 1 NO_REPORT = 2 REPORT_NOT_EXISTENT = 3 REPORT_NOT_SUPPLIED = 4 OTHERS = 5.

RFC_PING CALL FUNCTION 'RFC_PING' DESTINATION RFCDEST-LOW EXCEPTIONS SYSTEM_FAILURE = 1 COMMUNICATION_FAILURE = 1 OTHERS = 1.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' IMPORTING OUT_PARAMETERS = PRINT_PARAMS VALID = PARAMS_VALID EXCEPTIONS ARCHIVE_INFO_NOT_FOUND = 1 INVALID_PRINT_PARAMS = 2 INVALID_ARCHIVE_PARAMS = 3 OTHERS = 4.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING MODE = 'CURRENT' NO_DIALOG = 'X' IMPORTING OUT_PARAMETERS = PRINT_PARAMS EXCEPTIONS OTHERS = 0.

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING EVENTID = EVENTID EVENTPARM = EVENTPARM EXTERNAL_PROGRAM_ACTIVE = EXTERNAL_PROGRAM_ACTIVE JOBCOUNT = JOBCOUNT JOBNAME = JOBNAME STEPCOUNT = STEPCOUNT EXCEPTIONS NO_RUNTIME_INFO = 1 OTHERS = 2.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING BASIC_LIST_TITLE = 'Scheduler Ausgabe'(020) FILE_NAME = 'RPMREP00' HEAD_LINE1 = HEADLINE1 HEAD_LINE2 = HEADLINE2 HEAD_LINE3 = HEADLINE3 HEAD_LINE4 = HEADLINE4 FOOT_NOTE1 = FOOTNOTE1 * FOOT_NOTE2 = FOOTNOTE2 * FOOT_NOTE3 = FOOTNOTE3 * LAY_OUT = 0 * DYN_PUSHBUTTON_TEXT1 = * DYN_PUSHBUTTON_TEXT2 = * DYN_PUSHBUTTON_TEXT3 = * DYN_PUSHBUTTON_TEXT4 = * DYN_PUSHBUTTON_TEXT5 = * DYN_PUSHBUTTON_TEXT6 = * DATA_STRUCTURE = ' ' * CURRENT_REPORT = LIST_LEVEL = '01' * ADDITIONAL_OPTIONS = ' ' * WORD_DOCUMENT = * IMPORTING * RETURN_CODE = TABLES DATA_TAB = TOTAL FIELDNAME_TAB = FIELDNAMES * SELECT_TAB = ERROR_TAB = HR_ERRORTAB_TOTAL EXCEPTIONS DOWNLOAD_PROBLEM = 1 NO_DATA_TAB_ENTRIES = 2 TABLE_MISMATCH = 3 PRINT_PROBLEMS = 4 OTHERS = 5.

HR_SHOW_JOBSTATE CALL FUNCTION 'HR_SHOW_JOBSTATE' DESTINATION PROZESSED_SYSTEMS-SYSTEM EXPORTING JOBCOUNT = PROZESSED_SYSTEMS-JOBCOUNT JOBNAME = PROZESSED_SYSTEMS-JOBNAME IMPORTING ABORTED = ABORTED FINISHED = FINISHED PRELIMINARY = PRELIMINARY READY = READY RUNNING = RUNNING SCHEDULED = SCHEDULE_INDX_ID EXCEPTIONS JOBCOUNT_MISSING = 1 JOBNAME_MISSING = 2 JOB_NOTEX = 3 COMMUNICATION_FAILURE = 4 MESSAGE MESS SYSTEM_FAILURE = 5 MESSAGE MESS OTHERS = 6.

HR_JOB_ABORT CALL FUNCTION 'HR_JOB_ABORT' DESTINATION PROZESSED_SYSTEMS-SYSTEM EXPORTING JOBCOUNT = PROZESSED_SYSTEMS-JOBCOUNT JOBNAME = PROZESSED_SYSTEMS-JOBNAME EXCEPTIONS CHECKING_OF_JOB_HAS_FAILED = 1 JOB_ABORT_HAS_FAILED = 2 JOB_DOES_NOT_EXIST = 3 JOB_IS_NOT_ACTIVE = 4 NO_ABORT_PRIVILEGE_GIVEN = 5 COMMUNICATION_FAILURE = 6 MESSAGE MESS SYSTEM_FAILURE = 7 MESSAGE MESS OTHERS = 8.

HR_JOB_DELETE * CALL FUNCTION 'HR_JOB_DELETE' * EXPORTING * FORCEDMODE = ' ' * jobcount = prozessed_systems-jobcount * jobname = prozessed_systems-jobname * EXCEPTIONS * cant_delete_event_entry = 1 * cant_delete_job = 2 * cant_delete_joblog = 3 * cant_delete_steps = 4 * cant_delete_time_entry = 5 * cant_derelease_successor = 6 * cant_enq_predecessor = 7 * cant_enq_successor = 8 * cant_enq_tbtco_entry = 9 * cant_update_predecessor = 10 * cant_update_successor = 11 * commit_failed = 12 * jobcount_missing = 13 * jobname_missing = 14 * job_does_not_exist = 15 * job_is_already_running = 16 * no_delete_authority = 17 * communication_failure = 18 message mess * system_failure = 19 message mess * others = 20.






DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = PROGNAME DYNUMB = SY-DYNNR * TRANSLATE_TO_UPPER = ' ' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' TABLES DYNPFIELDS = DYNPFIELDS EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 INVALID_PARAMETER = 7 UNDEFIND_ERROR = 8 OTHERS = 9.

REPOSITORY_INFO_SYSTEM_F4 CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4' EXPORTING OBJECT_TYPE = 'PROG' OBJECT_NAME = REPORT * ENCLOSING_OBJECT = * suppress_selection = 'X' * VARIANT = ' ' * DISPLAY_FIELD = * MULTIPLE_SELECTION = IMPORTING OBJECT_NAME_SELECTED = REPORT * ENCLOSING_OBJECT_SELECTED = * TABLES * OBJECTS_SELECTED = EXCEPTIONS CANCEL = 1 WRONG_TYPE = 2 OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = PROGNAME DYNUMB = SY-DYNNR * TRANSLATE_TO_UPPER = ' ' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' TABLES DYNPFIELDS = DYNPFIELDS EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 INVALID_PARAMETER = 7 UNDEFIND_ERROR = 8 OTHERS = 9.

F4_REPORT_VARIANT CALL FUNCTION 'F4_REPORT_VARIANT' EXPORTING * OBJECT = '*' PROGRAM = PROGRAM * SUPPRESS_SELECTION = 'X' * DISPLAY_ONLY = IMPORTING RESULT = VARIANT * PROGRAM = EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'RFCDEST' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' VALUE_ORG = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = '' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * MARK_TAB = * IMPORTING * USER_RESET = TABLES value_tab = lt_destinations * FIELD_TAB = return_tab = lt_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

HR_START_REPORT_IN_OTHER_SYS CALL FUNCTION 'HR_START_REPORT_IN_OTHER_SYS' DESTINATION RFCDEST-LOW STARTING NEW TASK TASK * destination in group default PERFORMING GET_DATA ON END OF TASK EXPORTING REPID = REPORT VARIANT = VARIANT TABLES VALUES = VALUTAB DATATAB = DATATAB FIELDNAMES = FIELDNAMES ERRORTAB = HR_ERRORTAB DATEN1 = DATEN1 DATEN2 = DATEN2 DATEN3 = DATEN3 EXCEPTIONS SYSTEM_FAILURE = 1 MESSAGE MESS COMMUNICATION_FAILURE = 2 MESSAGE MESS NO_AUTHORITY = 4 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 RPMREP00 or its description.