SAP Reports / Programs

RM_MLSC_BGRFC_CREATE SAP ABAP Report - Generate Background RFC Entries for Multilevel Subcontracting







RM_MLSC_BGRFC_CREATE 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 RM_MLSC_BGRFC_CREATE 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 RM_MLSC_BGRFC_CREATE. "Basic submit
SUBMIT RM_MLSC_BGRFC_CREATE AND RETURN. "Return to original report after report execution complete
SUBMIT RM_MLSC_BGRFC_CREATE 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: P_SRVGRP = D .
Title: Generate Background RFC Entries for Multilevel Subcontracting


INCLUDES used within this REPORT RM_MLSC_BGRFC_CREATE

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:

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = me->mv_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = me->mv_handle i_s_msg = ls_msg EXCEPTIONS log_not_found = 0 msg_inconsistent = 0 log_is_full = 0 error_message = 0 OTHERS = 0.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_t_log_handle = lt_ballogh IMPORTING e_t_msg_handle = lt_balmsgh EXCEPTIONS msg_not_found = 0 OTHERS = 0.

BAL_DSP_PROFILE_POPUP_GET CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET' IMPORTING e_s_display_profile = ls_profile.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_t_log_handle = lt_ballogh EXCEPTIONS msg_not_found = 0 OTHERS = 0.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_ballogh i_s_display_profile = ls_profile EXCEPTIONS OTHERS = 0.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_in_update_task = abap_true i_t_log_handle = lt_handles IMPORTING e_new_lognumbers = lt_logno EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.

SMLG_GET_DEFINED_SERVERS CALL FUNCTION 'SMLG_GET_DEFINED_SERVERS' EXPORTING grouptype = 'S' TABLES instances = gt_instances EXCEPTIONS invalid_group_type = 1 no_instances_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'APPLSERVER' value_org = 'S' TABLES value_tab = gt_instances return_tab = gt_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

BGRFC_CONF_READ_INB_DEST CALL FUNCTION 'BGRFC_CONF_READ_INB_DEST' EXPORTING dest_name = gv_destination IMPORTING queue_prefix = gt_prefix.

BGRFC_CREATE_INB_DEST CALL FUNCTION 'BGRFC_CREATE_INB_DEST' EXPORTING dest_name = gv_destination server_group = p_srvgrp queue_prefix_tab = gt_queue_name return_errors_as_tab = 'X' IMPORTING error_message = gt_bgrfc_msg EXCEPTIONS destination_exists = 1 queue_prefix_exists = 2 dest_name_incorrect = 3 queueprefix_incorrect = 4 enqueue_not_available = 5 enqueue_error = 6 no_authorization = 7 destination_not_set = 8 server_group_not_maintained = 9 error_requesting_server_group = 10 classic_qrfc_present = 11 internal_error = 12 OTHERS = 13.



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