SAP MEASUREM_POINT_ARRAY_DIAL_BUF Function Module for NOTRANSL: Lesen Meßpunkte aus Dialogpuffer oder von Datenbank
MEASUREM_POINT_ARRAY_DIAL_BUF is a standard measurem point array dial buf 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: Lesen Meßpunkte aus Dialogpuffer oder von Datenbank 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 point array dial buf FM, simply by entering the name MEASUREM_POINT_ARRAY_DIAL_BUF 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): Remote-Enabled
Update:

Function MEASUREM_POINT_ARRAY_DIAL_BUF 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_POINT_ARRAY_DIAL_BUF'"NOTRANSL: Lesen Meßpunkte aus Dialogpuffer oder von Datenbank.
EXPORTING
* WITH_ENQUEUE = ' ' "Yes/No (X/ )
* ENQ_ALL_OR_NOTHING = ' ' "Yes/No (X/ )
IMPORTING
COUNT_IMPT = "ABAP System Field: Number of Rows in Internal Tables
COUNT_FOREIGN_LOCKS = "ABAP System Field: Number of Rows in Internal Tables
COUNT_NOT_FOUND = "ABAP System Field: Number of Rows in Internal Tables
TABLES
SELECT_TAB = "Structure for Table Lines That Only Contain POINT
* IMPT_TAB = "Measuring Point (Structure)
* IMPT_WITHOUT_ENQ = "Measuring Point (Structure)
* FOREIGN_LOCKS = "Structure for Table Lines With Locked Measuring Point
* POINT_NOT_FOUND = "Structure for Table Lines That Only Contain POINT
EXCEPTIONS
FOREIGN_LOCK_OCCURED = 1 SYSTEM_FAILURE_OCCURED = 2
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_POINT_ARRAY_DIAL_BUF
WITH_ENQUEUE - Yes/No (X/ )
Data type: IREF-IINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ENQ_ALL_OR_NOTHING - Yes/No (X/ )
Data type: IREF-IINDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MEASUREM_POINT_ARRAY_DIAL_BUF
COUNT_IMPT - ABAP System Field: Number of Rows in Internal Tables
Data type: SY-TFILLOptional: No
Call by Reference: No ( called with pass by value option)
COUNT_FOREIGN_LOCKS - ABAP System Field: Number of Rows in Internal Tables
Data type: SY-TFILLOptional: No
Call by Reference: No ( called with pass by value option)
COUNT_NOT_FOUND - ABAP System Field: Number of Rows in Internal Tables
Data type: SY-TFILLOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for MEASUREM_POINT_ARRAY_DIAL_BUF
SELECT_TAB - Structure for Table Lines That Only Contain POINT
Data type: IMPT_POINTOptional: No
Call by Reference: No ( called with pass by value option)
IMPT_TAB - Measuring Point (Structure)
Data type: IMPTOptional: Yes
Call by Reference: No ( called with pass by value option)
IMPT_WITHOUT_ENQ - Measuring Point (Structure)
Data type: IMPTOptional: Yes
Call by Reference: No ( called with pass by value option)
FOREIGN_LOCKS - Structure for Table Lines With Locked Measuring Point
Data type: IMPT_LOCKDOptional: Yes
Call by Reference: No ( called with pass by value option)
POINT_NOT_FOUND - Structure for Table Lines That Only Contain POINT
Data type: IMPT_POINTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
FOREIGN_LOCK_OCCURED - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_FAILURE_OCCURED - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MEASUREM_POINT_ARRAY_DIAL_BUF 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_count_impt | TYPE SY-TFILL, " | |||
| lt_select_tab | TYPE STANDARD TABLE OF IMPT_POINT, " | |||
| lv_with_enqueue | TYPE IREF-IIND, " SPACE | |||
| lv_foreign_lock_occured | TYPE IREF, " | |||
| lt_impt_tab | TYPE STANDARD TABLE OF IMPT, " | |||
| lv_enq_all_or_nothing | TYPE IREF-IIND, " SPACE | |||
| lv_count_foreign_locks | TYPE SY-TFILL, " | |||
| lv_system_failure_occured | TYPE SY, " | |||
| lv_count_not_found | TYPE SY-TFILL, " | |||
| lt_impt_without_enq | TYPE STANDARD TABLE OF IMPT, " | |||
| lt_foreign_locks | TYPE STANDARD TABLE OF IMPT_LOCKD, " | |||
| lt_point_not_found | TYPE STANDARD TABLE OF IMPT_POINT. " |
|   CALL FUNCTION 'MEASUREM_POINT_ARRAY_DIAL_BUF' "NOTRANSL: Lesen Meßpunkte aus Dialogpuffer oder von Datenbank |
| EXPORTING | ||
| WITH_ENQUEUE | = lv_with_enqueue | |
| ENQ_ALL_OR_NOTHING | = lv_enq_all_or_nothing | |
| IMPORTING | ||
| COUNT_IMPT | = lv_count_impt | |
| COUNT_FOREIGN_LOCKS | = lv_count_foreign_locks | |
| COUNT_NOT_FOUND | = lv_count_not_found | |
| TABLES | ||
| SELECT_TAB | = lt_select_tab | |
| IMPT_TAB | = lt_impt_tab | |
| IMPT_WITHOUT_ENQ | = lt_impt_without_enq | |
| FOREIGN_LOCKS | = lt_foreign_locks | |
| POINT_NOT_FOUND | = lt_point_not_found | |
| EXCEPTIONS | ||
| FOREIGN_LOCK_OCCURED = 1 | ||
| SYSTEM_FAILURE_OCCURED = 2 | ||
| . " MEASUREM_POINT_ARRAY_DIAL_BUF | ||
ABAP code using 7.40 inline data declarations to call FM MEASUREM_POINT_ARRAY_DIAL_BUF
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 TFILL FROM SY INTO @DATA(ld_count_impt). | ||||
| "SELECT single IIND FROM IREF INTO @DATA(ld_with_enqueue). | ||||
| DATA(ld_with_enqueue) | = ' '. | |||
| "SELECT single IIND FROM IREF INTO @DATA(ld_enq_all_or_nothing). | ||||
| DATA(ld_enq_all_or_nothing) | = ' '. | |||
| "SELECT single TFILL FROM SY INTO @DATA(ld_count_foreign_locks). | ||||
| "SELECT single TFILL FROM SY INTO @DATA(ld_count_not_found). | ||||
Search for further information about these or an SAP related objects