SAP FRML301_DEF_EXPL_FLG_SET Function Module for NOTRANSL: RMS-FRM: Schreiben von Formulas









FRML301_DEF_EXPL_FLG_SET is a standard frml301 def expl flg set 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: Schreiben von Formulas 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 frml301 def expl flg set FM, simply by entering the name FRML301_DEF_EXPL_FLG_SET into the relevant SAP transaction such as SE37 or SE38.

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



Function FRML301_DEF_EXPL_FLG_SET 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 'FRML301_DEF_EXPL_FLG_SET'"NOTRANSL: RMS-FRM: Schreiben von Formulas
EXPORTING
* I_WRITE_SCENARIO = 'S' "
* I_AENNR = "
I_VALDAT = "
I_FURTHER_SETTINGS = "

TABLES
* X_HDR_TAB = "
* X_OUP_TAB = "
* X_OUA_TAB = "
* X_OUM_TAB = "
* X_OUS_TAB = "
* X_OUI_TAB = "
* X_OSD_TAB = "

EXCEPTIONS
INTERNAL_ERROR = 1 PARAMETER_ERROR = 2 CHANGE_NUMBER_NOT_FOUND = 3
.



IMPORTING Parameters details for FRML301_DEF_EXPL_FLG_SET

I_WRITE_SCENARIO -

Data type: FRM31_WRITE_SCENARIO_TYPE
Default: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AENNR -

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

I_VALDAT -

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

I_FURTHER_SETTINGS -

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

TABLES Parameters details for FRML301_DEF_EXPL_FLG_SET

X_HDR_TAB -

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

X_OUP_TAB -

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

X_OUA_TAB -

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

X_OUM_TAB -

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

X_OUS_TAB -

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

X_OUI_TAB -

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

X_OSD_TAB -

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

EXCEPTIONS details

INTERNAL_ERROR -

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

PARAMETER_ERROR -

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

CHANGE_NUMBER_NOT_FOUND -

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

Copy and paste ABAP code example for FRML301_DEF_EXPL_FLG_SET 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:
lt_x_hdr_tab  TYPE STANDARD TABLE OF FRM31_HDR_TAB_TYPE, "   
lv_internal_error  TYPE FRM31_HDR_TAB_TYPE, "   
lv_i_write_scenario  TYPE FRM31_WRITE_SCENARIO_TYPE, "   'S'
lv_i_aennr  TYPE FRM31_AENNR_TYPE, "   
lt_x_oup_tab  TYPE STANDARD TABLE OF FRM31_OUP_TAB_TYPE, "   
lv_parameter_error  TYPE FRM31_OUP_TAB_TYPE, "   
lv_i_valdat  TYPE FRM31_DATE_TYPE, "   
lt_x_oua_tab  TYPE STANDARD TABLE OF FRM31_OUA_TAB_TYPE, "   
lv_change_number_not_found  TYPE FRM31_OUA_TAB_TYPE, "   
lt_x_oum_tab  TYPE STANDARD TABLE OF FRM31_OUM_TAB_TYPE, "   
lv_i_further_settings  TYPE FRM31_FURTHER_SETTINGS_TYPE, "   
lt_x_ous_tab  TYPE STANDARD TABLE OF FRM31_OUS_TAB_TYPE, "   
lt_x_oui_tab  TYPE STANDARD TABLE OF FRM31_OUI_TAB_TYPE, "   
lt_x_osd_tab  TYPE STANDARD TABLE OF FRM31_OSD_TAB_TYPE. "   

  CALL FUNCTION 'FRML301_DEF_EXPL_FLG_SET'  "NOTRANSL: RMS-FRM: Schreiben von Formulas
    EXPORTING
         I_WRITE_SCENARIO = lv_i_write_scenario
         I_AENNR = lv_i_aennr
         I_VALDAT = lv_i_valdat
         I_FURTHER_SETTINGS = lv_i_further_settings
    TABLES
         X_HDR_TAB = lt_x_hdr_tab
         X_OUP_TAB = lt_x_oup_tab
         X_OUA_TAB = lt_x_oua_tab
         X_OUM_TAB = lt_x_oum_tab
         X_OUS_TAB = lt_x_ous_tab
         X_OUI_TAB = lt_x_oui_tab
         X_OSD_TAB = lt_x_osd_tab
    EXCEPTIONS
        INTERNAL_ERROR = 1
        PARAMETER_ERROR = 2
        CHANGE_NUMBER_NOT_FOUND = 3
. " FRML301_DEF_EXPL_FLG_SET




ABAP code using 7.40 inline data declarations to call FM FRML301_DEF_EXPL_FLG_SET

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.

 
 
DATA(ld_i_write_scenario) = 'S'.
 
 
 
 
 
 
 
 
 
 
 
 


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!