SAP Reports / Programs

SAPMSBDC_CC SAP ABAP Report - Batch Input: Session Monitoring







SAPMSBDC_CC 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 SAPMSBDC_CC into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SM35 - Batch Input Monitoring


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


Text pool values


Title: Batch Input: Session Monitoring
Text Symbol: 051 = Sessions and logs
Text Symbol: 052 = Logs exist
Text Symbol: 054 = (Background)
Text Symbol: 055 = Batch input is already active
Text Symbol: 056 = Invalid parameter GROUP
Text Symbol: 057 = Invalid parameter QUID
Text Symbol: 058 = Error in QUEUE-API
Text Symbol: 059 = Invalid parameter QSTATE
Text Symbol: 060 = Invalid parameter HDATE
Text Symbol: 061 = Error starting batch input
Text Symbol: 062 = in ERROR mode
Text Symbol: 065 = None
Text Symbol: 066 = Print request created, spool no.:
Text Symbol: 067 = Imported APQD records, transaction
Text Symbol: 068 = Reading bytes, please wait ...
Text Symbol: 069 = Prodtn
Text Symbol: 070 = List of batch servers could not be read
Text Symbol: 071 = No free batch server found
Text Symbol: 072 = Correct date entries
Text Symbol: 073 = Created by
Text Symbol: 074 = Lock
Text Symbol: 075 = Queue ID
Text Symbol: 076 = Program
Text Symbol: 080 = System is reading folders...
Text Symbol: 049 = Should these be deleted too?
Text Symbol: 002 = Created
Text Symbol: 003 = Incorrect
Text Symbol: 004 = Processed
Text Symbol: 007 = Status
Text Symbol: 015 = Session
Text Symbol: 016 = Date
Text Symbol: 017 = Time
Text Symbol: 018 = Trans.
Text Symbol: 019 = Screens
Text Symbol: 020 = Locked until
Text Symbol: 023 = Released
Text Symbol: 026 = Deleted





Text Symbol: 031 = Still to be proc.
Text Symbol: 032 = delete
Text Symbol: 033 = Total
Text Symbol: 034 = Authorizat.
Text Symbol: 035 = Errors
Text Symbol: 036 = New
Text Symbol: 037 = Processed
Text Symbol: 038 = In processing
Text Symbol: 039 = Creating
Text Symbol: 041 = Unlocked
Text Symbol: 043 = Locked
Text Symbol: 046 = In Background
Text Symbol: 047 = Change


INCLUDES used within this REPORT SAPMSBDC_CC

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:

SCROLLING_IN_TABLE call function 'SCROLLING_IN_TABLE' exporting entry_act = tc_apqi-top_line entry_from = 1 entry_to = i_apqi ok_code = d1000_fcode last_page_full = ' ' overlapping = ' ' loops = loopc importing entries_sum = entries entry_new = new_line pages_sum = total_pages page_new = new_page exceptions no_entry_or_page_act = 01 no_entry_to = 02 no_ok_code_or_page_go = 03.

ICON_CREATE call function 'ICON_CREATE' exporting name = icon_create info = 'neu'(036) importing result = itab_apqi-status exceptions others = 1.

ICON_CREATE call function 'ICON_CREATE' exporting name = icon_status_ok info = 'verarbeitet'(037) importing result = itab_apqi-status exceptions others = 1.

ICON_CREATE call function 'ICON_CREATE' exporting name = icon_status_critical info = 'fehlerhaft'(035) importing result = itab_apqi-status exceptions others = 1.

ICON_CREATE call function 'ICON_CREATE' exporting name = icon_execute_object info = 'in Bearbeitung'(038) importing result = itab_apqi-status exceptions others = 1.

ICON_CREATE call function 'ICON_CREATE' exporting name = icon_create_text info = 'in Erstellung'(039) importing result = itab_apqi-status exceptions others = 1.

ICON_CREATE call function 'ICON_CREATE' exporting name = icon_background_job info = 'im Hintergrund'(046) importing result = itab_apqi-status exceptions others = 1.

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = 'BTCTGTITBL' lfieldname = 'INSTNAME' importing dfies_wa = field_tbl exceptions others = 3.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting retfield = 'INSTNAME' value_org = 'S' tables value_tab = btc_sys_host_tbl field_tab = field_tbl return_tab = return_tbl exceptions parameter_error = 1 no_values_found = 2 others = 3.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = 'SAPMSBDC_CC' dynumb = sy-dynnr tables dynpfields = dynpfields_tbl exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.

