GRPC_AC_ADD_SCRIPT_CONN_CHECK 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 GRPC_AC_ADD_SCRIPT_CONN_CHECK 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: Include GRPC_AC_ADD_SCRIPT_CONN_CHECK
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GRPC_API_SESSION_OPEN call function 'GRPC_API_SESSION_OPEN' exporting i_language = sy-langu * i_timeframe = i_timeframe * i_tf_year = i_tf_year importing e_session_id = lv_session_id tables et_message = lt_message. "e_return_code = return_code
GRPC_API_SCRIPT_RETRIEVE call function 'GRPC_API_SCRIPT_RETRIEVE' exporting i_session_id = lv_session_id i_script_id = lv_script_id * i_editable = iv_editable importing e_return_code = lv_return_code es_script = ls_script tables * et_script_rlcr = lt_script_rlcr et_script_rlcr = lt_script_rlcr et_script_conn = lt_script_conn et_message = lt_message.
GRPC_SYSTEMTYPE_GET call function 'GRPC_SYSTEMTYPE_GET' exporting iv_langu = sy-langu importing et_systemtypes = lt_systemtypes.
DDIF_DOMA_GET call function 'DDIF_DOMA_GET' exporting name = 'GRPC_RLCR_TYPE' state = 'A' langu = sy-langu tables dd07v_tab = lt_rlcr_typ.
GRPC_API_RLCR_RETRIEVE call function 'GRPC_API_RLCR_RETRIEVE' exporting i_session_id = lv_session_id i_rulevar_id =
-rulevar_id importing es_rlcr = ls_rlcr_data" i_editable = i_editable e_return_code = lv_return_code tables et_rlcrsysa_list = lt_rlcrsysa et_message = lt_message[].
DD_DOMVALUE_TEXT_GET call function 'DD_DOMVALUE_TEXT_GET' exporting domname = domname value = domvalue langu = sy-langu importing dd07v_wa = w_dd07v rc = lv_rc.
DD_DOMVALUE_TEXT_GET call function 'DD_DOMVALUE_TEXT_GET' exporting domname = domname value = domvalue langu = sy-langu importing dd07v_wa = w_dd07v rc = lv_rc.
GRPC_AC_SCRIPT_CREATE call function 'GRPC_AC_SCRIPT_CREATE' exporting i_connector = ls_script_conn-connector i_systemtype = ls_script-systemtype i_scripttype = ls_script-scripttype i_tabtype = lv_tabtype * is_script = is_script_control is_script = ls_script_control i_viewname = lv_viewname i_tabname = lv_def_tabname importing e_return_code = ev_return_code et_message = lt_message[].
GRPC_AC_METADATA_RETRIEVE call function 'GRPC_AC_METADATA_RETRIEVE' exporting i_connector = iv_connector i_systemtype = iv_systemtype i_scripttype = iv_scripttype i_scriptcategory = iv_scriptcatg i_objectname = iv_objectname i_tabletype = iv_tabtype i_sapview = iv_sapview importing e_return_code = ev_return_code et_message = et_message[] et_parameterlist = lt_parameter.
GRPC_SYSTEMTYPE_GET call function 'GRPC_SYSTEMTYPE_GET' exporting iv_langu = sy-langu * IV_SYSTEMTYPE = importing et_systemtypes = lt_systemtypes.
DDIF_DOMA_GET call function 'DDIF_DOMA_GET' exporting name = 'GRPC_RLCR_TYPE' state = 'A' langu = sy-langu tables dd07v_tab = lt_rlcr_typ.
GRPC_AC_CONNECTOR_DATA_CHECK call function 'GRPC_AC_CONNECTOR_DATA_CHECK' exporting i_check_connector = iv_check_connector i_check_fieldname = iv_check_fieldname i_check_grpcrta_ctrldef = lv_check_grpcrta_ctrldef i_connector = iv_connector i_check_grpcrta_tscrtbl = lv_check_grpcrta_tscrtbl i_scripttype = p_ls_script-scripttype i_systemtype = p_ls_script-systemtype importing et_message = et_message ev_invalid_connector = lv_invalid_connector ev_invalid_tabname = lv_invalid_tabname ev_invalid_fieldname = lv_invalid_fieldname ev_invalid_rlcr = lv_invalid_rlcr tables it_connector = lt_script_conn it_rlcrsysa = it_rlcrsysa exceptions invalid_connector = 1 invalid_rfc_connector = 2 invalid_tabname = 3 invalid_fieldname = 4 invalid_rta_script_entry = 5 invalid_ruleid = 6 invalid_script = 7 invalid_grpcrta_ctrldef = 8 invalid_system_issue = 9 invalid_connector_for_systype = 10.
GRPC_AC_METADATA_RETRIEVE call function 'GRPC_AC_METADATA_RETRIEVE' exporting i_connector = p_conn i_systemtype = p_ls_script-systemtype i_scripttype = p_ls_script-scripttype i_scriptcategory = p_ls_script-scriptcatg i_objectname = lv_object_name i_tabletype = lv_tabletype i_sapview = space importing e_return_code = lv_rc et_message = lt_message et_parameterlist_prog = primary_parameterlist_prog.
GRPC_AC_METADATA_RETRIEVE call function 'GRPC_AC_METADATA_RETRIEVE' exporting i_connector = ls_script_conn-connector i_systemtype = p_ls_script-systemtype i_scripttype = p_ls_script-scripttype i_scriptcategory = p_ls_script-scriptcatg i_objectname = lv_object_name i_tabletype = lv_tabletype i_sapview = space importing e_return_code = lv_rc et_message = lt_message et_parameterlist_prog = lt_parameterlist_prog.
GRPC_AC_METADATA_RETRIEVE call function 'GRPC_AC_METADATA_RETRIEVE' exporting i_session_id = lv_session_id i_connector = i_connector i_systemtype = i_systype i_scripttype = lv_scripttype i_scriptcategory = i_scriptcatg i_sapview = space * i_objectname = * i_tabletype = is_query_info = ls_qry_info * i_query_id = i_info_query_id importing e_return_code = e_return_code et_message = et_message[] * et_parameterlist = et_parameterlist_prog = et_parameterlist_prog[].
GRPC_API_QRY_COLUMNS_RETRIEVE * call function 'GRPC_API_QRY_COLUMNS_RETRIEVE' * exporting * i_session_id = v_session_id * i_systype = i_systype * i_connector = i_connector * i_usergroup = i_usergroup * i_queryname = i_queryname * i_workspace = i_workspace * importing * e_return_code = e_return_code * tables * et_message = et_message * et_query_parametrs = et_query_parametrs.
GRPC_QRY_INTEGRATION_RETRIEVE call function 'GRPC_QRY_INTEGRATION_RETRIEVE' exporting i_connector = i_connector i_query_id = i_queryname importing et_parameters = et_query_parametrs[] e_return_code = e_return_code et_message = et_message[].
GRPC_AC_SEARCH call function 'GRPC_AC_SEARCH' exporting * I_SESSION_ID = i_systemtype = iv_systemtype i_connector = iv_connector i_scripttype = iv_scripttype i_scriptcategory = iv_scriptcategory i_objectname = iv_objectname i_tabletype = iv_tabtype importing e_return_code = ev_return_code et_message = et_message[] et_objectlist = lt_objectlist[].
* call function 'GRPC_API_QUERY_CATALOG_SEARCH' * exporting * i_session_id = v_session_id * i_systype = i_systype "'SAP' "cl_grpc_constants=>C_SYSTYPE_SAP " To get the constants.
GRPC_API_QUERY_CATALOG_SEARCH * call function 'GRPC_API_QUERY_CATALOG_SEARCH' * exporting * i_session_id = v_session_id * i_systype = i_systype * i_connector = i_connector * i_usergroup = i_usergroup * i_workspace = 'G' * i_query_name = i_query_name * importing * e_return_code = e_return_code * tables * et_message = et_message * et_grpc_query = lt_grpc_query.
GRPC_AC_SEARCH call function 'GRPC_AC_SEARCH' exporting i_session_id = lv_session_id i_systemtype = i_systype i_connector = i_connector i_scripttype = lv_scripttype * I_SCRIPTCATEGORY = i_objectname = i_query_name i_usergroup = i_usergroup * I_TABLETYPE = ' ' * I_ROWS = importing e_return_code = lv_rc et_message = et_message[] et_querylist = lt_grpc_query[].
GRPC_QRY_INTEGRATION_QUERY call function 'GRPC_QRY_INTEGRATION_QUERY' exporting i_connector = i_connector i_query_name = i_query_name i_category = lv_category i_username = lv_user importing e_return_code = e_return_code et_grpc_query = et_grpc_query[] et_message = et_message[].
GRPC_AC_SEARCH call function 'GRPC_AC_SEARCH' exporting i_systemtype = stru_script-systemtype i_connector = ls_conn-connector i_scripttype = stru_script-scripttype i_objectname = lv_object_name i_tabletype = lv_tabtype importing e_return_code = lv_rc et_message = lt_message et_programlist = lt_programlist.
DD_DOMVALUE_TEXT_GET call function 'DD_DOMVALUE_TEXT_GET' exporting domname = domname value = domvalue langu = sy-langu importing dd07v_wa = w_dd07v rc = lv_rc.
BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = p_type cl = lv_msgid number = p_number par1 = l_par1 par2 = l_par2 par3 = l_par3 par4 = l_par4 * LOG_NO = ' ' * LOG_MSG_NO = ' ' importing return = ev_msg.
GUID_CREATE call function 'GUID_CREATE' "#EC FB_OLDED importing ev_guid_22 = lv_guid_22.
GUID_CREATE call function 'GUID_CREATE' importing ev_guid_22 = lv_guid_22.
GRPC_RLCRTECH_READ call function 'GRPC_RLCRTECH_READ' exporting iv_rulevartech = iv_rulevartech iv_langu = sy-langu importing es_rlcr = rs_rlcr.
GRPC_API_RLCR_RETRIEVE call function 'GRPC_API_RLCR_RETRIEVE' exporting i_session_id = lv_session_id i_rulevar_id = iv_rulevar_id i_editable = abap_false importing e_return_code = lv_rc tables et_rlcrsysa_list = et_rlcrsysa_list et_message = lt_message[].
GRPC_API_RLCR_RETRIEVE call function 'GRPC_API_RLCR_RETRIEVE' exporting i_session_id = lv_session_id i_rulevar_id = iv_rulevar_id i_editable = abap_false importing es_rlcr = es_rlcr tables et_message = et_message[].
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 GRPC_AC_ADD_SCRIPT_CONN_CHECK or its description.
GRPC_AC_ADD_SCRIPT_CONN_CHECK - Include GRPC_AC_ADD_SCRIPT_CONN_CHECK GRPC_AC_ADD_SCRIPT_CONN - Add Script Primary Connector and update Rule Status GRPC_AC_ADD_SCRIPT_CONN - Add Script Primary Connector and update Rule Status GRPC_ACC_CONV_SUBPROCESS - Assgn Account Group from reference Risk to Subprocess GRPC_ACC_CONV_SUBPROCESS - Assgn Account Group from reference Risk to Subprocess GRPC_ACC_CONV_RISK - Clean up Indirect Account Risk Control relation data