SAP EXIT_SAPLFMKN_003 Function Module for Compile FM Control Number
EXIT_SAPLFMKN_003 is a standard exit saplfmkn 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Compile FM Control Number 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 exit saplfmkn 003 FM, simply by entering the name EXIT_SAPLFMKN_003 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XFMY
Program Name: SAPLXFMY
Main Program: SAPLXFMY
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLFMKN_003 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 'EXIT_SAPLFMKN_003'"Compile FM Control Number.
TABLES
T_C_FMIFIIT_NEW = "Newly Generated FI Documents
T_U_FMIFIIT_OLD = "FI Side Documents Read
T_U_FMIFIIT_SIBL = "FI Side Documents Read
T_U_FMIFIIT_REV = "FI Reversals Read
T_U_FMIFIIT_PRE = "FI Preceeding Documents Read
T_C_FMIOI_NEW = "Newly Generated Commitment Documents
T_U_FMIOI_OLD = "Commitment Side Documents Read
T_U_FMIOI_SIBL = "Commitment Side Documents Read
T_U_FMIOI_PRE = "Commitment Preceeding Documents Read
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.FM_CONTROL_NUMBER_CHECK
FM_CONTROL_NUMBER_POST
FM_CONTROL_NUMBER_PREPARE_1
FM_CONTROL_NUMBER_PREPARE_2
FM_CONTROL_NUMBER_WORK_OVER
TABLES Parameters details for EXIT_SAPLFMKN_003
T_C_FMIFIIT_NEW - Newly Generated FI Documents
Data type: FMIFIITOptional: No
Call by Reference: No ( called with pass by value option)
T_U_FMIFIIT_OLD - FI Side Documents Read
Data type: FMIFIITOptional: No
Call by Reference: No ( called with pass by value option)
T_U_FMIFIIT_SIBL - FI Side Documents Read
Data type: FMIFIITOptional: No
Call by Reference: No ( called with pass by value option)
T_U_FMIFIIT_REV - FI Reversals Read
Data type: FMIFIITOptional: No
Call by Reference: No ( called with pass by value option)
T_U_FMIFIIT_PRE - FI Preceeding Documents Read
Data type: FMIFIITOptional: No
Call by Reference: No ( called with pass by value option)
T_C_FMIOI_NEW - Newly Generated Commitment Documents
Data type: FMIOIOptional: No
Call by Reference: No ( called with pass by value option)
T_U_FMIOI_OLD - Commitment Side Documents Read
Data type: FMIOIOptional: No
Call by Reference: No ( called with pass by value option)
T_U_FMIOI_SIBL - Commitment Side Documents Read
Data type: FMIOIOptional: No
Call by Reference: No ( called with pass by value option)
T_U_FMIOI_PRE - Commitment Preceeding Documents Read
Data type: FMIOIOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLFMKN_003 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_t_c_fmifiit_new | TYPE STANDARD TABLE OF FMIFIIT, " | |||
| lt_t_u_fmifiit_old | TYPE STANDARD TABLE OF FMIFIIT, " | |||
| lt_t_u_fmifiit_sibl | TYPE STANDARD TABLE OF FMIFIIT, " | |||
| lt_t_u_fmifiit_rev | TYPE STANDARD TABLE OF FMIFIIT, " | |||
| lt_t_u_fmifiit_pre | TYPE STANDARD TABLE OF FMIFIIT, " | |||
| lt_t_c_fmioi_new | TYPE STANDARD TABLE OF FMIOI, " | |||
| lt_t_u_fmioi_old | TYPE STANDARD TABLE OF FMIOI, " | |||
| lt_t_u_fmioi_sibl | TYPE STANDARD TABLE OF FMIOI, " | |||
| lt_t_u_fmioi_pre | TYPE STANDARD TABLE OF FMIOI. " |
|   CALL FUNCTION 'EXIT_SAPLFMKN_003' "Compile FM Control Number |
| TABLES | ||
| T_C_FMIFIIT_NEW | = lt_t_c_fmifiit_new | |
| T_U_FMIFIIT_OLD | = lt_t_u_fmifiit_old | |
| T_U_FMIFIIT_SIBL | = lt_t_u_fmifiit_sibl | |
| T_U_FMIFIIT_REV | = lt_t_u_fmifiit_rev | |
| T_U_FMIFIIT_PRE | = lt_t_u_fmifiit_pre | |
| T_C_FMIOI_NEW | = lt_t_c_fmioi_new | |
| T_U_FMIOI_OLD | = lt_t_u_fmioi_old | |
| T_U_FMIOI_SIBL | = lt_t_u_fmioi_sibl | |
| T_U_FMIOI_PRE | = lt_t_u_fmioi_pre | |
| . " EXIT_SAPLFMKN_003 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLFMKN_003
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