SAP MP_RFC_INACT_CHANGE Function Module for NOTRANSL: Messpunkt aktvieren bzw. inaktivieren









MP_RFC_INACT_CHANGE is a standard mp rfc inact change SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Messpunkt aktvieren bzw. inaktivieren 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 mp rfc inact change FM, simply by entering the name MP_RFC_INACT_CHANGE into the relevant SAP transaction such as SE37 or SE38.

Function Group: IMR0
Program Name: SAPLIMR0
Main Program: SAPLIMR0
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function MP_RFC_INACT_CHANGE 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 'MP_RFC_INACT_CHANGE'"NOTRANSL: Messpunkt aktvieren bzw. inaktivieren
EXPORTING
MEASUREMENT_POINT = "Measuring Point
INDICATOR_INACTIVE = "Indicator: Measuring Point Inactive
* COMMIT_WORK = 'X' "
* WAIT_AFTER_COMMIT = "

IMPORTING
E_IMPT = "Measuring Point (Structure)
MAX_SEVERITY = "Message Category
RETURN = "Return Table
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLIMR0_001 User Exit Before Update of Measuring Points/Documents (After COMMIT WORK)
EXIT_SAPLIMR0_002 User Exit for Customer Function in Measuring Point Menu
EXIT_SAPLIMR0_003 User Exit for Customer Function in Measurement Document Menu
EXIT_SAPLIMR0_004 Exit after standard checks for new measurement documents

IMPORTING Parameters details for MP_RFC_INACT_CHANGE

MEASUREMENT_POINT - Measuring Point

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

INDICATOR_INACTIVE - Indicator: Measuring Point Inactive

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

COMMIT_WORK -

Data type: IREF-IIND
Default: 'X'
Optional: No
Call by Reference: No ( called with pass by value option)

WAIT_AFTER_COMMIT -

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

EXPORTING Parameters details for MP_RFC_INACT_CHANGE

E_IMPT - Measuring Point (Structure)

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

MAX_SEVERITY - Message Category

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

RETURN - Return Table

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

Copy and paste ABAP code example for MP_RFC_INACT_CHANGE 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_e_impt  TYPE IMPT, "   
lv_measurement_point  TYPE IMRC_POINT, "   
lv_max_severity  TYPE SYMSGTY, "   
lv_indicator_inactive  TYPE IMRC_INACT, "   
lv_return  TYPE BAPIRET2_T, "   
lv_commit_work  TYPE IREF-IIND, "   'X'
lv_wait_after_commit  TYPE IREF-IIND. "   

  CALL FUNCTION 'MP_RFC_INACT_CHANGE'  "NOTRANSL: Messpunkt aktvieren bzw. inaktivieren
    EXPORTING
         MEASUREMENT_POINT = lv_measurement_point
         INDICATOR_INACTIVE = lv_indicator_inactive
         COMMIT_WORK = lv_commit_work
         WAIT_AFTER_COMMIT = lv_wait_after_commit
    IMPORTING
         E_IMPT = lv_e_impt
         MAX_SEVERITY = lv_max_severity
         RETURN = lv_return
. " MP_RFC_INACT_CHANGE




ABAP code using 7.40 inline data declarations to call FM MP_RFC_INACT_CHANGE

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 IIND FROM IREF INTO @DATA(ld_commit_work).
DATA(ld_commit_work) = 'X'.
 
"SELECT single IIND FROM IREF INTO @DATA(ld_wait_after_commit).
 


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!