SAP RERA_GUI_DOC_LIST Function Module for Document Output
RERA_GUI_DOC_LIST is a standard rera gui doc 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 Document Output 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 rera gui doc list FM, simply by entering the name RERA_GUI_DOC_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: RERA_GUI_LOG_APPL
Program Name: SAPLRERA_GUI_LOG_APPL
Main Program: SAPLRERA_GUI_LOG_APPL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RERA_GUI_DOC_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 'RERA_GUI_DOC_LIST'"Document Output.
EXPORTING
* ITO_DOC = "References to RE Documents
* IT_REFDOCID = "Table of Document Reference Numbers
* IT_DOC_SUMMARY = "
* IO_MSGLIST = "Message Collector
* IO_PARAM = "Ranges for Saving Selection Screen Values
* IS_SUMMARY = "Summary of Results of a Posting Run
* ID_MODE = 'S' "Current Mode of Process
* IO_DOC_CONTAINER = "
IMPORTING Parameters details for RERA_GUI_DOC_LIST
ITO_DOC - References to RE Documents
Data type: RE_T_IF_RERA_DOCOptional: Yes
Call by Reference: Yes
IT_REFDOCID - Table of Document Reference Numbers
Data type: RE_T_REFDOCIDOptional: Yes
Call by Reference: Yes
IT_DOC_SUMMARY -
Data type: STANDARD TABLEOptional: Yes
Call by Reference: Yes
IO_MSGLIST - Message Collector
Data type: IF_RECA_MESSAGE_LISTOptional: Yes
Call by Reference: Yes
IO_PARAM - Ranges for Saving Selection Screen Values
Data type: IF_RECA_PROCESS_PARAMOptional: Yes
Call by Reference: Yes
IS_SUMMARY - Summary of Results of a Posting Run
Data type: RERA_POSTING_SUMMARYOptional: Yes
Call by Reference: Yes
ID_MODE - Current Mode of Process
Data type: RECAPROCESSMODEDefault: 'S'
Optional: No
Call by Reference: Yes
IO_DOC_CONTAINER -
Data type: CL_RECA_DATA_CONTAINEROptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for RERA_GUI_DOC_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_ito_doc | TYPE RE_T_IF_RERA_DOC, " | |||
| lv_it_refdocid | TYPE RE_T_REFDOCID, " | |||
| lv_it_doc_summary | TYPE STANDARD TABLE, " | |||
| lv_io_msglist | TYPE IF_RECA_MESSAGE_LIST, " | |||
| lv_io_param | TYPE IF_RECA_PROCESS_PARAM, " | |||
| lv_is_summary | TYPE RERA_POSTING_SUMMARY, " | |||
| lv_id_mode | TYPE RECAPROCESSMODE, " 'S' | |||
| lv_io_doc_container | TYPE CL_RECA_DATA_CONTAINER. " |
|   CALL FUNCTION 'RERA_GUI_DOC_LIST' "Document Output |
| EXPORTING | ||
| ITO_DOC | = lv_ito_doc | |
| IT_REFDOCID | = lv_it_refdocid | |
| IT_DOC_SUMMARY | = lv_it_doc_summary | |
| IO_MSGLIST | = lv_io_msglist | |
| IO_PARAM | = lv_io_param | |
| IS_SUMMARY | = lv_is_summary | |
| ID_MODE | = lv_id_mode | |
| IO_DOC_CONTAINER | = lv_io_doc_container | |
| . " RERA_GUI_DOC_LIST | ||
ABAP code using 7.40 inline data declarations to call FM RERA_GUI_DOC_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.| DATA(ld_id_mode) | = 'S'. | |||
Search for further information about these or an SAP related objects