SAP Reports / Programs | Basis Components | Database Interface, Database Platforms | CCMS / Database Monitors for Oracle(BC-DB-ORA-CCM) SAP BC

RSORAF01 SAP ABAP INCLUDE - FORMs







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


Text pool values


Title: FORMs


INCLUDES used within this REPORT RSORAF01

INCLUDE RSORAI77.
INCLUDE RSORAI19.
INCLUDE RSORAI27.
INCLUDE RSORAI01.
INCLUDE RSORAI02.
INCLUDE RSORAI03.
INCLUDE RSORAI06.
INCLUDE RSORAI04.
INCLUDE RSORAI05.
INCLUDE RSORAI05.
INCLUDE RSORAI07.
INCLUDE RSORAI24.
INCLUDE RSORAI14.
INCLUDE RSORAI17.
INCLUDE RSORAI18.
INCLUDE RSORAI08.
INCLUDE RSORAI50.
INCLUDE RSORAI09.
INCLUDE RSORAI20.
INCLUDE RSORAI17.
INCLUDE RSORAI51.
INCLUDE RSORAI16.
INCLUDE RSORAI26.
INCLUDE RSORAI10.
INCLUDE RSORAI11.
INCLUDE RSORAI12.
INCLUDE RSORAI23.
INCLUDE RSORAI22.
INCLUDE RSORAI13.
INCLUDE RSORAI80.
INCLUDE RSORAI21.
INCLUDE RSORAI25.


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_DBA_JOBS_START_END CALL FUNCTION 'GET_DBA_JOBS_START_END' DESTINATION ssyst-rfcdest EXPORTING from_timestamp = first_monday TABLES result_detail = sdbads EXCEPTIONS system_failure = 2 MESSAGE msg_text communication_failure = 3 MESSAGE msg_text OTHERS = 4.

GET_DBA_RESULTS_DBA CALL FUNCTION 'GET_DBA_RESULTS_DBA' EXPORTING system_struct = ssyst from_timestamp = first_monday TABLES result_header = sdbahs result_detail = sdbads.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING textline1 = 'Soll die Aktion wirklich gelöscht werden?'(110) textline2 = del_msg titel = 'Aktion löschen'(111) defaultoption = 'N' IMPORTING answer = choice.

SHOW_DBA_JOBLOGS CALL FUNCTION 'SHOW_DBA_JOBLOGS' EXPORTING datum = workdate job_name = search_pattern.

SHOW_DBA_JOBLOGS CALL FUNCTION 'SHOW_DBA_JOBLOGS' DESTINATION ssyst-rfcdest EXPORTING datum = workdate job_name = search_pattern IMPORTING status = jlog_status EXCEPTIONS system_failure = 1 MESSAGE msg_text communication_failure = 2 MESSAGE msg_text.

SHOW_DBA_JOBLOGS CALL FUNCTION 'SHOW_DBA_JOBLOGS' EXPORTING datum = workdate job_name = search_pattern.

SHOW_DBA_JOBLOGS CALL FUNCTION 'SHOW_DBA_JOBLOGS' DESTINATION ssyst-rfcdest EXPORTING datum = workdate job_name = search_pattern IMPORTING status = jlog_status EXCEPTIONS system_failure = 1 MESSAGE msg_text communication_failure = 2 MESSAGE msg_text.

SHOW_DBA_JOBLOGS CALL FUNCTION 'SHOW_DBA_JOBLOGS' EXPORTING datum = workdate job_name = search_pattern.

SHOW_DBA_JOBLOGS CALL FUNCTION 'SHOW_DBA_JOBLOGS' DESTINATION ssyst-rfcdest EXPORTING datum = workdate job_name = search_pattern IMPORTING status = jlog_status EXCEPTIONS system_failure = 1 MESSAGE msg_text communication_failure = 2 MESSAGE msg_text.

