FPB_GEN_PROFILE_HRORG_BATCH 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 FPB_GEN_PROFILE_HRORG_BATCH 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.
Selection Text: ADD_DEPU = Add Substitute
Selection Text: BTCHNAME = User for Background Job
Selection Text: KOKRS = Controlling Area
Selection Text: PROF_ID = Profile ID
Selection Text: USER = User
Title: Report FPB_GEN_PROFILE_HRORG_BATCH
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = restrict.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobgroup = lc_jobgroup jobname = lc_jobname IMPORTING jobcount = ld_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.
BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = 'Y' stdt_input = ls_tbtcstrt stdt_opcode = 14 IMPORTING * STDT_MODIFY_TYPE = stdt_output = ls_tbtcstrt 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_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING event_id = ls_tbtcstrt-eventid event_param = ls_tbtcstrt-eventparm event_periodic = ls_tbtcstrt-periodic jobcount = ld_jobcount jobname = lc_jobname laststrtdt = ls_tbtcstrt-laststrtdt laststrttm = ls_tbtcstrt-laststrttm prddays = ls_tbtcstrt-prddays prdhours = ls_tbtcstrt-prdhours prdmins = ls_tbtcstrt-prdmins prdmonths = ls_tbtcstrt-prdmonths prdweeks = ls_tbtcstrt-prdweeks predjob_checkstat = ls_tbtcstrt-checkstat pred_jobcount = ls_tbtcstrt-predjobcnt pred_jobname = ls_tbtcstrt-predjob sdlstrtdt = ls_tbtcstrt-sdlstrtdt sdlstrttm = ls_tbtcstrt-sdlstrttm strtimmed = 'X' start_on_workday_nr = ls_tbtcstrt-wdayno workday_count_direction = ls_tbtcstrt-wdaycdir targetserver = ls_tbtcstrt-instname EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 invalid_target = 8 OTHERS = 9.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FPB_GEN_PROFILE_HRORG_BATCH - Report FPB_GEN_PROFILE_HRORG_BATCH FPB_GEN_PROFILE_HRORG_BATCH - Report FPB_GEN_PROFILE_HRORG_BATCH FPB_GEN_PROFILE_HRORG - Report FPB_GEN_PROFILE_HRORG FPB_GEN_PROFILE_HRORG - Report FPB_GEN_PROFILE_HRORG FPB_GENERATE_PROFILE_HRORG - Generation of Profiles from HR-ORG FPB_GENERATE_PROFILE_HRORG - Generation of Profiles from HR-ORG