SAP MEASUREM_CHECK_TRANSFER_POINTS Function Module for NOTRANSL: Bei Änderungen in Objekthierarchie die Meßwertweitergabe überprü









MEASUREM_CHECK_TRANSFER_POINTS is a standard measurem check transfer points 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: Bei Änderungen in Objekthierarchie die Meßwertweitergabe überprü 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 measurem check transfer points FM, simply by entering the name MEASUREM_CHECK_TRANSFER_POINTS into the relevant SAP transaction such as SE37 or SE38.

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



Function MEASUREM_CHECK_TRANSFER_POINTS 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 'MEASUREM_CHECK_TRANSFER_POINTS'"NOTRANSL: Bei Änderungen in Objekthierarchie die Meßwertweitergabe überprü
EXPORTING
* MOVING_OBJECT = ' ' "
* REFERENCE_DATE = '00000000' "
* REFERENCE_TIME = '000000' "
* GENERATION_MODE = 'O' "
* MSG_WARNING_AS_INFO = ' ' "
* READ_SUBEQUIS_ONLY = ' ' "
* ACTUAL_POINT = ' ' "
* SUPERIOR_OBJECT_OLD = ' ' "
* SUPERIOR_OBJECT_NEW = ' ' "
* IMPT_TRANS_NEW = ' ' "Measuring Point from Which Meas. Reading Was Transferred
* OBJECT_WILL_BE_DISMANTLED = ' ' "
* OBJECT_WILL_BE_INSTALLED = ' ' "
* INFO_IF_NO_DEFAULTS = ' ' "
* WITH_DIALOG_SCREEN = 'X' "

IMPORTING
NEW_IMPH_FOR_ACTUAL_POINT = "

EXCEPTIONS
IMPTT_NOT_FOUND = 1 NO_AUTHORITY = 2 MEASUREM_POINT_LOCKED = 3 COLLISION_AT_MEAS_COPYING = 4 RECURSIVENESS_FOUND = 5 POPUP_CANCELLED = 6
.




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 MEASUREM_CHECK_TRANSFER_POINTS

MOVING_OBJECT -

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

REFERENCE_DATE -

Data type: IMPH-DATLO
Default: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

REFERENCE_TIME -

Data type: IMPH-TIMLO
Default: '000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

GENERATION_MODE -

Data type: IMPH-GENER
Default: 'O'
Optional: Yes
Call by Reference: No ( called with pass by value option)

MSG_WARNING_AS_INFO -

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

READ_SUBEQUIS_ONLY -

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

ACTUAL_POINT -

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

SUPERIOR_OBJECT_OLD -

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

SUPERIOR_OBJECT_NEW -

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

IMPT_TRANS_NEW - Measuring Point from Which Meas. Reading Was Transferred

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

OBJECT_WILL_BE_DISMANTLED -

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

OBJECT_WILL_BE_INSTALLED -

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

INFO_IF_NO_DEFAULTS -

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

WITH_DIALOG_SCREEN -

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

EXPORTING Parameters details for MEASUREM_CHECK_TRANSFER_POINTS

NEW_IMPH_FOR_ACTUAL_POINT -

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

EXCEPTIONS details

IMPTT_NOT_FOUND - Measuring point (Table IMPTT) not found

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

NO_AUTHORITY -

Data type:
Optional: No
Call by Reference: Yes

MEASUREM_POINT_LOCKED -

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

COLLISION_AT_MEAS_COPYING -

Data type:
Optional: No
Call by Reference: Yes

RECURSIVENESS_FOUND -

Data type:
Optional: No
Call by Reference: Yes

