PMPS_JOB is a standard ABAP INCLUDE 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 PMPS_JOB 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = p_jobname IMPORTING jobcount = l_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = l_jobcount jobname = p_jobname strtimmed = p_btcstrt-startdttyp "imstrtpos sdlstrtdt = p_btcstrt-sdlstrtdt sdlstrttm = p_btcstrt-sdlstrttm laststrtdt = p_btcstrt-laststrtdt laststrttm = p_btcstrt-laststrttm calendar_id = p_btcstrt-calendarid prdmonths = p_btcstrt-prdmonths prdweeks = p_btcstrt-prdweeks prddays = p_btcstrt-prddays prdhours = p_btcstrt-prdhours * prdmins = p_btcstrt-prdmins * startdate_restriction = p_btcstrt-prdbehav * start_on_workday_not_before = p_btcstrt-notbefore * start_on_workday_nr = p_btcstrt-wdayno * workday_count_direction = p_btcstrt-wdaycdir * event_id = p_btcstrt-eventid * event_param = p_btcstrt-eventparm * event_periodic = p_btcstrt-periodic * predjob_checkstat = p_btcstrt-checkstat * pred_jobcount = p_btcstrt-predjobcnt * pred_jobname = p_btcstrt-predjob IMPORTING job_was_released = l_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.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'VARIT' lfieldname = 'VARIANT' IMPORTING dfies_wa = field_tab.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'VARIT' lfieldname = 'VTEXT' IMPORTING dfies_wa = field_tab.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'VARIANT' dynpprog = dyname dynpnr = dynumb dynprofield = p_dynprofield * window_title = p_title TABLES value_tab = value_tab field_tab = field_tab.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'BTCCALHTBL' lfieldname = 'CALENDARID' IMPORTING dfies_wa = field_tab.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'BTCCALHTBL' lfieldname = 'TEXT' IMPORTING dfies_wa = field_tab.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CALENDARID' dynpprog = dyname dynpnr = dynumb dynprofield = 'TBTCSTRT-CALENDARID' * window_title = 'Test'(001) TABLES value_tab = value_tab field_tab = field_tab.
BP_START_DATE_EDITOR * CALL FUNCTION 'BP_START_DATE_EDITOR' * EXPORTING * stdt_dialog = 'Y' * stdt_input = l_input * stdt_opcode = 14 * IMPORTING * stdt_modify_type = l_modify * stdt_output = l_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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.