SAP FRML771_FFO_ADD_FORMULA_DATA Function Module for NOTRANSL: Liest Formelausgabedaten (zusätzlich RMS2.2)









FRML771_FFO_ADD_FORMULA_DATA is a standard frml771 ffo add formula data 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: Liest Formelausgabedaten (zusätzlich RMS2.2) 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 frml771 ffo add formula data FM, simply by entering the name FRML771_FFO_ADD_FORMULA_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function FRML771_FFO_ADD_FORMULA_DATA 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 'FRML771_FFO_ADD_FORMULA_DATA'"NOTRANSL: Liest Formelausgabedaten (zusätzlich RMS2.2)
EXPORTING
IS_HEADER = "Substance
* I_VALDAT = "Key Date
I_AENNR = "Change Number
IT_DDIC_DEFINITION = "RMS-TLS: DDIC Definition of a Hierarchy Object
IS_APPL_PARAM = "Application Parameters for Simple Output
IS_ENTITY_FLAGS = "RMS-FRM: 4RCPFormula Output:Internal: Entity Flags
* IS_RCP = "RMS-RCP: API - Recipe Data Structure
IO_PROT = "Instance Calculation Log

CHANGING
XS_FORMULA_DATA = "Formula Output

EXCEPTIONS
READ_ERROR = 1
.



IMPORTING Parameters details for FRML771_FFO_ADD_FORMULA_DATA

IS_HEADER - Substance

Data type: FRMLS_OTPT_4RCP_HEADER
Optional: No
Call by Reference: Yes

I_VALDAT - Key Date

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

I_AENNR - Change Number

Data type: RMSAE_AENNR
Optional: No
Call by Reference: Yes

IT_DDIC_DEFINITION - RMS-TLS: DDIC Definition of a Hierarchy Object

Data type: FRM75_DDIC_DEF_TAB_TYPE
Optional: No
Call by Reference: Yes

IS_APPL_PARAM - Application Parameters for Simple Output

Data type: FRMLS_APPL_PARAM_SIMPLEOUT
Optional: No
Call by Reference: Yes

IS_ENTITY_FLAGS - RMS-FRM: 4RCPFormula Output:Internal: Entity Flags

Data type: FRMLS_OTPT_4RCP_ENTITY_FLAGS
Optional: No
Call by Reference: Yes

IS_RCP - RMS-RCP: API - Recipe Data Structure

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

IO_PROT - Instance Calculation Log

Data type: CL_RMST_PROT
Optional: No
Call by Reference: Yes

CHANGING Parameters details for FRML771_FFO_ADD_FORMULA_DATA

XS_FORMULA_DATA - Formula Output

Data type: FRMLS_OTPT_4RCP_FORMULA_DATA
Optional: No
Call by Reference: Yes

EXCEPTIONS details

READ_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FRML771_FFO_ADD_FORMULA_DATA 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_is_header  TYPE FRMLS_OTPT_4RCP_HEADER, "   
lv_read_error  TYPE FRMLS_OTPT_4RCP_HEADER, "   
lv_xs_formula_data  TYPE FRMLS_OTPT_4RCP_FORMULA_DATA, "   
lv_i_valdat  TYPE FRMLE_VALDAT, "   
lv_i_aennr  TYPE RMSAE_AENNR, "   
lv_it_ddic_definition  TYPE FRM75_DDIC_DEF_TAB_TYPE, "   
lv_is_appl_param  TYPE FRMLS_APPL_PARAM_SIMPLEOUT, "   
lv_is_entity_flags  TYPE FRMLS_OTPT_4RCP_ENTITY_FLAGS, "   
lv_is_rcp  TYPE RCPS_API_RCP, "   
lv_io_prot  TYPE CL_RMST_PROT. "   

  CALL FUNCTION 'FRML771_FFO_ADD_FORMULA_DATA'  "NOTRANSL: Liest Formelausgabedaten (zusätzlich RMS2.2)
    EXPORTING
         IS_HEADER = lv_is_header
         I_VALDAT = lv_i_valdat
         I_AENNR = lv_i_aennr
         IT_DDIC_DEFINITION = lv_it_ddic_definition
         IS_APPL_PARAM = lv_is_appl_param
         IS_ENTITY_FLAGS = lv_is_entity_flags
         IS_RCP = lv_is_rcp
         IO_PROT = lv_io_prot
    CHANGING
         XS_FORMULA_DATA = lv_xs_formula_data
    EXCEPTIONS
        READ_ERROR = 1
. " FRML771_FFO_ADD_FORMULA_DATA




ABAP code using 7.40 inline data declarations to call FM FRML771_FFO_ADD_FORMULA_DATA

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



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!