BP_SET_JOBCLASS_A CALL FUNCTION 'BP_SET_JOBCLASS_A' EXPORTING jobname = jobname.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = jobname IMPORTING jobcount = jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 99.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING jobname = jobname jobcount = jobcount authcknam = uname report = repname EXCEPTIONS OTHERS = 1.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = jobname jobcount = jobcount event_id = 'SAP_DBA_ACTION' event_param = 'AUTOMATIC_LOG_SAVE' event_periodic = 'X' EXCEPTIONS OTHERS = 1.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = jobname jobcount = jobcount sdlstrtdt = startdate sdlstrttm = starttime laststrtdt = lastdate laststrttm = lasttime prddays = jsdbap-period EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 99.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = jobname jobcount = jobcount sdlstrtdt = startdate sdlstrttm = starttime laststrtdt = lastdate laststrttm = lasttime prddays = jsdbap-period calendar_id = factcal startdate_restriction = 'D' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 22 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 99.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = jobname jobcount = jobcount sdlstrtdt = startdate sdlstrttm = starttime laststrtdt = lastdate laststrttm = lasttime prddays = jsdbap-period calendar_id = factcal startdate_restriction = 'D' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 22 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 99.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = jobname jobcount = jobcount strtimmed = j_start_immed EXCEPTIONS OTHERS = 1.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING forcedmode = 'X' jobcount = save_jobcount jobname = j_jobname EXCEPTIONS OTHERS = 01.

STRING_CONCATENATE





* call function 'STRING_CONCATENATE' " [ABAP 2 compat] * exporting * string1 = txt1 * string2 = txt2 * importing * string = txt3.

STRING_CONCATENATE * call function 'STRING_CONCATENATE' * exporting * string1 = txt1 * string2 = ' ?' * importing * string = txt3.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = 'Aktion sofort starten (operatorlos):'(015) textline2 = action_tab-longname titel = 'Aktion sofort starten'(017) start_column = 10 defaultoption = 'N' IMPORTING answer = choice.

ENQUEUE_E_SDBAP * CALL FUNCTION 'ENQUEUE_E_SDBAP' * EXCEPTIONS * FOREIGN_LOCK = 1 * SYSTEM_FAILURE = 2 * OTHERS = 3.

ENQUEUE_E_SDBAP CALL FUNCTION 'ENQUEUE_E_SDBAP' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_E_DB6ADMLOCK CALL FUNCTION 'ENQUEUE_E_DB6ADMLOCK' exporting sysid = sy-sysid action_id = cl_dba_action=>dbaact_db13 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_SDBAP CALL FUNCTION 'DEQUEUE_E_SDBAP'.

HOLIDAY_CHECK_AND_GET_INFO * call function 'HOLIDAY_CHECK_AND_GET_INFO' * exporting date = startday * holiday_calendar_id = calid * importing holiday_found = holiday * tables holiday_attributes = holitab * exceptions others = 1.

DAY_ATTRIBUTES_GET CALL FUNCTION 'DAY_ATTRIBUTES_GET' EXPORTING factory_calendar = fcalid holiday_calendar = hcalid date_from = startday date_to = endday language = sy-langu IMPORTING year_of_valid_from = startyear year_of_valid_to = endyear returncode = retc TABLES day_attributes = dayattr EXCEPTIONS OTHERS = 1.

ADD_DBA_PLANNING_ALL CALL FUNCTION 'ADD_DBA_PLANNING_ALL' EXPORTING planning_desc = action_tab planning_struct = sdbap start_immed = start_immed TABLES resource_table = sdbar_tab EXCEPTIONS OTHERS = 2.

FILL_DBA_ACTION_TAB CALL FUNCTION 'FILL_DBA_ACTION_TAB' EXPORTING db_system = ssyst-dbsys db_release = ssyst-dbrel sap_release = ssyst-saprel TABLES int_act_tab = action_tab.

DELETE_DBA_PLANNING_ALL CALL FUNCTION 'DELETE_DBA_PLANNING_ALL' EXPORTING planning_desc = action_tab planning_struct = sdbap EXCEPTIONS OTHERS = 2.

CHANGE_DBA_PLANNING_ALL CALL FUNCTION 'CHANGE_DBA_PLANNING_ALL' EXPORTING planning_desc = action_tab planning_struct = sdbap planning_old = save_sdbap TABLES resource_table = sdbar_tab EXCEPTIONS OTHERS = 2.

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = 'N' jobsel_param_in = j_sel IMPORTING jobsel_param_out = j_sel TABLES jobselect_joblist = j_list EXCEPTIONS invalid_dialog_type = 01 jobname_missing = 02 no_jobs_found = 03 selection_canceled = 04 username_missing = 05 OTHERS = 99.

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = 'N' jobsel_param_in = j_sel IMPORTING jobsel_param_out = j_sel TABLES jobselect_joblist = j_list EXCEPTIONS invalid_dialog_type = 01 jobname_missing = 02 no_jobs_found = 03 selection_canceled = 04 username_missing = 05.



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