SAP FRML564_START_MODELING Function Module for NOTRANSL: Rezeptformel: E/A-Stoffe aus E/A-Materialien generieren
FRML564_START_MODELING is a standard frml564 start modeling 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: Rezeptformel: E/A-Stoffe aus E/A-Materialien generieren 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 frml564 start modeling FM, simply by entering the name FRML564_START_MODELING into the relevant SAP transaction such as SE37 or SE38.
Function Group: FRML564
Program Name: SAPLFRML564
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FRML564_START_MODELING 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 'FRML564_START_MODELING'"NOTRANSL: Rezeptformel: E/A-Stoffe aus E/A-Materialien generieren.
EXPORTING
IS_ADDINF = "RMS-FRM: Additional Information for Function Module Calls
* I_BASE_QTY = 100 "Base Quantity of a Formula
* I_BASE_UNIT = 'KG' "Base Unit of Measure of a Formula
IMPORTING
E_FLG_MESSAGE = "
E_FLG_CANCEL = "
ET_LOG = "RMS-FRM: Messages for Application Log
CHANGING
XT_IOTAB = "
XS_KEYPATH = "RMS-FRM: Formula 'Key' Path for Function Module Call
EXCEPTIONS
PARAMETER_ERROR = 1 NO_AUTHORITY = 2 CONVERSION_ERROR = 3 INTERNAL_ERROR = 4 API_ERROR = 5
IMPORTING Parameters details for FRML564_START_MODELING
IS_ADDINF - RMS-FRM: Additional Information for Function Module Calls
Data type: FRMLS_ADDINFOptional: No
Call by Reference: No ( called with pass by value option)
I_BASE_QTY - Base Quantity of a Formula
Data type: FRMLS_SCR_HDR-BASE_QUANDefault: 100
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BASE_UNIT - Base Unit of Measure of a Formula
Data type: FRMLS_SCR_HDR-BASE_UNITDefault: 'KG'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FRML564_START_MODELING
E_FLG_MESSAGE -
Data type: ESP1_BOOLEANOptional: No
Call by Reference: Yes
E_FLG_CANCEL -
Data type: ESP1_BOOLEANOptional: No
Call by Reference: Yes
ET_LOG - RMS-FRM: Messages for Application Log
Data type: FRMLTY_LOG_RECOptional: No
Call by Reference: Yes
CHANGING Parameters details for FRML564_START_MODELING
XT_IOTAB -
Data type: FRM10_IOT_SCR_TABOptional: No
Call by Reference: Yes
XS_KEYPATH - RMS-FRM: Formula 'Key' Path for Function Module Call
Data type: FRMLS_KEYPATHOptional: No
Call by Reference: Yes
EXCEPTIONS details
PARAMETER_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY - No authorization
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CONVERSION_ERROR - Translation Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - Internal error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
API_ERROR - Error in the API
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FRML564_START_MODELING 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_xt_iotab | TYPE FRM10_IOT_SCR_TAB, " | |||
| lv_is_addinf | TYPE FRMLS_ADDINF, " | |||
| lv_e_flg_message | TYPE ESP1_BOOLEAN, " | |||
| lv_parameter_error | TYPE ESP1_BOOLEAN, " | |||
| lv_i_base_qty | TYPE FRMLS_SCR_HDR-BASE_QUAN, " 100 | |||
| lv_xs_keypath | TYPE FRMLS_KEYPATH, " | |||
| lv_e_flg_cancel | TYPE ESP1_BOOLEAN, " | |||
| lv_no_authority | TYPE ESP1_BOOLEAN, " | |||
| lv_et_log | TYPE FRMLTY_LOG_REC, " | |||
| lv_i_base_unit | TYPE FRMLS_SCR_HDR-BASE_UNIT, " 'KG' | |||
| lv_conversion_error | TYPE FRMLS_SCR_HDR, " | |||
| lv_internal_error | TYPE FRMLS_SCR_HDR, " | |||
| lv_api_error | TYPE FRMLS_SCR_HDR. " |
|   CALL FUNCTION 'FRML564_START_MODELING' "NOTRANSL: Rezeptformel: E/A-Stoffe aus E/A-Materialien generieren |
| EXPORTING | ||
| IS_ADDINF | = lv_is_addinf | |
| I_BASE_QTY | = lv_i_base_qty | |
| I_BASE_UNIT | = lv_i_base_unit | |
| IMPORTING | ||
| E_FLG_MESSAGE | = lv_e_flg_message | |
| E_FLG_CANCEL | = lv_e_flg_cancel | |
| ET_LOG | = lv_et_log | |
| CHANGING | ||
| XT_IOTAB | = lv_xt_iotab | |
| XS_KEYPATH | = lv_xs_keypath | |
| EXCEPTIONS | ||
| PARAMETER_ERROR = 1 | ||
| NO_AUTHORITY = 2 | ||
| CONVERSION_ERROR = 3 | ||
| INTERNAL_ERROR = 4 | ||
| API_ERROR = 5 | ||
| . " FRML564_START_MODELING | ||
ABAP code using 7.40 inline data declarations to call FM FRML564_START_MODELING
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 BASE_QUAN FROM FRMLS_SCR_HDR INTO @DATA(ld_i_base_qty). | ||||
| DATA(ld_i_base_qty) | = 100. | |||
| "SELECT single BASE_UNIT FROM FRMLS_SCR_HDR INTO @DATA(ld_i_base_unit). | ||||
| DATA(ld_i_base_unit) | = 'KG'. | |||
Search for further information about these or an SAP related objects