DOCU_GET call function 'DOCU_GET' exporting object = docu_object id = docu_id langu = docu_spras version_active_or_last = 'A' importing head = tx_header tables line = tx_lines exceptions others = 1.

PRINT_TEXT





call function 'PRINT_TEXT' exporting application = 'TX' device = 'SCREEN' header = tx_header tables lines = tx_lines exceptions others = 1.

SUSR_USER_CHECK_EXISTENCE call function 'SUSR_USER_CHECK_EXISTENCE' exporting user_name = mtab-userid exceptions user_name_not_exists = 1 others = 2.

JOB_OPEN call function 'JOB_OPEN' exporting jobgroup = bi jobname = jname importing jobcount = jnumb exceptions cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 others = 99.

JOB_CLOSE call function 'JOB_CLOSE' exporting jobcount = jnumb jobname = jname strtimmed = x targetsystem = target_system targetserver = target_server targetgroup = target_group dont_release = x importing job_was_released = jobrele exceptions cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 * no_release_privilege_given = 7 invalid_target = 8 others = 99.

BP_JOB_RELEASE call function 'BP_JOB_RELEASE' exporting jobname = jname jobcount = jnumb * changing * ret = exceptions missing_jobname = 1 missing_jobcount = 2 missing_start_date = 3 status_not_scheduled = 4 cant_enq_job = 5 cant_start_job_immediately = 6 no_privilege_to_release_job = 7 cant_release_job = 8 job_not_exist = 9 job_have_no_steps = 10 error_job_modify = 11 others = 12.

BP_JOB_DELETE call function 'BP_JOB_DELETE' exporting jobname = jname jobcount = jnumb forcedmode = x exceptions others = 99.

BDC_OBJECT_COUNT call function 'BDC_OBJECT_COUNT' exporting name = d0100-mapn session_creator = d0100-creator datatype = b_d_c client = sy-mandt qstate = mode date_from = d0100-von date_to = d0100-bis importing count = cnt exceptions others = 1.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = string.

BDC_OBJECT_SELECT call function 'BDC_OBJECT_SELECT' exporting name = d0100-mapn session_creator = d0100-creator datatype = b_d_c client = sy-mandt qstate = mode date_from = d0100-von date_to = d0100-bis tables apqitab = itab_apqi exceptions others = 1.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'N' textline1 = text-052 textline2 = text-049 titel = text-051 importing answer = decision.

BDC_PROTOCOL_SELECT_QID call function 'BDC_PROTOCOL_SELECT_QID' exporting queue_id = mtab-qid importing dbcnt = np tables apqltab = i_apql exceptions others = 1.

BDC_PROTOCOL_DELETE call function 'BDC_PROTOCOL_DELETE' exporting temse_id = i_apql-temseid exceptions others = 1.

GET_PRINT_PARAMETERS call function 'GET_PRINT_PARAMETERS' exporting * DESTINATION = H_PRINTER copies = count list_name = h_name list_text = h_text * IMMEDIATELY = ' ' * RELEASE = ' ' new_list_id = 'X' * EXPIRATION = DAYS line_size = 100 * LINE_COUNT = 65 * LAYOUT = 'X_PAPER' sap_cover_page = 'D' * COVER_PAGE = 'X' receiver = sy-uname * DEPARTMENT = H_DEPARTMENT * NO_DIALOG = 'X' importing out_parameters = params out_archive_parameters = arcparams valid = valid.

GET_PRINT_PARAMETERS call function 'GET_PRINT_PARAMETERS' exporting destination = params-pdest copies = count list_name = h_name list_text = h_text * IMMEDIATELY = ' ' * RELEASE = ' ' new_list_id = 'X' * EXPIRATION = DAYS line_size = 100 * LINE_COUNT = 65 * LAYOUT = 'X_PAPER' sap_cover_page = 'D' * COVER_PAGE = 'X' receiver = sy-uname * DEPARTMENT = H_DEPARTMENT no_dialog = 'X' in_parameters = params importing out_parameters = params out_archive_parameters = arcparams valid = valid.

JOB_OPEN call function 'JOB_OPEN' exporting jobgroup = bi jobname = jname importing jobcount = jnumb exceptions cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 others = 99.

