SAP MCWPS_RESULTS_GETLIST Function Module for NOTRANSL: Liefert eine Liste der abgespeicherten Ergebnisse
MCWPS_RESULTS_GETLIST is a standard mcwps results getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Liefert eine Liste der abgespeicherten Ergebnisse 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 mcwps results getlist FM, simply by entering the name MCWPS_RESULTS_GETLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: MCWPS
Program Name: SAPLMCWPS
Main Program:
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MCWPS_RESULTS_GETLIST 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 'MCWPS_RESULTS_GETLIST'"NOTRANSL: Liefert eine Liste der abgespeicherten Ergebnisse.
TABLES
* I_DBTAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_WERKS = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_DATUM = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_UZEIT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_USER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_MCWPS = "List of Results
* I_ANATYP = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TABLES Parameters details for MCWPS_RESULTS_GETLIST
I_DBTAB - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: MCINF_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WERKS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: WERKS_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DATUM - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: BLDAT_RANOptional: Yes
Call by Reference: No ( called with pass by value option)
I_UZEIT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: MCW_RANGEUZEITOptional: Yes
Call by Reference: No ( called with pass by value option)
I_USER - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: MCW_RANGEUSEROptional: Yes
Call by Reference: No ( called with pass by value option)
E_MCWPS - List of Results
Data type: MCWPSOptional: No
Call by Reference: No ( called with pass by value option)
I_ANATYP - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RANGE_C4Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MCWPS_RESULTS_GETLIST 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_i_dbtab | TYPE STANDARD TABLE OF MCINF_RAN, " | |||
| lt_i_werks | TYPE STANDARD TABLE OF WERKS_RAN, " | |||
| lt_i_datum | TYPE STANDARD TABLE OF BLDAT_RAN, " | |||
| lt_i_uzeit | TYPE STANDARD TABLE OF MCW_RANGEUZEIT, " | |||
| lt_i_user | TYPE STANDARD TABLE OF MCW_RANGEUSER, " | |||
| lt_e_mcwps | TYPE STANDARD TABLE OF MCWPS, " | |||
| lt_i_anatyp | TYPE STANDARD TABLE OF RANGE_C4. " |
|   CALL FUNCTION 'MCWPS_RESULTS_GETLIST' "NOTRANSL: Liefert eine Liste der abgespeicherten Ergebnisse |
| TABLES | ||
| I_DBTAB | = lt_i_dbtab | |
| I_WERKS | = lt_i_werks | |
| I_DATUM | = lt_i_datum | |
| I_UZEIT | = lt_i_uzeit | |
| I_USER | = lt_i_user | |
| E_MCWPS | = lt_e_mcwps | |
| I_ANATYP | = lt_i_anatyp | |
| . " MCWPS_RESULTS_GETLIST | ||
ABAP code using 7.40 inline data declarations to call FM MCWPS_RESULTS_GETLIST
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