SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Basis Application Log(BC-SRV-BAL) SAP BC

RSSLG210 SAP ABAP Report - Application log (old): ==> use transaction SLG2







RSSLG210 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In various applications, critical actions are recorded in an application log ( 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 RSSLG210 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 RSSLG210. "Basic submit
SUBMIT RSSLG210 AND RETURN. "Return to original report after report execution complete
SUBMIT RSSLG210 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: BTC_USER = User job ID:
Title: Application log (old): ==> use transaction SLG2
Text Symbol: 001 = Y
Text Symbol: 002 = No
Text Symbol: 014 = Application log: Delete obsolete logs
Text Symbol: 015 = User job ID:
Text Symbol: 017 = No job selected.
Text Symbol: A01 = Display or change newly-created
Text Symbol: A02 = background job
Text Symbol: A03 = again?


INCLUDES used within this REPORT RSSLG210

INCLUDE LBTCHDEF. " BATCH CONSTANTS


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:

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey TABLES p_exclude = excl_tab.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING * LANGUAGE = SY-LANGU popup_title = text-014 * START_COLUMN = 10 * START_ROW = 3 text_object = selection_text IMPORTING cancelled = cancel_job_def EXCEPTIONS text_not_found = 1.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING defaultoption = '1' textline1 = text-a01 textline2 = text-a02 textline3 = text-a03 text_option1 = text-001 text_option2 = text-002 titel = text-014 * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = popup_answer EXCEPTIONS OTHERS = 1.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING * DELANFREP = ' ' * JOBGROUP = ' ' jobname = jobname * SDLSTRTDT = NO_DATE * SDLSTRTTM = NO_TIME IMPORTING jobcount = 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 = btc_yes stdt_input = start_date stdt_opcode = btc_edit_startdate IMPORTING stdt_modify_type = stdt_modify_type stdt_output = start_date 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 OTHERS = 27.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING * ARCPARAMS = ' ' authcknam = btc_user * EXTPGM_NAME = ' ' * EXTPGM_PARAM = ' ' * EXTPGM_SET_TRACE_ON = ' ' * EXTPGM_STDERR_IN_JOBLOG = 'X' * EXTPGM_STDOUT_IN_JOBLOG = 'X' * EXTPGM_SYSTEM = ' ' * EXTPGM_WAIT_FOR_TERMINATION = 'X' jobcount = jobcount jobname = jobname * LANGUAGE = SY-LANGU * PRIPARAMS = ' ' report = job_step1 * VARIANT = ' ' EXCEPTIONS bad_priparams = 1 bad_xpgflags = 2 invalid_jobdata = 3 jobname_missing = 4 job_notex = 5 job_submit_failed = 6 lock_failed = 7 program_missing = 8 prog_abap_and_extpg_set = 9 OTHERS = 10.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' " ???? * AT_OPMODE_PERIODIC = ' ' " ???? calendar_id = start_date-calendarid event_id = start_date-eventid event_param = start_date-eventparm event_periodic = start_date-periodic jobcount = jobcount jobname = jobname laststrtdt = start_date-laststrtdt laststrttm = start_date-laststrttm prddays = start_date-prddays prdhours = start_date-prdhours prdmins = start_date-prdmins prdmonths = start_date-prdmonths prdweeks = start_date-prdweeks predjob_checkstat = start_date-checkstat pred_jobcount = start_date-predjobcnt pred_jobname = start_date-predjob sdlstrtdt = start_date-sdlstrtdt sdlstrttm = start_date-sdlstrttm startdate_restriction = start_date-prdbehav strtimmed = start_date_immediate targetsystem = start_date-instname start_on_workday_not_before = start_date-notbefore start_on_workday_nr = start_date-wdayno workday_count_direction = start_date-wdaycdir IMPORTING job_was_released = job_was_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 OTHERS = 8.

BP_JOBLIST_PROCESSOR CALL FUNCTION 'BP_JOBLIST_PROCESSOR' EXPORTING joblist_opcode = btc_joblist_edit * JOBLIST_REFR_PARAM = ' ' * IMPORTING * JOBLIST_SEL_JOB = TABLES joblist = job_list.

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = 'N' " no dialog jobsel_param_in = select_info IMPORTING jobsel_param_out = select_info TABLES jobselect_joblist = job_list EXCEPTIONS invalid_dialog_type = 1 jobname_missing = 2 no_jobs_found = 3 selection_canceled = 4 username_missing = 5 OTHERS = 6.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING * FORCEDMODE = ' ' jobcount = job_list-jobcount jobname = job_list-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 OTHERS = 18.



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