SAP FM_POOL_LIST_CURRENT_GET Function Module for









FM_POOL_LIST_CURRENT_GET is a standard fm pool list current get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fm pool list current get FM, simply by entering the name FM_POOL_LIST_CURRENT_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_POOL_LIST_CURRENT_GET 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 'FM_POOL_LIST_CURRENT_GET'"
EXPORTING
* IP_FLG_RETURN_ALL = "

IMPORTING
OP_FLG_POOL_CHANGED = "
OP_F_CURRENT_POOL = "
OP_FLG_NO_INPUT = "

TABLES
* T_CURRENT_POOL = "
* T_CURRENT_POOL_EXT = "Transfer Structure for Mass Selection: Budget Structure

EXCEPTIONS
MASS_MAINTENANCE = 1 NO_CURRENT = 2
.



IMPORTING Parameters details for FM_POOL_LIST_CURRENT_GET

IP_FLG_RETURN_ALL -

Data type: FMDY-XFELD
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FM_POOL_LIST_CURRENT_GET

OP_FLG_POOL_CHANGED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

OP_F_CURRENT_POOL -

Data type: FMKT_POOL_INT
Optional: No
Call by Reference: No ( called with pass by value option)

OP_FLG_NO_INPUT -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FM_POOL_LIST_CURRENT_GET

T_CURRENT_POOL -

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

T_CURRENT_POOL_EXT - Transfer Structure for Mass Selection: Budget Structure

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

EXCEPTIONS details

MASS_MAINTENANCE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_CURRENT -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FM_POOL_LIST_CURRENT_GET 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_current_pool  TYPE STANDARD TABLE OF FMKT_T_POOL_INT, "   
lv_mass_maintenance  TYPE FMKT_T_POOL_INT, "   
lv_ip_flg_return_all  TYPE FMDY-XFELD, "   
lv_op_flg_pool_changed  TYPE FMDY, "   
lv_no_current  TYPE FMDY, "   
lv_op_f_current_pool  TYPE FMKT_POOL_INT, "   
lt_t_current_pool_ext  TYPE STANDARD TABLE OF FMKT_T_POOL_EXT, "   
lv_op_flg_no_input  TYPE FMKT_T_POOL_EXT. "   

  CALL FUNCTION 'FM_POOL_LIST_CURRENT_GET'  "
    EXPORTING
         IP_FLG_RETURN_ALL = lv_ip_flg_return_all
    IMPORTING
         OP_FLG_POOL_CHANGED = lv_op_flg_pool_changed
         OP_F_CURRENT_POOL = lv_op_f_current_pool
         OP_FLG_NO_INPUT = lv_op_flg_no_input
    TABLES
         T_CURRENT_POOL = lt_t_current_pool
         T_CURRENT_POOL_EXT = lt_t_current_pool_ext
    EXCEPTIONS
        MASS_MAINTENANCE = 1
        NO_CURRENT = 2
. " FM_POOL_LIST_CURRENT_GET




ABAP code using 7.40 inline data declarations to call FM FM_POOL_LIST_CURRENT_GET

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 XFELD FROM FMDY INTO @DATA(ld_ip_flg_return_all).
 
 
 
 
 
 


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!