SAP EXIT_SAPLEEWM_IF_OMS_1_005 Function Module for IS-U Work Management: User Exit for IDoc ISU_OMS_NOTIF









EXIT_SAPLEEWM_IF_OMS_1_005 is a standard exit sapleewm if oms 1 005 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-U Work Management: User Exit for IDoc ISU_OMS_NOTIF 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 exit sapleewm if oms 1 005 FM, simply by entering the name EXIT_SAPLEEWM_IF_OMS_1_005 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLEEWM_IF_OMS_1_005 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 'EXIT_SAPLEEWM_IF_OMS_1_005'"IS-U Work Management: User Exit for IDoc ISU_OMS_NOTIF
EXPORTING
SEGMENT_NAME = "Name of Current Segment
* X_DEV_LOC = "Device Location
* X_DL_NOTE = "Notes for Device Location
* X_EGER = "Device
* X_EVBS = "Premise
* X_EANL = "Installation
* X_ETINS = "Technical Installation
* X_VIQMEL = "PM/SM Notification Data
* X_ITEM = "Item for Notification
* X_ACTION_TEXT = "
* X_CUSTOMER = "Customer
* X_CUST_ADDR = "Addresss of Customer
* X_CON_OBJ = "Connection Object
* X_CON_OBJ_ADDR = "Address of Connection Object
* X_CO_NOTE = "Notes for Connection Object

IMPORTING
IDOC_CIMTYPE = "Enhancement Name

TABLES
IDOC_DATA = "IDoc Data
.



IMPORTING Parameters details for EXIT_SAPLEEWM_IF_OMS_1_005

SEGMENT_NAME - Name of Current Segment

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

X_DEV_LOC - Device Location

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

X_DL_NOTE - Notes for Device Location

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

X_EGER - Device

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

X_EVBS - Premise

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

X_EANL - Installation

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

X_ETINS - Technical Installation

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

X_VIQMEL - PM/SM Notification Data

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

X_ITEM - Item for Notification

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

X_ACTION_TEXT -

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

X_CUSTOMER - Customer

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

X_CUST_ADDR - Addresss of Customer

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

X_CON_OBJ - Connection Object

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

X_CON_OBJ_ADDR - Address of Connection Object

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

X_CO_NOTE - Notes for Connection Object

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

EXPORTING Parameters details for EXIT_SAPLEEWM_IF_OMS_1_005

IDOC_CIMTYPE - Enhancement Name

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

TABLES Parameters details for EXIT_SAPLEEWM_IF_OMS_1_005

IDOC_DATA - IDoc Data

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

Copy and paste ABAP code example for EXIT_SAPLEEWM_IF_OMS_1_005 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_idoc_data  TYPE STANDARD TABLE OF EDIDD, "   
lv_idoc_cimtype  TYPE EDIDC-CIMTYP, "   
lv_segment_name  TYPE EDIDD-SEGNAM, "   
lv_x_dev_loc  TYPE IFLOT-TPLNR, "   
lv_x_dl_note  TYPE EENFI_SINGLE_RESTAB, "   
lv_x_eger  TYPE V_EGER, "   
lv_x_evbs  TYPE EVBS, "   
lv_x_eanl  TYPE V_EANL, "   
lv_x_etins  TYPE COMPLETE_ETINS_DATA, "   
lv_x_viqmel  TYPE VIQMEL, "   
lv_x_item  TYPE WQMFE, "   
lv_x_action_text  TYPE TLINE, "   
lv_x_customer  TYPE EKUN_EXT, "   
lv_x_cust_addr  TYPE EADRDAT, "   
lv_x_con_obj  TYPE IFLOT-TPLNR, "   
lv_x_con_obj_addr  TYPE EADRDAT, "   
lv_x_co_note  TYPE EENFI_SINGLE_RESTAB. "   

  CALL FUNCTION 'EXIT_SAPLEEWM_IF_OMS_1_005'  "IS-U Work Management: User Exit for IDoc ISU_OMS_NOTIF
    EXPORTING
         SEGMENT_NAME = lv_segment_name
         X_DEV_LOC = lv_x_dev_loc
         X_DL_NOTE = lv_x_dl_note
         X_EGER = lv_x_eger
         X_EVBS = lv_x_evbs
         X_EANL = lv_x_eanl
         X_ETINS = lv_x_etins
         X_VIQMEL = lv_x_viqmel
         X_ITEM = lv_x_item
         X_ACTION_TEXT = lv_x_action_text
         X_CUSTOMER = lv_x_customer
         X_CUST_ADDR = lv_x_cust_addr
         X_CON_OBJ = lv_x_con_obj
         X_CON_OBJ_ADDR = lv_x_con_obj_addr
         X_CO_NOTE = lv_x_co_note
    IMPORTING
         IDOC_CIMTYPE = lv_idoc_cimtype
    TABLES
         IDOC_DATA = lt_idoc_data
. " EXIT_SAPLEEWM_IF_OMS_1_005




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLEEWM_IF_OMS_1_005

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 CIMTYP FROM EDIDC INTO @DATA(ld_idoc_cimtype).
 
"SELECT single SEGNAM FROM EDIDD INTO @DATA(ld_segment_name).
 
"SELECT single TPLNR FROM IFLOT INTO @DATA(ld_x_dev_loc).
 
 
 
 
 
 
 
 
 
 
 
"SELECT single TPLNR FROM IFLOT INTO @DATA(ld_x_con_obj).
 
 
 


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!