SAP BAPI_PROCCOMP_READMULTIPLE Function Module for Read Modules
BAPI_PROCCOMP_READMULTIPLE is a standard bapi proccomp readmultiple SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Modules 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 bapi proccomp readmultiple FM, simply by entering the name BAPI_PROCCOMP_READMULTIPLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: BEPROC
Program Name: SAPLBEPROC
Main Program:
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_PROCCOMP_READMULTIPLE 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 'BAPI_PROCCOMP_READMULTIPLE'"Read Modules.
EXPORTING
* CICOREQUESTNO = "Request/Task
* MODE = 'SHOW' "CICO mode
* NAMESONLY = "Only read texts
* LANGUAGE = SY-LANGU "Language key
* LANGUAGEISO = "Language according to ISO 639
* ADDON = "Industry
* FROMTIMESTAMP = "Time stamp in short form (Local date and time/format)
* LASTUSER = SY-UNAME "Last changed on/by
TABLES
* PROCESSCOMPONENTSTOREAD = "Object ID and GUID
* PROCESSCOMPONENTS = "Process module
* DOCUMENTATIONASSIGNMENTS = "Documentation assignments
* GENERICATTRIBUTES = "Generic Attributes
* RETURN = "Return parameter
IMPORTING Parameters details for BAPI_PROCCOMP_READMULTIPLE
CICOREQUESTNO - Request/Task
Data type: BAPIBEGEN-CICO_REQNOOptional: Yes
Call by Reference: No ( called with pass by value option)
MODE - CICO mode
Data type: BAPIBEGEN-MODEDefault: 'SHOW'
Optional: Yes
Call by Reference: No ( called with pass by value option)
NAMESONLY - Only read texts
Data type: BAPIBEGEN-NAMES_ONLYOptional: Yes
Call by Reference: No ( called with pass by value option)
LANGUAGE - Language key
Data type: BAPI_LAISO-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
LANGUAGEISO - Language according to ISO 639
Data type: BAPI_LAISO-LANGU_ISOOptional: Yes
Call by Reference: No ( called with pass by value option)
ADDON - Industry
Data type: BAPIBEGEN-ADDONOptional: Yes
Call by Reference: No ( called with pass by value option)
FROMTIMESTAMP - Time stamp in short form (Local date and time/format)
Data type: BAPIBEGEN-TIME_STAMPOptional: Yes
Call by Reference: No ( called with pass by value option)
LASTUSER - Last changed on/by
Data type: BAPIBEGEN-LAST_USERDefault: SY-UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_PROCCOMP_READMULTIPLE
PROCESSCOMPONENTSTOREAD - Object ID and GUID
Data type: BAPIBEID1Optional: Yes
Call by Reference: Yes
PROCESSCOMPONENTS - Process module
Data type: BAPIBEPRCOptional: Yes
Call by Reference: Yes
DOCUMENTATIONASSIGNMENTS - Documentation assignments
Data type: BAPIBEDASOptional: Yes
Call by Reference: Yes
GENERICATTRIBUTES - Generic Attributes
Data type: BAPIBEGATOptional: Yes
Call by Reference: Yes
RETURN - Return parameter
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BAPI_PROCCOMP_READMULTIPLE 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_cicorequestno | TYPE BAPIBEGEN-CICO_REQNO, " | |||
| lt_processcomponentstoread | TYPE STANDARD TABLE OF BAPIBEID1, " | |||
| lv_mode | TYPE BAPIBEGEN-MODE, " 'SHOW' | |||
| lt_processcomponents | TYPE STANDARD TABLE OF BAPIBEPRC, " | |||
| lv_namesonly | TYPE BAPIBEGEN-NAMES_ONLY, " | |||
| lt_documentationassignments | TYPE STANDARD TABLE OF BAPIBEDAS, " | |||
| lv_language | TYPE BAPI_LAISO-LANGU, " SY-LANGU | |||
| lt_genericattributes | TYPE STANDARD TABLE OF BAPIBEGAT, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_languageiso | TYPE BAPI_LAISO-LANGU_ISO, " | |||
| lv_addon | TYPE BAPIBEGEN-ADDON, " | |||
| lv_fromtimestamp | TYPE BAPIBEGEN-TIME_STAMP, " | |||
| lv_lastuser | TYPE BAPIBEGEN-LAST_USER. " SY-UNAME |
|   CALL FUNCTION 'BAPI_PROCCOMP_READMULTIPLE' "Read Modules |
| EXPORTING | ||
| CICOREQUESTNO | = lv_cicorequestno | |
| MODE | = lv_mode | |
| NAMESONLY | = lv_namesonly | |
| LANGUAGE | = lv_language | |
| LANGUAGEISO | = lv_languageiso | |
| ADDON | = lv_addon | |
| FROMTIMESTAMP | = lv_fromtimestamp | |
| LASTUSER | = lv_lastuser | |
| TABLES | ||
| PROCESSCOMPONENTSTOREAD | = lt_processcomponentstoread | |
| PROCESSCOMPONENTS | = lt_processcomponents | |
| DOCUMENTATIONASSIGNMENTS | = lt_documentationassignments | |
| GENERICATTRIBUTES | = lt_genericattributes | |
| RETURN | = lt_return | |
| . " BAPI_PROCCOMP_READMULTIPLE | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_PROCCOMP_READMULTIPLE
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 CICO_REQNO FROM BAPIBEGEN INTO @DATA(ld_cicorequestno). | ||||
| "SELECT single MODE FROM BAPIBEGEN INTO @DATA(ld_mode). | ||||
| DATA(ld_mode) | = 'SHOW'. | |||
| "SELECT single NAMES_ONLY FROM BAPIBEGEN INTO @DATA(ld_namesonly). | ||||
| "SELECT single LANGU FROM BAPI_LAISO INTO @DATA(ld_language). | ||||
| DATA(ld_language) | = SY-LANGU. | |||
| "SELECT single LANGU_ISO FROM BAPI_LAISO INTO @DATA(ld_languageiso). | ||||
| "SELECT single ADDON FROM BAPIBEGEN INTO @DATA(ld_addon). | ||||
| "SELECT single TIME_STAMP FROM BAPIBEGEN INTO @DATA(ld_fromtimestamp). | ||||
| "SELECT single LAST_USER FROM BAPIBEGEN INTO @DATA(ld_lastuser). | ||||
| DATA(ld_lastuser) | = SY-UNAME. | |||
Search for further information about these or an SAP related objects