SAP GRPC_REPORT_CONNECTOR Function Module for Connector Assignment









GRPC_REPORT_CONNECTOR is a standard grpc report connector SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Connector Assignment processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for grpc report connector FM, simply by entering the name GRPC_REPORT_CONNECTOR into the relevant SAP transaction such as SE37 or SE38.

Function Group: GRPC_RULEENGINE
Program Name: SAPLGRPC_RULEENGINE
Main Program: SAPLGRPC_RULEENGINE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function GRPC_REPORT_CONNECTOR pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'GRPC_REPORT_CONNECTOR'"Connector Assignment
EXPORTING
* I_FLAG = "Check flag
* I_TIMEFRAME = "GRPC Entity API: Timeframe of the session
* I_TF_YEAR = "The year of the GRPC entity API session
* I_CONTROL_RULE_CONNECTOR = "Single-Character Flag
* I_RULE_SCRIPT_RLCR_CONNECTOR = "Boolean Variable (X=True, -=False, Space=Unknown)
* I_REGULATION = "Regulation

TABLES
* ET_CONNECTOR_CONTROL_RULE = "Connector Detail
* ET_TIMEFRAME = "The valueset for GRPC fields
* ET_TF_YEAR = "The valueset for GRPC fields
* ET_ORGUNIT_LIST = "Tbale for Orgunit list
* ET_PROCESS_LIST = "Process hire
* ET_SUBPROCESS_LIST = "Table type for subprocess list
* ET_CONTROL_HELP_LIST = "Control Search Help
* ET_RULEID_HELP_LIST = "Rule ID Search Help
* ET_CONNECTOR_SCRPT_RULE_RLCR = "Connector Detail
* ET_CONTROL_RULE = "Control Rule Assigment Linking Table
* ET_MESSAGE = "Table with BAPI Return Information
* ET_RULE_LIST = "Table type of Rule
* ET_RULESET_LIST = "Rule Parameter Table
* ET_SCRIPT_LIST = "Script Table
* ET_RLCR_DATA_LIST = "Rule Criteria Data Structure
* ET_RLCRSYSA_LIST = "Rule Criteria System Type Assignment Table
.



IMPORTING Parameters details for GRPC_REPORT_CONNECTOR

I_FLAG - Check flag

Data type: GRPC_CHECK_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TIMEFRAME - GRPC Entity API: Timeframe of the session

Data type: GRPC_API_SESSION_TIMEFRAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TF_YEAR - The year of the GRPC entity API session

Data type: GRPC_API_SESSION_TF_YEAR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONTROL_RULE_CONNECTOR - Single-Character Flag

Data type: BOOLEAN
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RULE_SCRIPT_RLCR_CONNECTOR - Boolean Variable (X=True, -=False, Space=Unknown)

Data type: BOOLEAN
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_REGULATION - Regulation

Data type: GRFN_REGULATION
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for GRPC_REPORT_CONNECTOR

ET_CONNECTOR_CONTROL_RULE - Connector Detail

Data type: GRPC_T_CONNECTOR_DETAIL
Optional: Yes
Call by Reference: Yes

ET_TIMEFRAME - The valueset for GRPC fields

Data type: GRPC_T_API_TIMEFRAME
Optional: Yes
Call by Reference: Yes

ET_TF_YEAR - The valueset for GRPC fields

Data type: GRPC_T_API_TF_YEAR
Optional: Yes
Call by Reference: Yes

ET_ORGUNIT_LIST - Tbale for Orgunit list

Data type: GRPC_T_ORGUNIT_LIST
Optional: Yes
Call by Reference: Yes

ET_PROCESS_LIST - Process hire

Data type: GRPC_T_API_PROCESS_LIST
Optional: Yes
Call by Reference: Yes

ET_SUBPROCESS_LIST - Table type for subprocess list

Data type: GRPC_T_API_SUBPROCESS_LIST
Optional: Yes
Call by Reference: Yes

ET_CONTROL_HELP_LIST - Control Search Help

Data type: GRPC_T_CONTROL_HELP
Optional: Yes
Call by Reference: Yes

ET_RULEID_HELP_LIST - Rule ID Search Help

Data type: GRPC_T_RULEID_HELP
Optional: Yes
Call by Reference: Yes

ET_CONNECTOR_SCRPT_RULE_RLCR - Connector Detail

Data type: GRPC_T_CONNECTOR_SCRPT_RULE_RV
Optional: Yes
Call by Reference: Yes

ET_CONTROL_RULE - Control Rule Assigment Linking Table

Data type: GRPC_T_API_CONTROL_RULE
Optional: Yes
Call by Reference: Yes

ET_MESSAGE - Table with BAPI Return Information

Data type: BAPIRETTAB
Optional: Yes
Call by Reference: Yes

ET_RULE_LIST - Table type of Rule

Data type: GRPC_T_API_RULE
Optional: Yes
Call by Reference: Yes

