SAP Reports / Programs | Basis Components | Use Subcomponents | Background Processing(BC-CCM-BTC) SAP BC

RSBTCRTE SAP ABAP Report - Start Job







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


Text pool values


Title: Start Job
Text Symbol: SLS = Spool list


INCLUDES used within this REPORT RSBTCRTE

INCLUDE RSBTCA2C.
INCLUDE LBTCHDEF.
INCLUDE RSXPGDEF.
INCLUDE RSBTCTRC.


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:

S391_SET_DB2_CLIENT_IDS CALL FUNCTION 'S391_SET_DB2_CLIENT_IDS' EXPORTING first_abap_report = first_abap_report first_abap_user = first_abap_user first_transaction = step_tbl-jobname.

S391_SET_DB2_CLIENT_IDS CALL FUNCTION 'S391_SET_DB2_CLIENT_IDS' EXPORTING first_abap_report = step_tbl-progname first_abap_user = step_tbl-authcknam first_transaction = step_tbl-jobname.

LOAD_PRINT_PARAMETERS CALL FUNCTION 'LOAD_PRINT_PARAMETERS' EXPORTING key = tmp_key IMPORTING out_parameters = out_print_params key_found = key_found EXCEPTIONS error_occured = 1 OTHERS = 2.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING data_word1 = step_tbl-jobname data_word2 = step_tbl-jobcount data_word3 = step_tbl-stepcount sl_message_area = 'EJ' sl_message_subid = 'F' EXCEPTIONS OTHERS = 99.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING data_word1 = step_tbl-jobname data_word2 = step_tbl-jobcount data_word3 = step_tbl-stepcount sl_message_area = 'EJ' sl_message_subid = 'F' EXCEPTIONS OTHERS = 99.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING in_parameters = out_print_params mode = 'BATCH' no_dialog = 'X' IMPORTING out_parameters = out_print_params valid = print_params_valid EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.

RSLG_WRITE_SYSLOG_ENTRY CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' EXPORTING data_word1 = step_tbl-jobname data_word2 = step_tbl-jobcount data_word3 = step_tbl-stepcount sl_message_area = 'EJ' sl_message_subid = 'G' EXCEPTIONS OTHERS = 99.

S391_DB2_ACC_USE_CURRENT_IDS CALL FUNCTION 'S391_DB2_ACC_USE_CURRENT_IDS'.

RSPO_OPTION_GET CALL FUNCTION 'RSPO_OPTION_GET' EXPORTING name = btc_firstline IMPORTING int_value = first_line.

RSPO_OPTION_GET CALL FUNCTION 'RSPO_OPTION_GET' EXPORTING name = btc_lastline IMPORTING int_value = last_line.

RSPO_SPOOLJOB_TO_OFFICE CALL FUNCTION 'RSPO_SPOOLJOB_TO_OFFICE' EXPORTING rqident = spo_list_id first_line = first_line last_line = last_line receiver = recipient_object mail_title = document_data-obj_descr sender_address = sender_name EXCEPTIONS no_such_job = 1 job_contains_no_data = 2 selection_empty = 3 no_permission = 4 can_not_access = 5 read_error = 6 could_not_send = 7 type_no_match = 8 OTHERS = 9.

RSAQ_DECODE_REPORT_NAME CALL FUNCTION 'RSAQ_DECODE_REPORT_NAME' EXPORTING reportname = prog IMPORTING workspace = wspace usergroup = bgruppe query = query client = mandt.

RSAQ_CREATE_QUERY_REPORT CALL FUNCTION 'RSAQ_CREATE_QUERY_REPORT' EXPORTING workspace = wspace usergroup = bgruppe query = query EXCEPTIONS OTHERS = 1.



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