SAP FRML145_ENTRY Function Module for NOTRANSL: RMS-FRM: Einstieg in 'Formel anlegen mit Vorlage'









FRML145_ENTRY is a standard frml145 entry 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: Einstieg in 'Formel anlegen mit Vorlage' 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 frml145 entry FM, simply by entering the name FRML145_ENTRY into the relevant SAP transaction such as SE37 or SE38.

Function Group: FRML145
Program Name: SAPLFRML145
Main Program:
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FRML145_ENTRY 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 'FRML145_ENTRY'"NOTRANSL: RMS-FRM: Einstieg in 'Formel anlegen mit Vorlage'
EXPORTING
I_ACTYPE = "Activity category in SAP transaction
I_PICGRP = "Screen group
I_PANEL = "Name of the current screen display
I_TRTYPE = "Transaction type
I_ADDINF = "Additional information
I_KEYPATH = "RMS-FRM: Formula 'Key' Path for Function Module Call

IMPORTING
E_FLG_ERROR = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_OKCODE = "ABAP System Field: PAI-Triggering Function Code

EXCEPTIONS
NO_AUHORITY = 1
.



IMPORTING Parameters details for FRML145_ENTRY

I_ACTYPE - Activity category in SAP transaction

Data type: FRMLS_DIALCTR-ACTYPE
Optional: No
Call by Reference: No ( called with pass by value option)

I_PICGRP - Screen group

Data type: FRMLS_DIALCTR-PICGRP
Optional: No
Call by Reference: No ( called with pass by value option)

I_PANEL - Name of the current screen display

Data type: FRMLS_DIALCTR-PANEL
Optional: No
Call by Reference: No ( called with pass by value option)

I_TRTYPE - Transaction type

Data type: FRMLS_DIALCTR-TRTYPE
Optional: No
Call by Reference: No ( called with pass by value option)

I_ADDINF - Additional information

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

I_KEYPATH - RMS-FRM: Formula 'Key' Path for Function Module Call

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

EXPORTING Parameters details for FRML145_ENTRY

E_FLG_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_OKCODE - ABAP System Field: PAI-Triggering Function Code

Data type: SY-UCOMM
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_AUHORITY - No Authorization

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FRML145_ENTRY 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_actype  TYPE FRMLS_DIALCTR-ACTYPE, "   
lv_e_flg_error  TYPE ESP1_BOOLEAN, "   
lv_no_auhority  TYPE ESP1_BOOLEAN, "   
lv_e_okcode  TYPE SY-UCOMM, "   
lv_i_picgrp  TYPE FRMLS_DIALCTR-PICGRP, "   
lv_i_panel  TYPE FRMLS_DIALCTR-PANEL, "   
lv_i_trtype  TYPE FRMLS_DIALCTR-TRTYPE, "   
lv_i_addinf  TYPE FRMLS_ADDINF, "   
lv_i_keypath  TYPE FRMLS_KEYPATH. "   

  CALL FUNCTION 'FRML145_ENTRY'  "NOTRANSL: RMS-FRM: Einstieg in 'Formel anlegen mit Vorlage'
    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
    IMPORTING
         E_FLG_ERROR = lv_e_flg_error
         E_OKCODE = lv_e_okcode
    EXCEPTIONS
        NO_AUHORITY = 1
. " FRML145_ENTRY




ABAP code using 7.40 inline data declarations to call FM FRML145_ENTRY

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 ACTYPE FROM FRMLS_DIALCTR INTO @DATA(ld_i_actype).
 
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_e_okcode).
 
"SELECT single PICGRP FROM FRMLS_DIALCTR INTO @DATA(ld_i_picgrp).
 
"SELECT single PANEL FROM FRMLS_DIALCTR INTO @DATA(ld_i_panel).
 
"SELECT single TRTYPE FROM FRMLS_DIALCTR INTO @DATA(ld_i_trtype).
 
 
 


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!