SAP MEASUREM_DOCUM_LIST_PBO Function Module for NOTRANSL: Dialog Meßbeleg: Listbearbeitung









MEASUREM_DOCUM_LIST_PBO is a standard measurem docum list pbo 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: Dialog Meßbeleg: Listbearbeitung 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 docum list pbo FM, simply by entering the name MEASUREM_DOCUM_LIST_PBO 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_DOCUM_LIST_PBO 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_DOCUM_LIST_PBO'"NOTRANSL: Dialog Meßbeleg: Listbearbeitung
EXPORTING
* ACTIVITY_TYPE = '1' "
* F11_ACTIVE = ' ' "
* INDICATOR_INITIALIZE = ' ' "
* DEFAULT_DATE = SY-DATUM "
* DEFAULT_TIME = SY-UZEIT "
* DEFAULT_READER = SY-UNAME "
* WORK_ORDER_OBJECTNR = ' ' "Object Number of Order
* WORK_ORDER_KEY_EXTERN = ' ' "
* WORK_ORDER_OBJECTNR1 = ' ' "

IMPORTING
INDICATOR_UPDATE = "
LEFT_WITH_F15 = "

TABLES
* MP_OBJECTS = "

EXCEPTIONS
NO_AUTHORITY = 1 WORK_ORDER_NOT_FOUND = 2 ORDER_HAS_NO_DOCUMENTS = 3 OBJECT_NOT_FOUND = 4 OBJECT_HAS_NO_POINTS = 5
.




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_DOCUM_LIST_PBO

ACTIVITY_TYPE -

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

F11_ACTIVE -

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

INDICATOR_INITIALIZE -

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

DEFAULT_DATE -

Data type: RIMR0-DFDAT
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

DEFAULT_TIME -

Data type: RIMR0-DFTIM
Default: SY-UZEIT
Optional: Yes
Call by Reference: No ( called with pass by value option)

DEFAULT_READER -

Data type: RIMR0-DFRDR
Default: SY-UNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

WORK_ORDER_OBJECTNR - Object Number of Order

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

WORK_ORDER_KEY_EXTERN -

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

WORK_ORDER_OBJECTNR1 -

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

EXPORTING Parameters details for MEASUREM_DOCUM_LIST_PBO

INDICATOR_UPDATE -

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

LEFT_WITH_F15 -

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

TABLES Parameters details for MEASUREM_DOCUM_LIST_PBO

MP_OBJECTS -

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

EXCEPTIONS details

NO_AUTHORITY - No Authorization

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

WORK_ORDER_NOT_FOUND -

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

ORDER_HAS_NO_DOCUMENTS -

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

OBJECT_NOT_FOUND -

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

OBJECT_HAS_NO_POINTS -

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

Copy and paste ABAP code example for MEASUREM_DOCUM_LIST_PBO 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_mp_objects  TYPE STANDARD TABLE OF RIMR0C, "   
lv_no_authority  TYPE RIMR0C, "   
lv_activity_type  TYPE IREF-ACTYP, "   '1'
lv_indicator_update  TYPE IREF-IIND, "   
lv_f11_active  TYPE IREF-IIND, "   SPACE
lv_left_with_f15  TYPE IREF-IIND, "   
lv_work_order_not_found  TYPE IREF, "   
lv_indicator_initialize  TYPE IREF-IIND, "   SPACE
lv_order_has_no_documents  TYPE IREF, "   
lv_default_date  TYPE RIMR0-DFDAT, "   SY-DATUM
lv_object_not_found  TYPE RIMR0, "   
lv_default_time  TYPE RIMR0-DFTIM, "   SY-UZEIT
lv_object_has_no_points  TYPE RIMR0, "   
lv_default_reader  TYPE RIMR0-DFRDR, "   SY-UNAME
lv_work_order_objectnr  TYPE IMRG-WOOBJ, "   SPACE
lv_work_order_key_extern  TYPE IMRG, "   SPACE
lv_work_order_objectnr1  TYPE IMRG-WOOB1. "   SPACE

  CALL FUNCTION 'MEASUREM_DOCUM_LIST_PBO'  "NOTRANSL: Dialog Meßbeleg: Listbearbeitung
    EXPORTING
         ACTIVITY_TYPE = lv_activity_type
         F11_ACTIVE = lv_f11_active
         INDICATOR_INITIALIZE = lv_indicator_initialize
         DEFAULT_DATE = lv_default_date
         DEFAULT_TIME = lv_default_time
         DEFAULT_READER = lv_default_reader
         WORK_ORDER_OBJECTNR = lv_work_order_objectnr
         WORK_ORDER_KEY_EXTERN = lv_work_order_key_extern
         WORK_ORDER_OBJECTNR1 = lv_work_order_objectnr1
    IMPORTING
         INDICATOR_UPDATE = lv_indicator_update
         LEFT_WITH_F15 = lv_left_with_f15
    TABLES
         MP_OBJECTS = lt_mp_objects
    EXCEPTIONS
        NO_AUTHORITY = 1
        WORK_ORDER_NOT_FOUND = 2
        ORDER_HAS_NO_DOCUMENTS = 3
        OBJECT_NOT_FOUND = 4
        OBJECT_HAS_NO_POINTS = 5
. " MEASUREM_DOCUM_LIST_PBO




ABAP code using 7.40 inline data declarations to call FM MEASUREM_DOCUM_LIST_PBO

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 ACTYP FROM IREF INTO @DATA(ld_activity_type).
DATA(ld_activity_type) = '1'.
 
"SELECT single IIND FROM IREF INTO @DATA(ld_indicator_update).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_f11_active).
DATA(ld_f11_active) = ' '.
 
"SELECT single IIND FROM IREF INTO @DATA(ld_left_with_f15).
 
 
"SELECT single IIND FROM IREF INTO @DATA(ld_indicator_initialize).
DATA(ld_indicator_initialize) = ' '.
 
 
"SELECT single DFDAT FROM RIMR0 INTO @DATA(ld_default_date).
DATA(ld_default_date) = SY-DATUM.
 
 
"SELECT single DFTIM FROM RIMR0 INTO @DATA(ld_default_time).
DATA(ld_default_time) = SY-UZEIT.
 
 
"SELECT single DFRDR FROM RIMR0 INTO @DATA(ld_default_reader).
DATA(ld_default_reader) = SY-UNAME.
 
"SELECT single WOOBJ FROM IMRG INTO @DATA(ld_work_order_objectnr).
DATA(ld_work_order_objectnr) = ' '.
 
DATA(ld_work_order_key_extern) = ' '.
 
"SELECT single WOOB1 FROM IMRG INTO @DATA(ld_work_order_objectnr1).
DATA(ld_work_order_objectnr1) = ' '.
 


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!