ET_RULESET_LIST - Rule Parameter Table

Data type: GRPC_T_API_RULESET
Optional: Yes
Call by Reference: Yes

ET_SCRIPT_LIST - Script Table

Data type: GRPC_T_API_SCRIPT
Optional: Yes
Call by Reference: Yes

ET_RLCR_DATA_LIST - Rule Criteria Data Structure

Data type: GRPC_T_API_RLCR_DATA
Optional: Yes
Call by Reference: Yes

ET_RLCRSYSA_LIST - Rule Criteria System Type Assignment Table

Data type: GRPC_T_API_RLCRSYSA
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for GRPC_REPORT_CONNECTOR Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_i_flag  TYPE GRPC_CHECK_FLAG, "   
lt_et_connector_control_rule  TYPE STANDARD TABLE OF GRPC_T_CONNECTOR_DETAIL, "   
lt_et_timeframe  TYPE STANDARD TABLE OF GRPC_T_API_TIMEFRAME, "   
lt_et_tf_year  TYPE STANDARD TABLE OF GRPC_T_API_TF_YEAR, "   
lt_et_orgunit_list  TYPE STANDARD TABLE OF GRPC_T_ORGUNIT_LIST, "   
lt_et_process_list  TYPE STANDARD TABLE OF GRPC_T_API_PROCESS_LIST, "   
lt_et_subprocess_list  TYPE STANDARD TABLE OF GRPC_T_API_SUBPROCESS_LIST, "   
lt_et_control_help_list  TYPE STANDARD TABLE OF GRPC_T_CONTROL_HELP, "   
lt_et_ruleid_help_list  TYPE STANDARD TABLE OF GRPC_T_RULEID_HELP, "   
lv_i_timeframe  TYPE GRPC_API_SESSION_TIMEFRAME, "   
lt_et_connector_scrpt_rule_rlcr  TYPE STANDARD TABLE OF GRPC_T_CONNECTOR_SCRPT_RULE_RV, "   
lv_i_tf_year  TYPE GRPC_API_SESSION_TF_YEAR, "   
lt_et_control_rule  TYPE STANDARD TABLE OF GRPC_T_API_CONTROL_RULE, "   
lt_et_message  TYPE STANDARD TABLE OF BAPIRETTAB, "   
lv_i_control_rule_connector  TYPE BOOLEAN, "   
lt_et_rule_list  TYPE STANDARD TABLE OF GRPC_T_API_RULE, "   
lv_i_rule_script_rlcr_connector  TYPE BOOLEAN, "   
lv_i_regulation  TYPE GRFN_REGULATION, "   
lt_et_ruleset_list  TYPE STANDARD TABLE OF GRPC_T_API_RULESET, "   
lt_et_script_list  TYPE STANDARD TABLE OF GRPC_T_API_SCRIPT, "   
lt_et_rlcr_data_list  TYPE STANDARD TABLE OF GRPC_T_API_RLCR_DATA, "   
lt_et_rlcrsysa_list  TYPE STANDARD TABLE OF GRPC_T_API_RLCRSYSA. "   

  CALL FUNCTION 'GRPC_REPORT_CONNECTOR'  "Connector Assignment
    EXPORTING
         I_FLAG = lv_i_flag
         I_TIMEFRAME = lv_i_timeframe
         I_TF_YEAR = lv_i_tf_year
         I_CONTROL_RULE_CONNECTOR = lv_i_control_rule_connector
         I_RULE_SCRIPT_RLCR_CONNECTOR = lv_i_rule_script_rlcr_connector
         I_REGULATION = lv_i_regulation
    TABLES
         ET_CONNECTOR_CONTROL_RULE = lt_et_connector_control_rule
         ET_TIMEFRAME = lt_et_timeframe
         ET_TF_YEAR = lt_et_tf_year
         ET_ORGUNIT_LIST = lt_et_orgunit_list
         ET_PROCESS_LIST = lt_et_process_list
         ET_SUBPROCESS_LIST = lt_et_subprocess_list
         ET_CONTROL_HELP_LIST = lt_et_control_help_list
         ET_RULEID_HELP_LIST = lt_et_ruleid_help_list
         ET_CONNECTOR_SCRPT_RULE_RLCR = lt_et_connector_scrpt_rule_rlcr
         ET_CONTROL_RULE = lt_et_control_rule
         ET_MESSAGE = lt_et_message
         ET_RULE_LIST = lt_et_rule_list
         ET_RULESET_LIST = lt_et_ruleset_list
         ET_SCRIPT_LIST = lt_et_script_list
         ET_RLCR_DATA_LIST = lt_et_rlcr_data_list
         ET_RLCRSYSA_LIST = lt_et_rlcrsysa_list
. " GRPC_REPORT_CONNECTOR




ABAP code using 7.40 inline data declarations to call FM GRPC_REPORT_CONNECTOR

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!