SAP MEV_DISPLAY_SAPSCRIPT_POPUP Function Module for Display Popup for Text Editing









MEV_DISPLAY_SAPSCRIPT_POPUP is a standard mev display sapscript popup SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display Popup for Text Editing 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 mev display sapscript popup FM, simply by entering the name MEV_DISPLAY_SAPSCRIPT_POPUP into the relevant SAP transaction such as SE37 or SE38.

Function Group: MEV_REUSE
Program Name: SAPLMEV_REUSE
Main Program: SAPLMEV_REUSE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function MEV_DISPLAY_SAPSCRIPT_POPUP 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 'MEV_DISPLAY_SAPSCRIPT_POPUP'"Display Popup for Text Editing
EXPORTING
IO_POPUP_CONTROLLER = "Controller for SAPScript Popup
* START_COLUMN = 40 "40
* START_ROW = 6 "6
* END_COLUMN = 150 "90
* END_ROW = 15 "12
.



IMPORTING Parameters details for MEV_DISPLAY_SAPSCRIPT_POPUP

IO_POPUP_CONTROLLER - Controller for SAPScript Popup

Data type: IF_MEV_SAPSCRIPT_POPUP
Optional: No
Call by Reference: Yes

START_COLUMN - 40

Data type: SY-CUCOL
Default: 40
Optional: Yes
Call by Reference: Yes

START_ROW - 6

Data type: SY-CUROW
Default: 6
Optional: Yes
Call by Reference: Yes

END_COLUMN - 90

Data type: SY-CUCOL
Default: 150
Optional: Yes
Call by Reference: Yes

END_ROW - 12

Data type: SY-CUROW
Default: 15
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for MEV_DISPLAY_SAPSCRIPT_POPUP 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_io_popup_controller  TYPE IF_MEV_SAPSCRIPT_POPUP, "   
lv_start_column  TYPE SY-CUCOL, "   40
lv_start_row  TYPE SY-CUROW, "   6
lv_end_column  TYPE SY-CUCOL, "   150
lv_end_row  TYPE SY-CUROW. "   15

  CALL FUNCTION 'MEV_DISPLAY_SAPSCRIPT_POPUP'  "Display Popup for Text Editing
    EXPORTING
         IO_POPUP_CONTROLLER = lv_io_popup_controller
         START_COLUMN = lv_start_column
         START_ROW = lv_start_row
         END_COLUMN = lv_end_column
         END_ROW = lv_end_row
. " MEV_DISPLAY_SAPSCRIPT_POPUP




ABAP code using 7.40 inline data declarations to call FM MEV_DISPLAY_SAPSCRIPT_POPUP

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 CUCOL FROM SY INTO @DATA(ld_start_column).
DATA(ld_start_column) = 40.
 
"SELECT single CUROW FROM SY INTO @DATA(ld_start_row).
DATA(ld_start_row) = 6.
 
"SELECT single CUCOL FROM SY INTO @DATA(ld_end_column).
DATA(ld_end_column) = 150.
 
"SELECT single CUROW FROM SY INTO @DATA(ld_end_row).
DATA(ld_end_row) = 15.
 


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!