SAP ISU_AUTH_MTRREADCHECK_MRUNIT Function Module for
ISU_AUTH_MTRREADCHECK_MRUNIT is a standard isu auth mtrreadcheck mrunit SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 auth mtrreadcheck mrunit FM, simply by entering the name ISU_AUTH_MTRREADCHECK_MRUNIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: E17A
Program Name: SAPLE17A
Main Program: SAPLE17A
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_AUTH_MTRREADCHECK_MRUNIT 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_AUTH_MTRREADCHECK_MRUNIT'".
EXPORTING
X_ACTIVITY = "Activity for authorization check
* X_PROCESS = "Area Not More Closely Defined, Possibly Used for Patchlevels
IMPORTING
Y_PARTLY_AUTHORIZED = "Indicator
TABLES
XT_PORTION = "Structure: Select Options
XT_ABLEINH = "Structure: Select Options
* YT_ABLEINH = "Schedule Records: MR Units
EXCEPTIONS
INPUT_ERROR = 1 SYSTEM_ERROR = 2 NOT_AUTHORIZED = 3
IMPORTING Parameters details for ISU_AUTH_MTRREADCHECK_MRUNIT
X_ACTIVITY - Activity for authorization check
Data type: ISU17_METERREAD-CONTR-ACTIONOptional: No
Call by Reference: Yes
X_PROCESS - Area Not More Closely Defined, Possibly Used for Patchlevels
Data type: EABLH-PROCESSOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_AUTH_MTRREADCHECK_MRUNIT
Y_PARTLY_AUTHORIZED - Indicator
Data type: REGEN-KENNZXOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISU_AUTH_MTRREADCHECK_MRUNIT
XT_PORTION - Structure: Select Options
Data type: ISU_RANGESOptional: No
Call by Reference: Yes
XT_ABLEINH - Structure: Select Options
Data type: ISU_RANGESOptional: No
Call by Reference: Yes
YT_ABLEINH - Schedule Records: MR Units
Data type: ISU_RANGESOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
INPUT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_ERROR - System Error
Data type:Optional: No
Call by Reference: Yes
NOT_AUTHORIZED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_AUTH_MTRREADCHECK_MRUNIT 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_xt_portion | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
| lv_x_activity | TYPE ISU17_METERREAD-CONTR-ACTION, " | |||
| lv_input_error | TYPE ISU17_METERREAD, " | |||
| lv_y_partly_authorized | TYPE REGEN-KENNZX, " | |||
| lv_x_process | TYPE EABLH-PROCESS, " | |||
| lt_xt_ableinh | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
| lv_system_error | TYPE ISU_RANGES, " | |||
| lt_yt_ableinh | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
| lv_not_authorized | TYPE ISU_RANGES. " |
|   CALL FUNCTION 'ISU_AUTH_MTRREADCHECK_MRUNIT' " |
| EXPORTING | ||
| X_ACTIVITY | = lv_x_activity | |
| X_PROCESS | = lv_x_process | |
| IMPORTING | ||
| Y_PARTLY_AUTHORIZED | = lv_y_partly_authorized | |
| TABLES | ||
| XT_PORTION | = lt_xt_portion | |
| XT_ABLEINH | = lt_xt_ableinh | |
| YT_ABLEINH | = lt_yt_ableinh | |
| EXCEPTIONS | ||
| INPUT_ERROR = 1 | ||
| SYSTEM_ERROR = 2 | ||
| NOT_AUTHORIZED = 3 | ||
| . " ISU_AUTH_MTRREADCHECK_MRUNIT | ||
ABAP code using 7.40 inline data declarations to call FM ISU_AUTH_MTRREADCHECK_MRUNIT
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 CONTR FROM ISU17_METERREAD INTO @DATA(ld_x_activity). | ||||
| "SELECT single KENNZX FROM REGEN INTO @DATA(ld_y_partly_authorized). | ||||
| "SELECT single PROCESS FROM EABLH INTO @DATA(ld_x_process). | ||||
Search for further information about these or an SAP related objects