SAP Reports / Programs | SAP Business Information Warehouse | Warehouse Management | Data Staging(BW-WHM-DST) SAP BW

RS_LOGSYS_ACTIVATE_F01 SAP ABAP INCLUDE - Include RS_LOGSYS_ACTIVATE_F01







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


INCLUDES used within this REPORT RS_LOGSYS_ACTIVATE_F01

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:

RSA_RSBASIDOC_READ CALL FUNCTION 'RSA_RSBASIDOC_READ' EXPORTING i_am_receiver = 'X' TABLES basidoc = g_t_basidoc.

RSAR_LOGICAL_SYSTEM_GET CALL FUNCTION 'RSAR_LOGICAL_SYSTEM_GET' EXPORTING i_logsys = g_s_basidoc-slogsys i_without_dialog = 'X' i_without_authority = 'X' IMPORTING e_text = g_s_lsys-text e_icon = g_s_lsys-srctype * EXCEPTIONS * unknown_logical_system = 1 * warehouse_system_without_name = 3 * OTHERS = 4 .

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'rsar_s_lsys' i_bypassing_buffer = 'X' CHANGING ct_fieldcat = g_t_fieldcatalog EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = g_s_handle.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING * I_T_LOG_HEADER = i_t_log_handle = g_t_tabhandl * I_T_LOGNUMBER = * I_CLIENT = SY-MANDT * I_DO_NOT_LOAD_MESSAGES = ' ' * I_EXCEPTION_IF_ALREADY_LOADED = * IMPORTING * E_T_LOG_HANDLE = * E_T_MSG_HANDLE = EXCEPTIONS no_logs_specified = 1 log_not_found = 2 log_already_loaded = 3 OTHERS = 4 .

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING * I_S_DISPLAY_PROFILE = i_t_log_handle = g_t_tabhandl * I_T_MSG_HANDLE = * I_S_LOG_FILTER = * I_S_MSG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_AMODAL = ' ' * IMPORTING * E_S_EXIT_COMMAND = EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = g_s_handle i_s_msg = g_s_msg.

RSAOS_METADATA_UPLOAD CALL FUNCTION 'RSAOS_METADATA_UPLOAD' EXPORTING i_logsys = g_sys_id * I_APPLNM = * I_OSOURCE = * I_ISOURCE = * I_NO_TIMESTAMP = RSAOS_C_FLAG-OFF IMPORTING e_t_messages = g_t_message_up EXCEPTIONS error_occured = 1 unauthorized = 2 unknown_logsys = 3 no_oltpsources = 4 locked = 5 OTHERS = 6 .

RSAOS_LOGICAL_SYSTEM_ACTIVATE CALL FUNCTION 'RSAOS_LOGICAL_SYSTEM_ACTIVATE' EXPORTING i_logsys = g_sys_id i_do_upload = 'N' i_dont_check = 'X' EXCEPTIONS failed = 1 OTHERS = 2.

RSAR_LOGICAL_SYSTEM_CHECK CALL FUNCTION 'RSAR_LOGICAL_SYSTEM_CHECK' EXPORTING i_logsys = g_sys_id i_analyse = 'X' * I_SHOW_PROTOCOL = IMPORTING e_t_messages = g_t_message.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING * I_CLIENT = SY-MANDT * I_IN_UPDATE_TASK = ' ' i_save_all = 'X' i_t_log_handle = g_t_tabhandl.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = 'Y' stdt_input = l_s_dummy stdt_opcode = 14 IMPORTING * STDT_MODIFY_TYPE = stdt_output = l_s_start 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_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING delanfrep = 'X' jobname = 'LOGSYS_ACTIVATE' IMPORTING jobcount = l_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' at_opmode_periodic = l_s_start-periodic calendar_id = l_s_start-calendarid event_id = l_s_start-eventid event_param = l_s_start-eventparm event_periodic = l_s_start-periodic jobcount = l_jobcount jobname = 'LOGSYS_ACTIVATE' laststrtdt = l_s_start-laststrtdt laststrttm = l_s_start-laststrttm prddays = l_s_start-prddays prdhours = l_s_start-prdhours prdmins = l_s_start-prdmins prdmonths = l_s_start-prdmonths prdweeks = l_s_start-prdweeks predjob_checkstat = l_s_start-checkstat pred_jobcount = l_s_start-predjobcnt pred_jobname = l_s_start-predjob sdlstrtdt = l_s_start-sdlstrtdt sdlstrttm = l_s_start-sdlstrttm startdate_restriction = l_s_start-prdbehav strtimmed = l_immediate * targetsystem = i_startsystem start_on_workday_not_before = l_s_start-notbefore start_on_workday_nr = l_s_start-wdayno workday_count_direction = l_s_start-wdaycdir * IMPORTING * job_was_released = l_job_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.

APPL_LOG_READ_DB CALL FUNCTION 'APPL_LOG_READ_DB' EXPORTING object = 'RSAR' subobject = 'METADATA' external_number = l_extnumb date_from = l_datum date_to = sy-datum time_from = '000000' time_to = '235959' TABLES header_data = l_t_header messages = l_t_messages.



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