SAP DRM4_EXTERNAL_ENTRY_EVENT_MS Function Module for Dialog function module event MS (generated)









DRM4_EXTERNAL_ENTRY_EVENT_MS is a standard drm4 external entry event ms SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Dialog function module event MS (generated) 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 drm4 external entry event ms FM, simply by entering the name DRM4_EXTERNAL_ENTRY_EVENT_MS into the relevant SAP transaction such as SE37 or SE38.

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



Function DRM4_EXTERNAL_ENTRY_EVENT_MS 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 'DRM4_EXTERNAL_ENTRY_EVENT_MS'"Dialog function module event MS (generated)
EXPORTING
* I_VRSIO = ' ' "
I_ZEITP = "
* I_STAFO = '999999' "

TABLES
XDRMXMSTR = "

EXCEPTIONS
NO_ACTIVATE_INFOSTRUCTURE = 1
.



IMPORTING Parameters details for DRM4_EXTERNAL_ENTRY_EVENT_MS

I_VRSIO -

Data type: MCCONTROL-VRSIO
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ZEITP -

Data type: TMC5-ZEITP
Optional: No
Call by Reference: No ( called with pass by value option)

I_STAFO -

Data type: TMC2D-STAFO
Default: '999999'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for DRM4_EXTERNAL_ENTRY_EVENT_MS

XDRMXMSTR -

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

EXCEPTIONS details

NO_ACTIVATE_INFOSTRUCTURE -

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

Copy and paste ABAP code example for DRM4_EXTERNAL_ENTRY_EVENT_MS 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_i_vrsio  TYPE MCCONTROL-VRSIO, "   SPACE
lt_xdrmxmstr  TYPE STANDARD TABLE OF DRMXMSTR, "   
lv_no_activate_infostructure  TYPE DRMXMSTR, "   
lv_i_zeitp  TYPE TMC5-ZEITP, "   
lv_i_stafo  TYPE TMC2D-STAFO. "   '999999'

  CALL FUNCTION 'DRM4_EXTERNAL_ENTRY_EVENT_MS'  "Dialog function module event MS (generated)
    EXPORTING
         I_VRSIO = lv_i_vrsio
         I_ZEITP = lv_i_zeitp
         I_STAFO = lv_i_stafo
    TABLES
         XDRMXMSTR = lt_xdrmxmstr
    EXCEPTIONS
        NO_ACTIVATE_INFOSTRUCTURE = 1
. " DRM4_EXTERNAL_ENTRY_EVENT_MS




ABAP code using 7.40 inline data declarations to call FM DRM4_EXTERNAL_ENTRY_EVENT_MS

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 VRSIO FROM MCCONTROL INTO @DATA(ld_i_vrsio).
DATA(ld_i_vrsio) = ' '.
 
 
 
"SELECT single ZEITP FROM TMC5 INTO @DATA(ld_i_zeitp).
 
"SELECT single STAFO FROM TMC2D INTO @DATA(ld_i_stafo).
DATA(ld_i_stafo) = '999999'.
 


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!