SAP FRML174_CHECK_ADAPT_HEADER Function Module for NOTRANSL: Formelkopf Felder prüfen und anpassen
FRML174_CHECK_ADAPT_HEADER is a standard frml174 check adapt header 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: Formelkopf Felder prüfen und anpassen 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 frml174 check adapt header FM, simply by entering the name FRML174_CHECK_ADAPT_HEADER into the relevant SAP transaction such as SE37 or SE38.
Function Group: FRML174
Program Name: SAPLFRML174
Main Program: SAPLFRML174
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FRML174_CHECK_ADAPT_HEADER 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 'FRML174_CHECK_ADAPT_HEADER'"NOTRANSL: Formelkopf Felder prüfen und anpassen.
EXPORTING
IS_HDR_OLD = "
* IT_ITEM = "
I_KEYDATE = "
IMPORTING
E_FLG_ERROR = "Indic.: 'X' = Errors in Changes to Header
ET_LOG = "
CHANGING
XS_HDR_NEW = "Changed Header Data
EXCEPTIONS
ERROR = 1 MISSING_PARAMETER = 2
IMPORTING Parameters details for FRML174_CHECK_ADAPT_HEADER
IS_HDR_OLD -
Data type: FRMLS_HDR_ALLOptional: No
Call by Reference: Yes
IT_ITEM -
Data type: FRM10_IOT_SCR_TABOptional: Yes
Call by Reference: Yes
I_KEYDATE -
Data type: FRM31_DATE_TYPEOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FRML174_CHECK_ADAPT_HEADER
E_FLG_ERROR - Indic.: 'X' = Errors in Changes to Header
Data type: FLAGOptional: No
Call by Reference: Yes
ET_LOG -
Data type: FRMLTY_LOG_RECOptional: No
Call by Reference: Yes
CHANGING Parameters details for FRML174_CHECK_ADAPT_HEADER
XS_HDR_NEW - Changed Header Data
Data type: FRMLS_HDR_ALLOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR - A serious error occurred
Data type:Optional: No
Call by Reference: Yes
MISSING_PARAMETER - Required Parameters Not Filled
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FRML174_CHECK_ADAPT_HEADER 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_error | TYPE STRING, " | |||
| lv_is_hdr_old | TYPE FRMLS_HDR_ALL, " | |||
| lv_xs_hdr_new | TYPE FRMLS_HDR_ALL, " | |||
| lv_e_flg_error | TYPE FLAG, " | |||
| lv_et_log | TYPE FRMLTY_LOG_REC, " | |||
| lv_it_item | TYPE FRM10_IOT_SCR_TAB, " | |||
| lv_missing_parameter | TYPE FRM10_IOT_SCR_TAB, " | |||
| lv_i_keydate | TYPE FRM31_DATE_TYPE. " |
|   CALL FUNCTION 'FRML174_CHECK_ADAPT_HEADER' "NOTRANSL: Formelkopf Felder prüfen und anpassen |
| EXPORTING | ||
| IS_HDR_OLD | = lv_is_hdr_old | |
| IT_ITEM | = lv_it_item | |
| I_KEYDATE | = lv_i_keydate | |
| IMPORTING | ||
| E_FLG_ERROR | = lv_e_flg_error | |
| ET_LOG | = lv_et_log | |
| CHANGING | ||
| XS_HDR_NEW | = lv_xs_hdr_new | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| MISSING_PARAMETER = 2 | ||
| . " FRML174_CHECK_ADAPT_HEADER | ||
ABAP code using 7.40 inline data declarations to call FM FRML174_CHECK_ADAPT_HEADER
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