SAP FRML111_CALL_CUSTOMER_FUNCTION Function Module for NOTRANSL: RMS-FRM: Aufruf Menü-Exit
FRML111_CALL_CUSTOMER_FUNCTION is a standard frml111 call customer function SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: RMS-FRM: Aufruf Menü-Exit 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 frml111 call customer function FM, simply by entering the name FRML111_CALL_CUSTOMER_FUNCTION into the relevant SAP transaction such as SE37 or SE38.
Function Group: FRML111
Program Name: SAPLFRML111
Main Program: SAPLFRML111
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FRML111_CALL_CUSTOMER_FUNCTION 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 'FRML111_CALL_CUSTOMER_FUNCTION'"NOTRANSL: RMS-FRM: Aufruf Menü-Exit.
EXPORTING
I_ACTYPE = "Activity Type in the Transaction
I_PICGRP = "Screen Group
I_PANEL = "Identifies current screen display
I_TRTYPE = "Transaction Type
I_ADDINF = "EHS: Additional Information for Function Module Calls
I_KEYPATH = "'Key' Path Substance/List/Property for FM Call
I_OKCODE = "OK Code
IMPORTING
E_OKCODE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_FLG_CHANGED = "Data was changed
E_FLG_STAY = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TABLES
I_FRML_TAB = "EHS: Structure for substance search and identifier selection
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLFRML111_001
EXIT_SAPLFRML111_002
EXIT_SAPLFRML111_003
EXIT_SAPLFRML111_004
IMPORTING Parameters details for FRML111_CALL_CUSTOMER_FUNCTION
I_ACTYPE - Activity Type in the Transaction
Data type: AKTYPOptional: No
Call by Reference: Yes
I_PICGRP - Screen Group
Data type: BLDGROptional: No
Call by Reference: Yes
I_PANEL - Identifies current screen display
Data type: PANELOptional: No
Call by Reference: Yes
I_TRTYPE - Transaction Type
Data type: TRTYPOptional: No
Call by Reference: Yes
I_ADDINF - EHS: Additional Information for Function Module Calls
Data type: RCGADDINFOptional: No
Call by Reference: Yes
I_KEYPATH - 'Key' Path Substance/List/Property for FM Call
Data type: RCGKPATHOptional: No
Call by Reference: Yes
I_OKCODE - OK Code
Data type: ESP1_OKCODE_TYPEOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FRML111_CALL_CUSTOMER_FUNCTION
E_OKCODE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: ESP1_OKCODE_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
E_FLG_CHANGED - Data was changed
Data type: ESP1_BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
E_FLG_STAY - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: ESP1_BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FRML111_CALL_CUSTOMER_FUNCTION
I_FRML_TAB - EHS: Structure for substance search and identifier selection
Data type: RCGIDENTOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FRML111_CALL_CUSTOMER_FUNCTION 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_okcode | TYPE ESP1_OKCODE_TYPE, " | |||
| lv_i_actype | TYPE AKTYP, " | |||
| lt_i_frml_tab | TYPE STANDARD TABLE OF RCGIDENT, " | |||
| lv_i_picgrp | TYPE BLDGR, " | |||
| lv_e_flg_changed | TYPE ESP1_BOOLEAN, " | |||
| lv_i_panel | TYPE PANEL, " | |||
| lv_e_flg_stay | TYPE ESP1_BOOLEAN, " | |||
| lv_i_trtype | TYPE TRTYP, " | |||
| lv_i_addinf | TYPE RCGADDINF, " | |||
| lv_i_keypath | TYPE RCGKPATH, " | |||
| lv_i_okcode | TYPE ESP1_OKCODE_TYPE. " |
|   CALL FUNCTION 'FRML111_CALL_CUSTOMER_FUNCTION' "NOTRANSL: RMS-FRM: Aufruf Menü-Exit |
| EXPORTING | ||
| I_ACTYPE | = lv_i_actype | |
| I_PICGRP | = lv_i_picgrp | |
| I_PANEL | = lv_i_panel | |
| I_TRTYPE | = lv_i_trtype | |
| I_ADDINF | = lv_i_addinf | |
| I_KEYPATH | = lv_i_keypath | |
| I_OKCODE | = lv_i_okcode | |
| IMPORTING | ||
| E_OKCODE | = lv_e_okcode | |
| E_FLG_CHANGED | = lv_e_flg_changed | |
| E_FLG_STAY | = lv_e_flg_stay | |
| TABLES | ||
| I_FRML_TAB | = lt_i_frml_tab | |
| . " FRML111_CALL_CUSTOMER_FUNCTION | ||
ABAP code using 7.40 inline data declarations to call FM FRML111_CALL_CUSTOMER_FUNCTION
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