RSCRM_BAPI_REMOTEF02 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 RSCRM_BAPI_REMOTEF02 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_repid "l_dyname dynumb = sy-dynnr "l_dynumb TABLES dynpfields = l_t_dynp EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.
RSCRM_REPORTS_F4 CALL FUNCTION 'RSCRM_REPORTS_F4' "estination g_bwdest EXPORTING i_title = text-005 i_showinfosetqueries = l_showisq "### SG new i_show_newisq = l_flag_newisq i_show_iobject = l_flag_iobject i_show_addhoc = l_flag_addhoc IMPORTING e_reportuid = g_reportuid e_event = l_event e_cubename = g_cube_nam e_catalog = g_catalog e_repname = g_repname e_reptxt = g_reptxt.
RSCRM_REPORTS_F4 CALL FUNCTION 'RSCRM_REPORTS_F4' "estination g_bapidest EXPORTING i_title = text-005 i_showinfosetqueries = l_showisq "### SG new i_show_newisq = l_flag_newisq i_show_iobject = l_flag_iobject i_show_addhoc = l_flag_addhoc IMPORTING e_reportuid = g_reportuid e_event = l_event e_cubename = g_cube_nam e_catalog = g_catalog e_repname = g_repname e_reptxt = g_reptxt.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'use last reportuid' text_question = g_reportuid default_button = '1' display_cancel_button = ' ' IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.
RSCRM_REPORTS_F4 CALL FUNCTION 'RSCRM_REPORTS_F4' "estination g_bapidest EXPORTING i_title = text-005 i_showinfosetqueries = l_showisq "### SG new i_show_newisq = l_flag_newisq i_show_iobject = l_flag_iobject i_show_addhoc = l_flag_addhoc IMPORTING e_reportuid = g_reportuid e_event = l_event e_cubename = g_cube_nam e_catalog = g_catalog e_repname = g_repname e_reptxt = g_reptxt.
RSCRMBW_RESOLVE_VIEWID CALL FUNCTION 'RSCRMBW_RESOLVE_VIEWID' EXPORTING i_reportuid = g_reportuid IMPORTING e_cubename = g_cube_nam e_catalog = g_catalog e_reptxt = g_reptxt EXCEPTIONS report_not_found = 1 OTHERS = 2.
CRMBW_INTERNAL_GETMDX ******** CALL FUNCTION 'CRMBW_INTERNAL_GETMDX' "estination g_bapidest ******** EXPORTING ******** sessionid = g_s_session-sessionid ******** TABLES ******** mdx = g_t_mdx.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 50 text = text-059.
RSCRMBW_REPORT * CALL FUNCTION 'RSCRMBW_REPORT' * EXPORTING * i_mode = 'START' * i_reportuid = g_reportuid * i_repeat = g_true * TABLES * e_t_axis = g_t_crmaxis * e_t_cell = g_t_crmcell * e_t_return = g_t_return.
RSCRM_REPORT_CHAR4PACK_F4 * CALL FUNCTION 'RSCRM_REPORT_CHAR4PACK_F4' * EXPORTING * i_sessionid = g_s_session-sessionid ** I_REPORTID = * i_dialog = 'X' * IMPORTING * e_characteristic = l_packiobj * TABLES * et_return = g_t_return ** ET_CHARACTERISTICS = * EXCEPTIONS * not_possible_at_all = 1 * abort = 2 * error = 3 * OTHERS = 4 * .
CC_POPUP_INT_INPUT * CALL FUNCTION 'CC_POPUP_INT_INPUT' * EXPORTING * property_name = 'PackSize' ** IMPORTING ** VALUE_CHANGED = * CHANGING * int_value = l_packsize * .
RSCRMBW_REPORT * CALL FUNCTION 'RSCRMBW_REPORT' * EXPORTING * i_mode = 'SAVE' * i_reportuid = g_reportuid * i_repname = g_repname * i_reptxt = g_reptxt * IMPORTING * e_reportuid = g_reportuid * TABLES * e_t_return = g_t_return * e_t_mdx = g_t_mdx.
RSCRMBW_REPORT * CALL FUNCTION 'RSCRMBW_REPORT' * EXPORTING * i_mode = 'DELETE' * i_reportuid = g_reportuid * IMPORTING * e_reportuid = g_reportuid * TABLES * e_t_return = g_t_return.
BAPI_REPVIEW_DELETE CALL FUNCTION 'BAPI_REPVIEW_DELETE' "estination g_bapidest EXPORTING reportid = g_reportuid TABLES return = g_t_return .
RSCRMBW_VARIABLE_POPUP **** CALL FUNCTION 'RSCRMBW_VARIABLE_POPUP' **** "estination g_bwdest **** EXPORTING **** i_reportuid = g_s_session-reportuid **** TABLES **** e_t_mdx = g_t_mdx **** e_t_return = g_t_return.
BAPI_REPPROV_GETVARIABLEVALUE CALL FUNCTION 'BAPI_REPPROV_GETVARIABLEVALUE' EXPORTING sessionid = g_s_session-sessionid variablename = ' ' TABLES variablevalue = lt_varsel return = g_t_return.
RSCRM_REPORT_VARIABLE_F4 CALL FUNCTION 'RSCRM_REPORT_VARIABLE_F4' "estination g_bwdest EXPORTING i_reportuid = g_s_session-reportuid * I_VARIANT = TABLES i_t_crmvarsel = lt_varsel e_t_crmvarsel = g_t_crmvar * E_T_MDX = e_t_return = g_t_return .
RSCRMBW_REPORT **** CALL FUNCTION 'RSCRMBW_REPORT' "estination g_bwdest **** EXPORTING **** i_mode = 'PASS_MDX' **** i_reportuid = g_reportuid **** TABLES **** e_t_axis = g_t_crmaxis **** e_t_cell = g_t_crmcell **** e_t_return = g_t_return **** e_t_mdx = g_t_mdx.
* CALL FUNCTION 'RSCRMBW_KEY_FIGURES_SET' * EXPORTING * i_reportuid = g_reportuid * TABLES * i_t_crmkyf = lt_kyf * e_t_mdx = g_t_mdx * e_t_return = g_t_return.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_dyname dynumb = l_dynumb TABLES dynpfields = l_t_dynp EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.
DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = l_stepl EXCEPTIONS stepl_not_found = 1 OTHERS = 2.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'OPT' dynpprog = l_repid dynpnr = l_dynnr dynprofield = 'LOOPFAC-OPT' stepl = l_stepl value_org = 'S' TABLES value_tab = l_t_value EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = g_s_status-log_handle EXCEPTIONS OTHERS = 1.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = g_s_status-log_handle i_s_msg = l_s_msg EXCEPTIONS OTHERS = 1.
BAL_DSP_PROFILE_POPUP_GET CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET' IMPORTING e_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile i_t_log_handle = l_t_log_handle EXCEPTIONS OTHERS = 1.
BAL_LOG_MSG_DELETE_ALL CALL FUNCTION 'BAL_LOG_MSG_DELETE_ALL' EXPORTING i_log_handle = g_s_status-log_handle EXCEPTIONS log_not_found = 1 OTHERS = 2.
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 RSCRM_BAPI_REMOTEF02 or its description.