JOB_CLOSE call function 'JOB_CLOSE' exporting jobcount = jnumb jobname = jname strtimmed = x targetsystem = batchsys importing job_was_released = jobrele exceptions cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 * no_release_privilege_given = 7 others = 99.

JOB_OPEN call function 'JOB_OPEN' exporting jobgroup = bi jobname = jname importing jobcount = jnumb exceptions cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 others = 99.

JOB_CLOSE call function 'JOB_CLOSE' exporting jobcount = jnumb jobname = jname strtimmed = x targetsystem = batchsys importing job_was_released = jobrele exceptions cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 * no_release_privilege_given = 7 others = 99.

JOB_OPEN call function 'JOB_OPEN' exporting jobgroup = bi jobname = jname importing jobcount = jnumb exceptions cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 others = 99.

JOB_CLOSE call function 'JOB_CLOSE' exporting jobcount = jnumb jobname = jname strtimmed = x targetsystem = batchsys importing job_was_released = jobrele exceptions cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 * no_release_privilege_given = 7 others = 99.




TH_SERVER_LIST call function 'TH_SERVER_LIST' exporting services = batch tables list = sys_tabl exceptions others = 99.

AUTHORITY_CHECK call function 'AUTHORITY_CHECK' " Jobs einplanen exporting field1 = auth_field1 field2 = auth_field2 field3 = auth_field3 object = auth_object user = auth_user value1 = auth_value1 value2 = auth_value2 value3 = auth_value3 exceptions user_is_authorized = 1 others = 99.

AUTHORITY_CHECK call function 'AUTHORITY_CHECK' " Jobs einplanen exporting field1 = auth_field1 field2 = auth_field2 field3 = auth_field3 object = auth_object user = auth_user value1 = auth_value1 value2 = auth_value2 value3 = auth_value3 exceptions user_is_authorized = 1 others = 99.

AUTHORITY_CHECK call function 'AUTHORITY_CHECK' " Jobs ausführen exporting field1 = auth_field1 field2 = auth_field2 field3 = auth_field3 object = auth_object user = auth_user value1 = auth_value1 value2 = auth_value2 value3 = auth_value3 exceptions user_is_authorized = 1 others = 99.

ENQUEUE_BDC_QID call function 'ENQUEUE_BDC_QID' exporting datatyp = enq-datatyp groupid = enq-groupid qid = enq-object exceptions foreign_lock = 1 system_failure = 99.

DEQUEUE_BDC_QID call function 'DEQUEUE_BDC_QID' exporting datatyp = enq-datatyp groupid = enq-groupid qid = enq-object.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = g_repid it_fieldcat = gt_fieldcat[] is_print = gs_print i_save = g_save is_variant = gs_variant tables t_outtab = gt_outtab.

BP_JOB_SELECT call function 'BP_JOB_SELECT' exporting jobselect_dialog = 'N' JOBSEL_PARAM_IN = jobsel_param * ENDDATE = ' ' * ENDTIME = ' ' * IMPORTING * JOBSEL_PARAM_OUT = tables jobselect_joblist = joblist EXCEPTIONS INVALID_DIALOG_TYPE = 1 JOBNAME_MISSING = 2 NO_JOBS_FOUND = 3 SELECTION_CANCELED = 4 USERNAME_MISSING = 5 OTHERS = 6 .

BP_JOB_READ call function 'BP_JOB_READ' exporting job_read_jobcount = joblist-jobcount job_read_jobname = joblist-jobname job_read_opcode = 20 " BTC_READ_ALL_JOBDATA * IMPORTING * JOB_READ_JOBHEAD = TABLES JOB_READ_STEPLIST = steplist EXCEPTIONS INVALID_OPCODE = 1 JOB_DOESNT_EXIST = 2 JOB_DOESNT_HAVE_STEPS = 3 OTHERS = 4 .

RS_VARIANT_CONTENTS call function 'RS_VARIANT_CONTENTS' exporting report = var_program variant = var_variant * MOVE_OR_WRITE = 'W' * NO_IMPORT = ' ' EXECUTE_DIRECT = 'X' * IMPORTING * SP = tables * L_PARAMS = * L_PARAMS_NONV = * L_SELOP = * L_SELOP_NONV = valutab = var_valuetab * OBJECTS = * FREE_SELECTIONS_DESC = * FREE_SELECTIONS_VALUE = EXCEPTIONS VARIANT_NON_EXISTENT = 1 VARIANT_OBSOLETE = 2 OTHERS = 3 .



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