SAP BAPI_MONITOR_GETLIST Function Module for Create BAPI List









BAPI_MONITOR_GETLIST is a standard bapi monitor 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 Create BAPI List 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 monitor getlist FM, simply by entering the name BAPI_MONITOR_GETLIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: BASR
Program Name: SAPLBASR
Main Program: SAPLBASR
Appliation area: S
Release date: 28-Sep-1998
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_MONITOR_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 'BAPI_MONITOR_GETLIST'"Create BAPI List
EXPORTING
* OBJECTTYPE = '*' "Object type
* SHOW_RELEASE = SY-SAPRL "Release /Reference Release to Display
* BAPIS_POTENTIAL = ' ' "Display Potential BAPIs
* BAPIS_NEW = 'X' "Display New BAPIs in Release
* BAPIS_OLD = 'X' "Display BAPIs from Previous Releases
* RELEASED_BAPI = '*' "Release Status of BAPIs
* RELEASED_FUNC = '*' "Release Status of Function Modules

IMPORTING
RETURN = "Return Messages

TABLES
* COMPONENTS2SELECT = "Application Components/Areas to Select
* SYSTEMS2SELECT = "Original System of BAPIs to Select
* BAPILIST = "List of Selected BAPIs
.



IMPORTING Parameters details for BAPI_MONITOR_GETLIST

OBJECTTYPE - Object type

Data type: BAPIMONIT-OBJTYPE
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SHOW_RELEASE - Release /Reference Release to Display

Data type: BAPIMONIT-CREA_REL
Default: SY-SAPRL
Optional: Yes
Call by Reference: No ( called with pass by value option)

BAPIS_POTENTIAL - Display Potential BAPIs

Data type: BAPIMONIT-OPTSEL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

BAPIS_NEW - Display New BAPIs in Release

Data type: BAPIMONIT-OPTSEL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

BAPIS_OLD - Display BAPIs from Previous Releases

Data type: BAPIMONIT-OPTSEL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RELEASED_BAPI - Release Status of BAPIs

Data type: BAPIMONIT-OPTSEL
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RELEASED_FUNC - Release Status of Function Modules

Data type: BAPIMONIT-FUNCREL
Default: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BAPI_MONITOR_GETLIST

RETURN - Return Messages

Data type: BAPIRET2
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BAPI_MONITOR_GETLIST

COMPONENTS2SELECT - Application Components/Areas to Select

Data type: BAPIMONCOM
Optional: Yes
Call by Reference: No ( called with pass by value option)

SYSTEMS2SELECT - Original System of BAPIs to Select

Data type: BAPISRCSYS
Optional: Yes
Call by Reference: No ( called with pass by value option)

BAPILIST - List of Selected BAPIs

Data type: BAPIMONSTR
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for BAPI_MONITOR_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:
lv_return  TYPE BAPIRET2, "   
lv_objecttype  TYPE BAPIMONIT-OBJTYPE, "   '*'
lt_components2select  TYPE STANDARD TABLE OF BAPIMONCOM, "   
lv_show_release  TYPE BAPIMONIT-CREA_REL, "   SY-SAPRL
lt_systems2select  TYPE STANDARD TABLE OF BAPISRCSYS, "   
lt_bapilist  TYPE STANDARD TABLE OF BAPIMONSTR, "   
lv_bapis_potential  TYPE BAPIMONIT-OPTSEL, "   ' '
lv_bapis_new  TYPE BAPIMONIT-OPTSEL, "   'X'
lv_bapis_old  TYPE BAPIMONIT-OPTSEL, "   'X'
lv_released_bapi  TYPE BAPIMONIT-OPTSEL, "   '*'
lv_released_func  TYPE BAPIMONIT-FUNCREL. "   '*'

  CALL FUNCTION 'BAPI_MONITOR_GETLIST'  "Create BAPI List
    EXPORTING
         OBJECTTYPE = lv_objecttype
         SHOW_RELEASE = lv_show_release
         BAPIS_POTENTIAL = lv_bapis_potential
         BAPIS_NEW = lv_bapis_new
         BAPIS_OLD = lv_bapis_old
         RELEASED_BAPI = lv_released_bapi
         RELEASED_FUNC = lv_released_func
    IMPORTING
         RETURN = lv_return
    TABLES
         COMPONENTS2SELECT = lt_components2select
         SYSTEMS2SELECT = lt_systems2select
         BAPILIST = lt_bapilist
. " BAPI_MONITOR_GETLIST




ABAP code using 7.40 inline data declarations to call FM BAPI_MONITOR_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.

 
"SELECT single OBJTYPE FROM BAPIMONIT INTO @DATA(ld_objecttype).
DATA(ld_objecttype) = '*'.
 
 
"SELECT single CREA_REL FROM BAPIMONIT INTO @DATA(ld_show_release).
DATA(ld_show_release) = SY-SAPRL.
 
 
 
"SELECT single OPTSEL FROM BAPIMONIT INTO @DATA(ld_bapis_potential).
DATA(ld_bapis_potential) = ' '.
 
"SELECT single OPTSEL FROM BAPIMONIT INTO @DATA(ld_bapis_new).
DATA(ld_bapis_new) = 'X'.
 
"SELECT single OPTSEL FROM BAPIMONIT INTO @DATA(ld_bapis_old).
DATA(ld_bapis_old) = 'X'.
 
"SELECT single OPTSEL FROM BAPIMONIT INTO @DATA(ld_released_bapi).
DATA(ld_released_bapi) = '*'.
 
"SELECT single FUNCREL FROM BAPIMONIT INTO @DATA(ld_released_func).
DATA(ld_released_func) = '*'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!