POPUP_CANCELLED - Entry Terminated

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for MEASUREM_CHECK_TRANSFER_POINTS 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_moving_object  TYPE IMPT-MPOBJ, "   SPACE
lv_imptt_not_found  TYPE IMPT, "   
lv_new_imph_for_actual_point  TYPE IMPH, "   
lv_reference_date  TYPE IMPH-DATLO, "   '00000000'
lv_reference_time  TYPE IMPH-TIMLO, "   '000000'
lv_generation_mode  TYPE IMPH-GENER, "   'O'
lv_msg_warning_as_info  TYPE IREF-IIND, "   SPACE
lv_read_subequis_only  TYPE IREF-IIND, "   SPACE
lv_actual_point  TYPE IMPH-POINT, "   SPACE
lv_no_authority  TYPE IMPH, "   
lv_superior_object_old  TYPE IMPT-MPOBJ, "   SPACE
lv_measurem_point_locked  TYPE IMPT, "   
lv_superior_object_new  TYPE IMPT-MPOBJ, "   SPACE
lv_collision_at_meas_copying  TYPE IMPT, "   
lv_impt_trans_new  TYPE IMPT-TRANS, "   SPACE
lv_recursiveness_found  TYPE IMPT, "   
lv_popup_cancelled  TYPE IMPT, "   
lv_object_will_be_dismantled  TYPE IREF-IIND, "   SPACE
lv_object_will_be_installed  TYPE IREF-IIND, "   SPACE
lv_info_if_no_defaults  TYPE IREF-IIND, "   SPACE
lv_with_dialog_screen  TYPE IREF-IIND. "   'X'

  CALL FUNCTION 'MEASUREM_CHECK_TRANSFER_POINTS'  "NOTRANSL: Bei Änderungen in Objekthierarchie die Meßwertweitergabe überprü
    EXPORTING
         MOVING_OBJECT = lv_moving_object
         REFERENCE_DATE = lv_reference_date
         REFERENCE_TIME = lv_reference_time
         GENERATION_MODE = lv_generation_mode
         MSG_WARNING_AS_INFO = lv_msg_warning_as_info
         READ_SUBEQUIS_ONLY = lv_read_subequis_only
         ACTUAL_POINT = lv_actual_point
         SUPERIOR_OBJECT_OLD = lv_superior_object_old
         SUPERIOR_OBJECT_NEW = lv_superior_object_new
         IMPT_TRANS_NEW = lv_impt_trans_new
         OBJECT_WILL_BE_DISMANTLED = lv_object_will_be_dismantled
         OBJECT_WILL_BE_INSTALLED = lv_object_will_be_installed
         INFO_IF_NO_DEFAULTS = lv_info_if_no_defaults
         WITH_DIALOG_SCREEN = lv_with_dialog_screen
    IMPORTING
         NEW_IMPH_FOR_ACTUAL_POINT = lv_new_imph_for_actual_point
    EXCEPTIONS
        IMPTT_NOT_FOUND = 1
        NO_AUTHORITY = 2
        MEASUREM_POINT_LOCKED = 3
        COLLISION_AT_MEAS_COPYING = 4
        RECURSIVENESS_FOUND = 5
        POPUP_CANCELLED = 6
. " MEASUREM_CHECK_TRANSFER_POINTS




ABAP code using 7.40 inline data declarations to call FM MEASUREM_CHECK_TRANSFER_POINTS

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 MPOBJ FROM IMPT INTO @DATA(ld_moving_object).
DATA(ld_moving_object) = ' '.
 
 
 
"SELECT single DATLO FROM IMPH INTO @DATA(ld_reference_date).
DATA(ld_reference_date) = '00000000'.
 
"SELECT single TIMLO FROM IMPH INTO @DATA(ld_reference_time).
DATA(ld_reference_time) = '000000'.
 
"SELECT single GENER FROM IMPH INTO @DATA(ld_generation_mode).
DATA(ld_generation_mode) = 'O'.
 
"SELECT single IIND FROM IREF INTO @DATA(ld_msg_warning_as_info).
DATA(ld_msg_warning_as_info) = ' '.
 
"SELECT single IIND FROM IREF INTO @DATA(ld_read_subequis_only).
DATA(ld_read_subequis_only) = ' '.
 
"SELECT single POINT FROM IMPH INTO @DATA(ld_actual_point).
DATA(ld_actual_point) = ' '.
 
 
"SELECT single MPOBJ FROM IMPT INTO @DATA(ld_superior_object_old).
DATA(ld_superior_object_old) = ' '.
 
 
"SELECT single MPOBJ FROM IMPT INTO @DATA(ld_superior_object_new).
DATA(ld_superior_object_new) = ' '.
 
 
"SELECT single TRANS FROM IMPT INTO @DATA(ld_impt_trans_new).
DATA(ld_impt_trans_new) = ' '.
 
 
 
"SELECT single IIND FROM IREF INTO @DATA(ld_object_will_be_dismantled).
DATA(ld_object_will_be_dismantled) = ' '.
 
"SELECT single IIND FROM IREF INTO @DATA(ld_object_will_be_installed).
DATA(ld_object_will_be_installed) = ' '.
 
"SELECT single IIND FROM IREF INTO @DATA(ld_info_if_no_defaults).
DATA(ld_info_if_no_defaults) = ' '.
 
"SELECT single IIND FROM IREF INTO @DATA(ld_with_dialog_screen).
DATA(ld_with_dialog_screen) = 'X'.
 


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!