SAP RM_RC_MAINTAIN_FGET Function Module for RM: Pflege und Verwaltung FGET
RM_RC_MAINTAIN_FGET is a standard rm rc maintain fget SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for RM: Pflege und Verwaltung FGET 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 rm rc maintain fget FM, simply by entering the name RM_RC_MAINTAIN_FGET into the relevant SAP transaction such as SE37 or SE38.
Function Group: RMY7
Program Name: SAPLRMY7
Main Program: SAPLRMY7
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RM_RC_MAINTAIN_FGET 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 'RM_RC_MAINTAIN_FGET'"RM: Pflege und Verwaltung FGET.
EXPORTING
I_FCODE = "Verarbeitungsfunkt. (Anzeigen, Ändern, Anlegen)
* I_JBRPPFGET = "
IMPORTING
E_FCODE = "Export-Funtkion (Übernehmen/Abbrechen/Ende?)
CHANGING
C_JBRDBKOET = "FGET-Kopfstruktur
C_JBRDBOPTI = "FGET-Optionsstruktur
TABLES
T_JBRDBBEWEG = "FGET-Bewegungstabelle (CF) in JBRDBBEWEG-Form
T_JBRDBFML = "FGET-Formeltabelle je Formel und existenter CF
EXCEPTIONS
ERROR_FOUND = 1
IMPORTING Parameters details for RM_RC_MAINTAIN_FGET
I_FCODE - Verarbeitungsfunkt. (Anzeigen, Ändern, Anlegen)
Data type: SY-TCODEOptional: No
Call by Reference: No ( called with pass by value option)
I_JBRPPFGET -
Data type: JBRPPFGETOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RM_RC_MAINTAIN_FGET
E_FCODE - Export-Funtkion (Übernehmen/Abbrechen/Ende?)
Data type: SY-TCODEOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for RM_RC_MAINTAIN_FGET
C_JBRDBKOET - FGET-Kopfstruktur
Data type: JBRDBKOETOptional: No
Call by Reference: No ( called with pass by value option)
C_JBRDBOPTI - FGET-Optionsstruktur
Data type: JBRDBOPTIOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RM_RC_MAINTAIN_FGET
T_JBRDBBEWEG - FGET-Bewegungstabelle (CF) in JBRDBBEWEG-Form
Data type: JBRDBBEWEGOptional: No
Call by Reference: No ( called with pass by value option)
T_JBRDBFML - FGET-Formeltabelle je Formel und existenter CF
Data type: JBRDBFMLOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_FOUND - Mitteilung eines Fehler in der Verarbeitung
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RM_RC_MAINTAIN_FGET 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_e_fcode | TYPE SY-TCODE, " | |||
| lv_i_fcode | TYPE SY-TCODE, " | |||
| lv_c_jbrdbkoet | TYPE JBRDBKOET, " | |||
| lv_error_found | TYPE JBRDBKOET, " | |||
| lt_t_jbrdbbeweg | TYPE STANDARD TABLE OF JBRDBBEWEG, " | |||
| lt_t_jbrdbfml | TYPE STANDARD TABLE OF JBRDBFML, " | |||
| lv_c_jbrdbopti | TYPE JBRDBOPTI, " | |||
| lv_i_jbrppfget | TYPE JBRPPFGET. " |
|   CALL FUNCTION 'RM_RC_MAINTAIN_FGET' "RM: Pflege und Verwaltung FGET |
| EXPORTING | ||
| I_FCODE | = lv_i_fcode | |
| I_JBRPPFGET | = lv_i_jbrppfget | |
| IMPORTING | ||
| E_FCODE | = lv_e_fcode | |
| CHANGING | ||
| C_JBRDBKOET | = lv_c_jbrdbkoet | |
| C_JBRDBOPTI | = lv_c_jbrdbopti | |
| TABLES | ||
| T_JBRDBBEWEG | = lt_t_jbrdbbeweg | |
| T_JBRDBFML | = lt_t_jbrdbfml | |
| EXCEPTIONS | ||
| ERROR_FOUND = 1 | ||
| . " RM_RC_MAINTAIN_FGET | ||
ABAP code using 7.40 inline data declarations to call FM RM_RC_MAINTAIN_FGET
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 TCODE FROM SY INTO @DATA(ld_e_fcode). | ||||
| "SELECT single TCODE FROM SY INTO @DATA(ld_i_fcode). | ||||
Search for further information about these or an SAP related objects