SAP ISU_PMPLANT_DETERMINE_NOTIF Function Module for INTERNAL: Determ. MP Plant from Notif.Code, Notif.Prof., Reg.Str.Grp, Role
ISU_PMPLANT_DETERMINE_NOTIF is a standard isu pmplant determine notif SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Determ. MP Plant from Notif.Code, Notif.Prof., Reg.Str.Grp, Role 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 isu pmplant determine notif FM, simply by entering the name ISU_PMPLANT_DETERMINE_NOTIF into the relevant SAP transaction such as SE37 or SE38.
Function Group: EEWM_SV_NTF
Program Name: SAPLEEWM_SV_NTF
Main Program: SAPLEEWM_SV_NTF
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_PMPLANT_DETERMINE_NOTIF 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 'ISU_PMPLANT_DETERMINE_NOTIF'"INTERNAL: Determ. MP Plant from Notif.Code, Notif.Prof., Reg.Str.Grp, Role.
EXPORTING
* X_NOTIFCODE = "Notification Code
* X_NOTPROFILE = "Notification Profile
* X_REGIOGROUP = "Regional Structure Grouping
* X_ROLE = 20500033 "Role
IMPORTING
Y_IWERK = "PM Plant
EXCEPTIONS
NOT_FOUND = 1 NOT_QUALIFIED = 2 SYSTEM_ERROR = 3
IMPORTING Parameters details for ISU_PMPLANT_DETERMINE_NOTIF
X_NOTIFCODE - Notification Code
Data type: TENOCODES-NOTIF_CODEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_NOTPROFILE - Notification Profile
Data type: TEREGPLNOTIF-NOTPROFILEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_REGIOGROUP - Regional Structure Grouping
Data type: ADRREGGRP-REGIOGROUPOptional: Yes
Call by Reference: No ( called with pass by value option)
X_ROLE - Role
Data type: EADRREGAREAA-ROLEDefault: 20500033
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_PMPLANT_DETERMINE_NOTIF
Y_IWERK - PM Plant
Data type: TEREGPLNOTIF-IWERKOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND - Object Not Found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_QUALIFIED - Parameter not specified
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_ERROR - Other Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_PMPLANT_DETERMINE_NOTIF 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_y_iwerk | TYPE TEREGPLNOTIF-IWERK, " | |||
| lv_not_found | TYPE TEREGPLNOTIF, " | |||
| lv_x_notifcode | TYPE TENOCODES-NOTIF_CODE, " | |||
| lv_x_notprofile | TYPE TEREGPLNOTIF-NOTPROFILE, " | |||
| lv_not_qualified | TYPE TEREGPLNOTIF, " | |||
| lv_system_error | TYPE TEREGPLNOTIF, " | |||
| lv_x_regiogroup | TYPE ADRREGGRP-REGIOGROUP, " | |||
| lv_x_role | TYPE EADRREGAREAA-ROLE. " 20500033 |
|   CALL FUNCTION 'ISU_PMPLANT_DETERMINE_NOTIF' "INTERNAL: Determ. MP Plant from Notif.Code, Notif.Prof., Reg.Str.Grp, Role |
| EXPORTING | ||
| X_NOTIFCODE | = lv_x_notifcode | |
| X_NOTPROFILE | = lv_x_notprofile | |
| X_REGIOGROUP | = lv_x_regiogroup | |
| X_ROLE | = lv_x_role | |
| IMPORTING | ||
| Y_IWERK | = lv_y_iwerk | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| NOT_QUALIFIED = 2 | ||
| SYSTEM_ERROR = 3 | ||
| . " ISU_PMPLANT_DETERMINE_NOTIF | ||
ABAP code using 7.40 inline data declarations to call FM ISU_PMPLANT_DETERMINE_NOTIF
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 IWERK FROM TEREGPLNOTIF INTO @DATA(ld_y_iwerk). | ||||
| "SELECT single NOTIF_CODE FROM TENOCODES INTO @DATA(ld_x_notifcode). | ||||
| "SELECT single NOTPROFILE FROM TEREGPLNOTIF INTO @DATA(ld_x_notprofile). | ||||
| "SELECT single REGIOGROUP FROM ADRREGGRP INTO @DATA(ld_x_regiogroup). | ||||
| "SELECT single ROLE FROM EADRREGAREAA INTO @DATA(ld_x_role). | ||||
| DATA(ld_x_role) | = 20500033. | |||
Search for further information about these or an SAP related objects