TMS_BCI_START_SERVICE 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 TMS_BCI_START_SERVICE 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.
Title: TMS: Background Runtime Environment
INCLUDE: LBTCHDEF,
No SAP DATABASE tables are accessed within this REPORT code!
GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING eventid = ls_btcinfo-eventid eventparm = ls_btcinfo-eventparm * external_program_active = ls_btcinfo-xpgactive jobcount = ls_btcinfo-jobcount jobname = ls_btcinfo-jobname stepcount = ls_btcinfo-stepcount EXCEPTIONS no_runtime_info = 1 OTHERS = 2.
BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = btc_no jobsel_param_in = ls_btcparm * ENDDATE = sy-datum * ENDTIME = sy-uzeit * IMPORTING * JOBSEL_PARAM_OUT = TABLES jobselect_joblist = lt_btcjob EXCEPTIONS invalid_dialog_type = 1 jobname_missing = 2 no_jobs_found = 3 selection_canceled = 4 username_missing = 5 OTHERS = 6.
BP_JOB_CHECKSTATE CALL FUNCTION 'BP_JOB_CHECKSTATE' EXPORTING dialog = btc_no jobcount = ls_btcjob-jobcount jobname = ls_btcjob-jobname IMPORTING * STATUS_ACCORDING_TO_DB = actual_status = ls_btcjob-status EXCEPTIONS checking_of_job_has_failed = 1 correcting_job_status_failed = 2 invalid_dialog_type = 3 job_does_not_exist = 4 no_check_privilege_given = 5 ready_switch_too_dangerous = 6 OTHERS = 7.
TMS_TP_IMPORT_CHECK_STATUS CALL FUNCTION 'TMS_TP_IMPORT_CHECK_STATUS' EXPORTING iv_jobid = lv_jobid EXCEPTIONS job_not_found = 1 progress_poor = 2 progress_critical = 3 import_not_running = 4.
TMS_CI_CREATE_ALERT CALL FUNCTION 'TMS_CI_CREATE_ALERT' EXPORTING iv_service = gc_tms_bci iv_function = gc_tms_bci_job_execute iv_error = gc_tms_bci_job_active iv_severity = gc_tms_sev_info iv_methodptr = lv_alertptr.
TMS_CI_CREATE_ALERT CALL FUNCTION 'TMS_CI_CREATE_ALERT' EXPORTING iv_service = gc_tms_bci iv_function = gc_tms_bci_job_execute iv_error = gc_tms_bci_job_active iv_severity = gc_tms_sev_error iv_methodptr = lv_alertptr.
TMS_ALT_LOG_RECORD CALL FUNCTION 'TMS_ALT_LOG_RECORD' EXPORTING iv_service = ls_bcijoy-service iv_function = ls_bcijoy-command iv_error = space * iv_severity = space iv_system = ls_bcijoy-tarsystem * IV_DOMAIN = iv_text = lv_text iv_context = ls_bcijoy-context * iv_execmode = GC_CI_EXEC_BATCH " Hennrich 14.5.99
TMS_CI_PUT_CONTAINER CALL FUNCTION 'TMS_CI_PUT_CONTAINER' TABLES tt_table = lt_container tt_namtab = lt_cintab tt_xtable = lt_xcontainer tt_itable = lt_icontainer tt_objtab = lt_objtab.
TMS_CI_DECODE_TABLE CALL FUNCTION 'TMS_CI_DECODE_TABLE' EXPORTING iv_tabnam = gc_bci_batch_control iv_tabtype = 'STRUCT' IMPORTING es_struct = ls_bcictl EXCEPTIONS alert = 1.
TMS_CI_READ_ALERT_STACK CALL FUNCTION 'TMS_CI_READ_ALERT_STACK' EXPORTING * IV_MESSAGE = * IV_SEVERITY = * IV_CONTEXT = iv_methodptr = lv_alertptr IMPORTING es_exception = ls_exception EXCEPTIONS alert = 1.
TMS_CI_START_LOCAL_SERVICE CALL FUNCTION 'TMS_CI_START_LOCAL_SERVICE' EXPORTING iv_srcsystem = ls_bcijoy-srcsystem iv_srcdomain = ls_bcijoy-srcdomain iv_tarsystem = ls_bcijoy-tarsystem iv_execmode = ls_bcijoy-execmode * iv_execmode = GC_CI_EXEC_BATCH " Hennrich 14.5.99
TMS_BCI_JOB_DELETE_ENV CALL FUNCTION 'TMS_BCI_JOB_DELETE_ENV' EXPORTING iv_jobnum = ls_bcijoy-jobid.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
TMS_BCI_START_SERVICE - TMS: Background Runtime Environment TMS_BCI_START_SERVICE - TMS: Background Runtime Environment TMSSTATS_DEL_SELECT - Include TMSSTATS_DELETE_SELECT TMSSTATS_DEL_FORMS - Include TMSSTATS_DELETE_FORMS TMSSTATS_DEL_DATA - Include TMSSTATS_DELETE_DATA TMSQACON - documentation and ABAP source code