SAP FM_GROUP_GET_OBJECTS_TO_RANGE Function Module for
FM_GROUP_GET_OBJECTS_TO_RANGE is a standard fm group get objects to range SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fm group get objects to range FM, simply by entering the name FM_GROUP_GET_OBJECTS_TO_RANGE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMRE
Program Name: SAPLFMRE
Main Program: SAPLFMRE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FM_GROUP_GET_OBJECTS_TO_RANGE 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 'FM_GROUP_GET_OBJECTS_TO_RANGE'".
EXPORTING
I_CLASS = "Set Class
I_GROUP_NAME = "
* I_FIKRS = "Financial Management Area
TABLES
* T_RGRANT = "
* T_RFINCD = "
* T_RFICTR = "
* T_RFIPEX = "
* T_RFAREA = "
* T_RMEAS = "
* T_RBUDPER = "
EXCEPTIONS
INPUT_ERROR = 1 ERROR_SETID_ENCRYPT = 2 ERROR_HIERARCHY_READ = 3
IMPORTING Parameters details for FM_GROUP_GET_OBJECTS_TO_RANGE
I_CLASS - Set Class
Data type: RGSBS-CLASSOptional: No
Call by Reference: No ( called with pass by value option)
I_GROUP_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
I_FIKRS - Financial Management Area
Data type: FM01-FIKRSOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FM_GROUP_GET_OBJECTS_TO_RANGE
T_RGRANT -
Data type: FMBS_T_RGRANT_NBROptional: Yes
Call by Reference: Yes
T_RFINCD -
Data type: FMBS_T_RFUNDOptional: Yes
Call by Reference: Yes
T_RFICTR -
Data type: FMBS_T_RFUNDSCTROptional: Yes
Call by Reference: Yes
T_RFIPEX -
Data type: FMBS_T_RCMMTITEMOptional: Yes
Call by Reference: Yes
T_RFAREA -
Data type: FMBS_T_RFUNCAREAOptional: Yes
Call by Reference: Yes
T_RMEAS -
Data type: FMBS_T_RMEASUREOptional: Yes
Call by Reference: Yes
T_RBUDPER -
Data type: FMBS_T_RBUDGETPDOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
INPUT_ERROR -
Data type:Optional: No
Call by Reference: Yes
ERROR_SETID_ENCRYPT -
Data type:Optional: No
Call by Reference: Yes
ERROR_HIERARCHY_READ -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FM_GROUP_GET_OBJECTS_TO_RANGE 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_class | TYPE RGSBS-CLASS, " | |||
| lt_t_rgrant | TYPE STANDARD TABLE OF FMBS_T_RGRANT_NBR, " | |||
| lv_input_error | TYPE FMBS_T_RGRANT_NBR, " | |||
| lt_t_rfincd | TYPE STANDARD TABLE OF FMBS_T_RFUND, " | |||
| lv_i_group_name | TYPE C, " | |||
| lv_error_setid_encrypt | TYPE C, " | |||
| lv_i_fikrs | TYPE FM01-FIKRS, " | |||
| lt_t_rfictr | TYPE STANDARD TABLE OF FMBS_T_RFUNDSCTR, " | |||
| lv_error_hierarchy_read | TYPE FMBS_T_RFUNDSCTR, " | |||
| lt_t_rfipex | TYPE STANDARD TABLE OF FMBS_T_RCMMTITEM, " | |||
| lt_t_rfarea | TYPE STANDARD TABLE OF FMBS_T_RFUNCAREA, " | |||
| lt_t_rmeas | TYPE STANDARD TABLE OF FMBS_T_RMEASURE, " | |||
| lt_t_rbudper | TYPE STANDARD TABLE OF FMBS_T_RBUDGETPD. " |
|   CALL FUNCTION 'FM_GROUP_GET_OBJECTS_TO_RANGE' " |
| EXPORTING | ||
| I_CLASS | = lv_i_class | |
| I_GROUP_NAME | = lv_i_group_name | |
| I_FIKRS | = lv_i_fikrs | |
| TABLES | ||
| T_RGRANT | = lt_t_rgrant | |
| T_RFINCD | = lt_t_rfincd | |
| T_RFICTR | = lt_t_rfictr | |
| T_RFIPEX | = lt_t_rfipex | |
| T_RFAREA | = lt_t_rfarea | |
| T_RMEAS | = lt_t_rmeas | |
| T_RBUDPER | = lt_t_rbudper | |
| EXCEPTIONS | ||
| INPUT_ERROR = 1 | ||
| ERROR_SETID_ENCRYPT = 2 | ||
| ERROR_HIERARCHY_READ = 3 | ||
| . " FM_GROUP_GET_OBJECTS_TO_RANGE | ||
ABAP code using 7.40 inline data declarations to call FM FM_GROUP_GET_OBJECTS_TO_RANGE
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.| "SELECT single CLASS FROM RGSBS INTO @DATA(ld_i_class). | ||||
| "SELECT single FIKRS FROM FM01 INTO @DATA(ld_i_fikrs). | ||||
Search for further information about these or an SAP related objects