SAP FRML209_AGGR_FLG_WRITE Function Module for NOTRANSL: RMS-FRM: Feld aggr_flg in Formelkopfpuffer schreiben
FRML209_AGGR_FLG_WRITE is a standard frml209 aggr flg write 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: Feld aggr_flg in Formelkopfpuffer schreiben 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 frml209 aggr flg write FM, simply by entering the name FRML209_AGGR_FLG_WRITE into the relevant SAP transaction such as SE37 or SE38.
Function Group: FRML209
Program Name: SAPLFRML209
Main Program: SAPLFRML209
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FRML209_AGGR_FLG_WRITE 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 'FRML209_AGGR_FLG_WRITE'"NOTRANSL: RMS-FRM: Feld aggr_flg in Formelkopfpuffer schreiben.
EXPORTING
I_RCP_FRML = "RMS-FRM: Object Identifier
I_VALDAT = "Key Date
* I_AENNR = "Change Number
I_AGGR_FLG = "Synchronization
IMPORTING
E_SUBID = "Substance
EXCEPTIONS
INTERNAL_ERROR = 1
IMPORTING Parameters details for FRML209_AGGR_FLG_WRITE
I_RCP_FRML - RMS-FRM: Object Identifier
Data type: FRMLE_RECNOptional: No
Call by Reference: Yes
I_VALDAT - Key Date
Data type: FRMLE_VALDATOptional: No
Call by Reference: Yes
I_AENNR - Change Number
Data type: FRMLE_AENNROptional: Yes
Call by Reference: Yes
I_AGGR_FLG - Synchronization
Data type: FRMLE_AGGR_FLGOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FRML209_AGGR_FLG_WRITE
E_SUBID - Substance
Data type: FRMLE_SUBIDOptional: No
Call by Reference: Yes
EXCEPTIONS details
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FRML209_AGGR_FLG_WRITE 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_subid | TYPE FRMLE_SUBID, " | |||
| lv_i_rcp_frml | TYPE FRMLE_RECN, " | |||
| lv_internal_error | TYPE FRMLE_RECN, " | |||
| lv_i_valdat | TYPE FRMLE_VALDAT, " | |||
| lv_i_aennr | TYPE FRMLE_AENNR, " | |||
| lv_i_aggr_flg | TYPE FRMLE_AGGR_FLG. " |
|   CALL FUNCTION 'FRML209_AGGR_FLG_WRITE' "NOTRANSL: RMS-FRM: Feld aggr_flg in Formelkopfpuffer schreiben |
| EXPORTING | ||
| I_RCP_FRML | = lv_i_rcp_frml | |
| I_VALDAT | = lv_i_valdat | |
| I_AENNR | = lv_i_aennr | |
| I_AGGR_FLG | = lv_i_aggr_flg | |
| IMPORTING | ||
| E_SUBID | = lv_e_subid | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| . " FRML209_AGGR_FLG_WRITE | ||
ABAP code using 7.40 inline data declarations to call FM FRML209_AGGR_FLG_WRITE
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