SAP MY_POOL_LAYER_ARRAY_FETCH Function Module for









MY_POOL_LAYER_ARRAY_FETCH is a standard my pool layer array fetch 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 my pool layer array fetch FM, simply by entering the name MY_POOL_LAYER_ARRAY_FETCH into the relevant SAP transaction such as SE37 or SE38.

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



Function MY_POOL_LAYER_ARRAY_FETCH 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 'MY_POOL_LAYER_ARRAY_FETCH'"
EXPORTING
* I_MYPAR = "

TABLES
R_MYVER = "
R_MYKEY = "
R_MYPOL = "
* R_GJAHR = "
* R_PERIOD = "
* T_MYPL = "
* T_MYPLM = "

EXCEPTIONS
NO_POOL = 1
.



IMPORTING Parameters details for MY_POOL_LAYER_ARRAY_FETCH

I_MYPAR -

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

TABLES Parameters details for MY_POOL_LAYER_ARRAY_FETCH

R_MYVER -

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

R_MYKEY -

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

R_MYPOL -

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

R_GJAHR -

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

R_PERIOD -

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

T_MYPL -

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

T_MYPLM -

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

EXCEPTIONS details

NO_POOL -

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

Copy and paste ABAP code example for MY_POOL_LAYER_ARRAY_FETCH 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_mypar  TYPE MYPAR, "   
lv_no_pool  TYPE MYPAR, "   
lt_r_myver  TYPE STANDARD TABLE OF RANGE_C1, "   
lt_r_mykey  TYPE STANDARD TABLE OF RANGE_C4, "   
lt_r_mypol  TYPE STANDARD TABLE OF RANGE_C4, "   
lt_r_gjahr  TYPE STANDARD TABLE OF RANGE_N4, "   
lt_r_period  TYPE STANDARD TABLE OF RANGE_N6, "   
lt_t_mypl  TYPE STANDARD TABLE OF MYPL, "   
lt_t_myplm  TYPE STANDARD TABLE OF MYPLM. "   

  CALL FUNCTION 'MY_POOL_LAYER_ARRAY_FETCH'  "
    EXPORTING
         I_MYPAR = lv_i_mypar
    TABLES
         R_MYVER = lt_r_myver
         R_MYKEY = lt_r_mykey
         R_MYPOL = lt_r_mypol
         R_GJAHR = lt_r_gjahr
         R_PERIOD = lt_r_period
         T_MYPL = lt_t_mypl
         T_MYPLM = lt_t_myplm
    EXCEPTIONS
        NO_POOL = 1
. " MY_POOL_LAYER_ARRAY_FETCH




ABAP code using 7.40 inline data declarations to call FM MY_POOL_LAYER_ARRAY_FETCH

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!