SAP EXIT_SAPLEEWM_CEI_PER_001 Function Module for IS-U-WM: User Exit for Permit Determination Module ISU_PERMIT_DETERMINE
EXIT_SAPLEEWM_CEI_PER_001 is a standard exit sapleewm cei per 001 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-WM: User Exit for Permit Determination Module ISU_PERMIT_DETERMINE 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 cei per 001 FM, simply by entering the name EXIT_SAPLEEWM_CEI_PER_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XEWMCEI
Program Name: SAPLXEWMCEI
Main Program: SAPLXEWMCEI
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_SAPLEEWM_CEI_PER_001 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_CEI_PER_001'"IS-U-WM: User Exit for Permit Determination Module ISU_PERMIT_DETERMINE.
EXPORTING
X_ORDERCODE = "Order Code
X_SVOBJ_ID = "Service Object ID
X_SVOBJ = "Service Object
X_REGIOGROUP = "Regional Structure Group
* X_REGIOAREA = "Regional Structure Area
* X_DATE = "Date
TABLES
* TX_ANLAGE = "Installations
TXY_PERMIT = "Permits
IMPORTING Parameters details for EXIT_SAPLEEWM_CEI_PER_001
X_ORDERCODE - Order Code
Data type: TEWOCODES-ORDER_CODEOptional: No
Call by Reference: No ( called with pass by value option)
X_SVOBJ_ID - Service Object ID
Data type: T399A-SVOBJ_IDOptional: No
Call by Reference: No ( called with pass by value option)
X_SVOBJ - Service Object
Data type: T399A-SVOBJOptional: No
Call by Reference: No ( called with pass by value option)
X_REGIOGROUP - Regional Structure Group
Data type: ADRREGGRP-REGIOGROUPOptional: No
Call by Reference: No ( called with pass by value option)
X_REGIOAREA - Regional Structure Area
Data type: EADRREGAREAA-REGIOAREAOptional: Yes
Call by Reference: No ( called with pass by value option)
X_DATE - Date
Data type: SY-DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLEEWM_CEI_PER_001
TX_ANLAGE - Installations
Data type: EANLKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
TXY_PERMIT - Permits
Data type: EEWM_PERMITOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLEEWM_CEI_PER_001 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_tx_anlage | TYPE STANDARD TABLE OF EANLKEY, " | |||
lv_x_ordercode | TYPE TEWOCODES-ORDER_CODE, " | |||
lt_txy_permit | TYPE STANDARD TABLE OF EEWM_PERMIT, " | |||
lv_x_svobj_id | TYPE T399A-SVOBJ_ID, " | |||
lv_x_svobj | TYPE T399A-SVOBJ, " | |||
lv_x_regiogroup | TYPE ADRREGGRP-REGIOGROUP, " | |||
lv_x_regioarea | TYPE EADRREGAREAA-REGIOAREA, " | |||
lv_x_date | TYPE SY-DATUM. " |
  CALL FUNCTION 'EXIT_SAPLEEWM_CEI_PER_001' "IS-U-WM: User Exit for Permit Determination Module ISU_PERMIT_DETERMINE |
EXPORTING | ||
X_ORDERCODE | = lv_x_ordercode | |
X_SVOBJ_ID | = lv_x_svobj_id | |
X_SVOBJ | = lv_x_svobj | |
X_REGIOGROUP | = lv_x_regiogroup | |
X_REGIOAREA | = lv_x_regioarea | |
X_DATE | = lv_x_date | |
TABLES | ||
TX_ANLAGE | = lt_tx_anlage | |
TXY_PERMIT | = lt_txy_permit | |
. " EXIT_SAPLEEWM_CEI_PER_001 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLEEWM_CEI_PER_001
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 ORDER_CODE FROM TEWOCODES INTO @DATA(ld_x_ordercode). | ||||
"SELECT single SVOBJ_ID FROM T399A INTO @DATA(ld_x_svobj_id). | ||||
"SELECT single SVOBJ FROM T399A INTO @DATA(ld_x_svobj). | ||||
"SELECT single REGIOGROUP FROM ADRREGGRP INTO @DATA(ld_x_regiogroup). | ||||
"SELECT single REGIOAREA FROM EADRREGAREAA INTO @DATA(ld_x_regioarea). | ||||
"SELECT single DATUM FROM SY INTO @DATA(ld_x_date). | ||||
Search for further information about these or an SAP related objects