SAP J_7L_GET_ARTICLE_LIST Function Module for Provides a List of REA Articles for the Search Conditions Passed
J_7L_GET_ARTICLE_LIST is a standard j 7l get article list SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Provides a List of REA Articles for the Search Conditions Passed 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 j 7l get article list FM, simply by entering the name J_7L_GET_ARTICLE_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: J7LARTICLE
Program Name: SAPLJ7LARTICLE
Main Program: SAPLJ7LARTICLE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function J_7L_GET_ARTICLE_LIST 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 'J_7L_GET_ARTICLE_LIST'"Provides a List of REA Articles for the Search Conditions Passed.
EXPORTING
* I_MAXROWS = 0 "Maximum Number of Lines of Hits
* I_MATRAM_TAB = "Range Table for Material Number
* I_BUKRSRASO_TAB = "Table for Company Code Range
* I_LAND1RASO_TAB = "Table for Country 1 Range
* I_VRKMERASO_TAB = "Table for Sales Unit Range
* I_VARIANTERASO_TAB = "
* I_IGNORE_DELETED = 'X' "
IMPORTING
RETURN = "Return Parameters
O_ARTICLE_LIST = "Table Article - Sales Units
IMPORTING Parameters details for J_7L_GET_ARTICLE_LIST
I_MAXROWS - Maximum Number of Lines of Hits
Data type: BAPIF4A-MAX_ROWSOptional: Yes
Call by Reference: Yes
I_MATRAM_TAB - Range Table for Material Number
Data type: BAPIMATRAM_TABOptional: Yes
Call by Reference: Yes
I_BUKRSRASO_TAB - Table for Company Code Range
Data type: J_7L_BUKRSRASO_TABOptional: Yes
Call by Reference: Yes
I_LAND1RASO_TAB - Table for Country 1 Range
Data type: J_7L_LAND1RASO_TABOptional: Yes
Call by Reference: Yes
I_VRKMERASO_TAB - Table for Sales Unit Range
Data type: J_7L_VRKMERASO_TABOptional: Yes
Call by Reference: Yes
I_VARIANTERASO_TAB -
Data type: J_7L_VARIANTERASO_TABOptional: Yes
Call by Reference: Yes
I_IGNORE_DELETED -
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for J_7L_GET_ARTICLE_LIST
RETURN - Return Parameters
Data type: BAPIRETTABOptional: No
Call by Reference: Yes
O_ARTICLE_LIST - Table Article - Sales Units
Data type: J_7LM03_TABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for J_7L_GET_ARTICLE_LIST 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_return | TYPE BAPIRETTAB, " | |||
| lv_i_maxrows | TYPE BAPIF4A-MAX_ROWS, " 0 | |||
| lv_i_matram_tab | TYPE BAPIMATRAM_TAB, " | |||
| lv_o_article_list | TYPE J_7LM03_TAB, " | |||
| lv_i_bukrsraso_tab | TYPE J_7L_BUKRSRASO_TAB, " | |||
| lv_i_land1raso_tab | TYPE J_7L_LAND1RASO_TAB, " | |||
| lv_i_vrkmeraso_tab | TYPE J_7L_VRKMERASO_TAB, " | |||
| lv_i_varianteraso_tab | TYPE J_7L_VARIANTERASO_TAB, " | |||
| lv_i_ignore_deleted | TYPE XFELD. " 'X' |
|   CALL FUNCTION 'J_7L_GET_ARTICLE_LIST' "Provides a List of REA Articles for the Search Conditions Passed |
| EXPORTING | ||
| I_MAXROWS | = lv_i_maxrows | |
| I_MATRAM_TAB | = lv_i_matram_tab | |
| I_BUKRSRASO_TAB | = lv_i_bukrsraso_tab | |
| I_LAND1RASO_TAB | = lv_i_land1raso_tab | |
| I_VRKMERASO_TAB | = lv_i_vrkmeraso_tab | |
| I_VARIANTERASO_TAB | = lv_i_varianteraso_tab | |
| I_IGNORE_DELETED | = lv_i_ignore_deleted | |
| IMPORTING | ||
| RETURN | = lv_return | |
| O_ARTICLE_LIST | = lv_o_article_list | |
| . " J_7L_GET_ARTICLE_LIST | ||
ABAP code using 7.40 inline data declarations to call FM J_7L_GET_ARTICLE_LIST
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 MAX_ROWS FROM BAPIF4A INTO @DATA(ld_i_maxrows). | ||||
| DATA(ld_i_ignore_deleted) | = 'X'. | |||
Search for further information about these or an SAP related objects