SAP EXIT_SAPLFMOI_006 Function Module for Fill User Dimensions: Purchase Orders
EXIT_SAPLFMOI_006 is a standard exit saplfmoi 006 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fill User Dimensions: Purchase Orders 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 saplfmoi 006 FM, simply by entering the name EXIT_SAPLFMOI_006 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_SAPLFMOI_006 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_SAPLFMOI_006'"Fill User Dimensions: Purchase Orders.
EXPORTING
I_F_EKBP = "
IMPORTING
E_USERDIM = "
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.FM_OPEN_ITEM_CHECK_DATA
FM_OPEN_ITEM_FR FM Commitment Updating: Earmarked funds
FM_OPEN_ITEM_FR_CLEAR clears all funds reservation data in memory
FM_OPEN_ITEM_FR_MULTIPLE Function necessary for multiple documents (payment request)
FM_OPEN_ITEM_FR_NUMBER Replacing temporary numbers of earmarked funds by the
FM_OPEN_ITEM_GET
FM_OPEN_ITEM_GET_POSTING_TIME
FM_OPEN_ITEM_INIT Refresh FMOI global tables
FM_OPEN_ITEM_NUMBER
FM_OPEN_ITEM_PO FM Commitment Updating: Purchase order
FM_OPEN_ITEM_POST
FM_OPEN_ITEM_PR FM Commitment Updating: Purchase requisition
FM_OPEN_ITEM_PR_NUMBER_ALL Replacing multipe temporary numbers of PR (Event BANF/OINUMALL)
FM_OPEN_ITEM_READ
FM_OPEN_ITEM_SO FM Commitment Updating: Sales order
FM_OPEN_ITEM_TR FM Commitment Updating: Trip
IMPORTING Parameters details for EXIT_SAPLFMOI_006
I_F_EKBP -
Data type: EKBPOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLFMOI_006
E_USERDIM -
Data type: FMIOI-USERDIMOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLFMOI_006 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_i_f_ekbp | TYPE EKBP, " | |||
| lv_e_userdim | TYPE FMIOI-USERDIM. " |
|   CALL FUNCTION 'EXIT_SAPLFMOI_006' "Fill User Dimensions: Purchase Orders |
| EXPORTING | ||
| I_F_EKBP | = lv_i_f_ekbp | |
| IMPORTING | ||
| E_USERDIM | = lv_e_userdim | |
| . " EXIT_SAPLFMOI_006 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLFMOI_006
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 USERDIM FROM FMIOI INTO @DATA(ld_e_userdim). | ||||
Search for further information about these or an SAP related objects