J_7L_REA_DOCUMENT_GET_LIST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name J_7L_REA_DOCUMENT_GET_LIST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
J7LD
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'J_7L_REA_DOCUMENT_GET_LIST' "
* EXPORTING
* include_doc_flow = SPACE " c
* ignore_canceled = SPACE " c
* ignore_testruns = SPACE " c
* dynamic_select = SPACE " c
TABLES
* so_vbeln = " j7lr4_vbeln_range Document Number
* so_bltyp = " j7lr4_bltyp_range Document Category
* so_blart = " j7lr4_blart_range Document Type
* so_perid = " j7lr4_perid_range Periodicity
* so_perio_geld = " j7lr4_perio_geld_range
* so_perinr = " j7lr4_perinr_range Period No.
* so_datab = " j7lr4_datab_range Valid From
* so_datbi = " j7lr4_datbi_range Valid To
* so_gjahr = " j7lr4_gjahr_range Fiscal Year
* so_entna = " j7lr4_entna_range
* so_entnr = " j7lr4_entnr_range Disposer ID
* so_bukrs = " j7lr4_bukrs_range Company Code
* so_land1 = " j7lr4_land1_range Country
o_j7lv1k = " j_7lv1k REA Document: Header Data
EXCEPTIONS
NO_DOCUMENT_FOUND = 1 "
. " J_7L_REA_DOCUMENT_GET_LIST
The ABAP code below is a full code listing to execute function module J_7L_REA_DOCUMENT_GET_LIST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_so_vbeln | TYPE STANDARD TABLE OF J7LR4_VBELN_RANGE,"TABLES PARAM |
| wa_so_vbeln | LIKE LINE OF it_so_vbeln , |
| it_so_bltyp | TYPE STANDARD TABLE OF J7LR4_BLTYP_RANGE,"TABLES PARAM |
| wa_so_bltyp | LIKE LINE OF it_so_bltyp , |
| it_so_blart | TYPE STANDARD TABLE OF J7LR4_BLART_RANGE,"TABLES PARAM |
| wa_so_blart | LIKE LINE OF it_so_blart , |
| it_so_perid | TYPE STANDARD TABLE OF J7LR4_PERID_RANGE,"TABLES PARAM |
| wa_so_perid | LIKE LINE OF it_so_perid , |
| it_so_perio_geld | TYPE STANDARD TABLE OF J7LR4_PERIO_GELD_RANGE,"TABLES PARAM |
| wa_so_perio_geld | LIKE LINE OF it_so_perio_geld , |
| it_so_perinr | TYPE STANDARD TABLE OF J7LR4_PERINR_RANGE,"TABLES PARAM |
| wa_so_perinr | LIKE LINE OF it_so_perinr , |
| it_so_datab | TYPE STANDARD TABLE OF J7LR4_DATAB_RANGE,"TABLES PARAM |
| wa_so_datab | LIKE LINE OF it_so_datab , |
| it_so_datbi | TYPE STANDARD TABLE OF J7LR4_DATBI_RANGE,"TABLES PARAM |
| wa_so_datbi | LIKE LINE OF it_so_datbi , |
| it_so_gjahr | TYPE STANDARD TABLE OF J7LR4_GJAHR_RANGE,"TABLES PARAM |
| wa_so_gjahr | LIKE LINE OF it_so_gjahr , |
| it_so_entna | TYPE STANDARD TABLE OF J7LR4_ENTNA_RANGE,"TABLES PARAM |
| wa_so_entna | LIKE LINE OF it_so_entna , |
| it_so_entnr | TYPE STANDARD TABLE OF J7LR4_ENTNR_RANGE,"TABLES PARAM |
| wa_so_entnr | LIKE LINE OF it_so_entnr , |
| it_so_bukrs | TYPE STANDARD TABLE OF J7LR4_BUKRS_RANGE,"TABLES PARAM |
| wa_so_bukrs | LIKE LINE OF it_so_bukrs , |
| it_so_land1 | TYPE STANDARD TABLE OF J7LR4_LAND1_RANGE,"TABLES PARAM |
| wa_so_land1 | LIKE LINE OF it_so_land1 , |
| it_o_j7lv1k | TYPE STANDARD TABLE OF J_7LV1K,"TABLES PARAM |
| wa_o_j7lv1k | LIKE LINE OF it_o_j7lv1k . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_include_doc_flow | TYPE C , |
| it_so_vbeln | TYPE STANDARD TABLE OF J7LR4_VBELN_RANGE , |
| wa_so_vbeln | LIKE LINE OF it_so_vbeln, |
| ld_ignore_canceled | TYPE C , |
| it_so_bltyp | TYPE STANDARD TABLE OF J7LR4_BLTYP_RANGE , |
| wa_so_bltyp | LIKE LINE OF it_so_bltyp, |
| ld_ignore_testruns | TYPE C , |
| it_so_blart | TYPE STANDARD TABLE OF J7LR4_BLART_RANGE , |
| wa_so_blart | LIKE LINE OF it_so_blart, |
| ld_dynamic_select | TYPE C , |
| it_so_perid | TYPE STANDARD TABLE OF J7LR4_PERID_RANGE , |
| wa_so_perid | LIKE LINE OF it_so_perid, |
| it_so_perio_geld | TYPE STANDARD TABLE OF J7LR4_PERIO_GELD_RANGE , |
| wa_so_perio_geld | LIKE LINE OF it_so_perio_geld, |
| it_so_perinr | TYPE STANDARD TABLE OF J7LR4_PERINR_RANGE , |
| wa_so_perinr | LIKE LINE OF it_so_perinr, |
| it_so_datab | TYPE STANDARD TABLE OF J7LR4_DATAB_RANGE , |
| wa_so_datab | LIKE LINE OF it_so_datab, |
| it_so_datbi | TYPE STANDARD TABLE OF J7LR4_DATBI_RANGE , |
| wa_so_datbi | LIKE LINE OF it_so_datbi, |
| it_so_gjahr | TYPE STANDARD TABLE OF J7LR4_GJAHR_RANGE , |
| wa_so_gjahr | LIKE LINE OF it_so_gjahr, |
| it_so_entna | TYPE STANDARD TABLE OF J7LR4_ENTNA_RANGE , |
| wa_so_entna | LIKE LINE OF it_so_entna, |
| it_so_entnr | TYPE STANDARD TABLE OF J7LR4_ENTNR_RANGE , |
| wa_so_entnr | LIKE LINE OF it_so_entnr, |
| it_so_bukrs | TYPE STANDARD TABLE OF J7LR4_BUKRS_RANGE , |
| wa_so_bukrs | LIKE LINE OF it_so_bukrs, |
| it_so_land1 | TYPE STANDARD TABLE OF J7LR4_LAND1_RANGE , |
| wa_so_land1 | LIKE LINE OF it_so_land1, |
| it_o_j7lv1k | TYPE STANDARD TABLE OF J_7LV1K , |
| wa_o_j7lv1k | LIKE LINE OF it_o_j7lv1k. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name J_7L_REA_DOCUMENT_GET_LIST or its description.